RE: [PHP-DB] config php w/ mysql

2001-07-23 Thread Beau Lebens
] // Subject: Re: [PHP-DB] config php w/ mysql // // // // // Darrell wrote: // > // > I got mysql installed on my win2000 machine, and have // apache running with // > php 4 all working correctly. // > // > but I can't get php to work with the db... // > // > I'm

Re: [PHP-DB] config php w/ mysql

2001-07-23 Thread leo g. divinagracia iii
Darrell wrote: > > I got mysql installed on my win2000 machine, and have apache running with > php 4 all working correctly. > > but I can't get php to work with the db... > > I'm pretty sure I can connect with mysql_connect(...) because it doesn't die > at that spot. rather, when I try to do

Re: [PHP-DB] config php w/ mysql

2001-07-22 Thread Martin Lefebvre
When you execute your query, do like I do... $query = mysql_db_query($db, $query) or die(mysql_error()); the "or die(mysql_error())" will tell you what the mysql error is... On Sun, 22 Jul 2001, Darrell wrote: > I got mysql installed on my win2000 machine, and have apache running with > php 4