| 
	
 | 
 Posted by Johnny on 10/01/06 20:16 
"ljuljacka" <ljuljacka@yahoo.com> wrote in message 
news:efo1o5$j3b$1@news1.carnet.hr... 
> I'm programming a simple poll that connects to the database. When I choose 
> an option from poll.html(calls action poll.php) and submit it, everything 
> works fine(the entry is recorded in the table), but when I debug the 
script 
> (poll.php) I get error: undefined function mysql_connect. 
> 
> All of the extensions neccesery are uncommented, and paths are correct. 
When 
> I call phpinfo(), I get mysql information. I've tried setting an 
environment 
> variable named php with value C:\wamp\php and that's not doing the trick. 
> I've copied php_mysql(i).dll to folder where php is installed and that 
> doesn't work either. I've also tried copying libmysql.dll to system32 
> folder(got some suggestions)...also didn't work. I'm using wamp ver 5. 
> 
> I'm out of ideas, so if you have any, they will be well appreciated. 
> 
> 
> Dejan 
> 
> 
If you are geting 'the entry is recorded in the table' the surely MySql is 
working?
 
  
Navigation:
[Reply to this message] 
 |