I have my
tables and
columns. I
inserted a
message into
the field, that
just says
"welcome.&
quot;
Everything
there is
correctly
working.
I want to
display the
message on my
page. Why does
it say Resource
id#3 and not
the data?
I am working on
a small text
system for
simple tasks,
like welcome
messages and
update
messages.
I want to keep
this simple, I
just am trying
to get the idea
of how sql
works.
Code:
<?php
$connection =
mysql_connect(&
quot;--removed-
-",
"--removed
--",
"--removed
--"  ;
mysql_select_db
("--remove
d--",
$connection);
$inf =
"SELECT
Topic_Text FROM
Topics";
$info =
mysql_query($in
f);
if(!$info)
die(mysql_error
());
echo
$info;
?>
Thank you. Edited at 12:30:15 am on 02/05/08
Coding is
simply CST...
Combining $hit
Together. We
make different
$hit to run in
unison
correctly. |