Posted by Sean Barton on 02/08/06 00:54
Its a little much. consider using echo statements instead of prints. in
the querys you dont need to use ` unless it is a variable so you use '
instead. its a little easier to read if you are a novice to mysql or
are used to it being in a simler form.eg:
Less segregation is better too. maybe integrate the SQL and run
commands.
$result = mysql_query("select * from temp where temp.one =
'$examplevariable'",$dbconnection);
then easy enough its $rows=(mysql_fetch_row($result));
hope it helps
Sean Barton
Navigation:
[Reply to this message]
|