In message <[EMAIL PROTECTED]>, alternate_dph
<[EMAIL PROTECTED]> writes
>> if ($dbc = mysql_connect()){
>>  // do the thing
>> } else {
>>   echo "Error: ".mysql_error();
>> }
>> 
>> This will show you the problem.
>
>Again, I get this error: 
>Fatal error: Call to undefined function mysql_connect() in
>C:\wamp\www\database.php on line 16
>
>What I am wondering now is if somehow along the way, the connectivity
>between mysql and php wasn't installed in wamp.

You need phpinfo to see what you have got...

I am not sure what you have in your set up, but for on mine, if I type
localhost into my browser, I get the Wamp page on my local server, and
phpinfo() is at the bottom of that page.

There should be a paragraph entitled MySQL, which will show you if you
have MySQL installed - you probably have.

And if it isn't, you can add it from the Wamp menu anyway.

Have a look at PHPInfo first...

-- 
Pete Clark

Sunny Andalucia
http://www.hotcosta.com/comm_1.htm

Reply via email to