Re: [PHP-WIN] Why parse error in mysql command?

2002-02-02 Thread Andy Ziem
_connect("localhost", "root"); > > > >mysql_select_db("volunteers"); > > > >$result = mysql_query("SELECT * FROM names WHERE id=$id"); > > > >&line = mysql_fetch_row(&result); > > > >$first = $line

[PHP-WIN] Why parse error in mysql command?

2002-02-02 Thread Andy Ziem
Hi, I am trying to retreive stored data, and I can't figure out why I receive this PHP error--even after reading PHP documentation and looking at examples-- "Parse error: parse error in c:\vol\php\e.php on line 10" The following is my simplified code: -- Andy Zie