Thanks, again, Elizabeth! Makes sense. I hadn't started the documentation 
yet because I was trying to get a working understanding of things first by 
going through a tutorial. I realize now that my tutorial was for an earlier 
version of PHP and MySQL, so things like this are going to be a problem.

Anyway, thanks for setting me straight.

Tim R.


"Elizabeth M Smith" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Tim wrote:
>> I spoke to soon. Your tip did manage to get the MySQL section to show up 
>> in
>> the output of phpinfo(), and the connect command doesn't throw an error
>> anymore, but now I get the same Undefined Function error on the line to
>> create a db:
>>
>> mysql_create_db("dbName") or die(mysql_error());
>>
>> Why would it be letting my connect command pass without an error, but 
>> this
>> line generate the error?
>>
>
> Because mysql_create_db doesn't exist for mysql client libs above 4.0 -
> read the documentation at php.net please
>
> If you want to create a db, do a CREATE DATABASE query
>
> Thanks,
> Elizabeth Smith 



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to