Re: [PHP] first script

2007-04-20 Thread Richard Lynch
On Fri, April 20, 2007 2:05 pm, Thufir wrote: Please tell me that's not your real name... :-) > $query = "SELECT DISTINCT * FROM craigslist ORDER BY id"; > $result = mysql_query($query) >or die ("Couldn't execute query."); > > /* create form containing selection list */ > echo " >

[PHP] first script

2007-04-20 Thread Thufir
adapted from php/mysql for dummies, I'd like it to return the "notes" field, too, pls. I know that I want to echo "notes", but can't figure out where to do so. any pointers would be appreciated :) [EMAIL PROTECTED] ~]$ [EMAIL PROTECTED] ~]$ [EMAIL PROTECTED] ~]$ cat /var/www/html/showapts.php