Teen Programmers Unite  
 

 

Return to forum top

PHP Question

Posted by Faisal [send private reply] at December 26, 2002, 12:02:34 PM

m back. alot of new people i see.. anyways if anyone knows PHP I have a newbie question. How is it possible to display what is in a MySQL row (users) bases on the $username ?

Posted by Faisal [send private reply] at December 26, 2002, 12:42:25 PM

I said it wrong. let me make it simpler

lets say i want to display whats in the homepage column in the row where userid = "Faisal" in the table "users" what the hell would i do

Posted by AnyoneEB [send private reply] at December 26, 2002, 02:01:30 PM

Look here: http://www.php.net/manual/en/ref.mysql.php if you still have a question ask.

Posted by Faisal [send private reply] at December 26, 2002, 06:11:19 PM

no, I got it figured out. Thanks anyways.

Posted by CDR700 [send private reply] at December 28, 2002, 05:27:45 AM

Just a tip,

If you ever find using databases hard either write yourself a higher level acessing library or download one ( i.e. from http://www.hotscripts.com ), it simplifies coding pages which access databases.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.