RE: [PHP] Getting user name in text area

2002-03-28 Thread Rick Emery
Username: \n"; print ""; ?> -Original Message- From: Jennifer Downey [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 4:48 PM To: [EMAIL PROTECTED] Subject: [PHP] Getting user name in text area Hi all, Here is what I have and what I am trying to do.

[PHP] Getting user name in text area

2002-03-28 Thread Jennifer Downey
Hi all, Here is what I have and what I am trying to do. I would like the user name to be printed in the Username text box but can't seem to get it there. I don't want the user to have to type there username in, just click the submit button and it is entered into the db. Can anyone show me what

Re: [PHP] Getting user name in text area

2002-03-28 Thread James Taylor
Well, let's see here.. $query = mysql_query("select name from users where uid = {$_SESSION['uid']}", $db); while ($name = mysql_fetch_row($query) { echo "$name[0]\n"; } hope that helps Jennifer Downey wrote: >Hi all, > >Here is what I have and what I am trying to do. > >I would like the us