Reply to Re: php/mysql the right choice?

Your name:

Reply:


Posted by Smiley on 04/13/06 00:44

<compuslave@gmail.com> wrote in message
news:1144874383.759151.100850@i40g2000cwc.googlegroups.com...
>
> Also I dont know where to start with this. I was able make a form that
> stored the info in a database but I have no idea how to use that same
> form to search with. Any links to docs scripts or good ol advice is
> much appreciated.
>

If you're able to store the info in the database, you're already half there.
You've just got to repeat the process, only change your SQL statement into a
"Select" statement rather than "Insert" - eg:

Select * from choices where color='red'

Just run through the same commands you used for the insert then add
something like this:

while($arr=mysql_fetch_array($qry))
{
$username = $arr['username'];
echo "$username<BR>";
}

That will go through each of the results and display the username from the
database.

[Back to original 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

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