You are here: Re: mysql-demo.php « PHP Programming Language « IT news, forums, messages
Re: mysql-demo.php

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация