|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Please advise. I keep getting the following error when I try to test MySQL on IIS4.
This is the script I run: <?php $host="localhost"; $user="admin"; $password="1234"; mysql_connect($host,$user,$password); $sql="show status"; $result = mysql_query($sql); if ($result == 0) echo("<b>Error " . mysql_errno() . ": " . mysql_error() . "</b>"); elseif (mysql_num_rows($result) == 0) echo("<b>Query executed successfully!</b>"); else { ?> AND THIS IS THE ERROR I RECEIVE: Error " . mysql_errno() . ": " . mysql_error() . "</B>"); elseif (mysql_num_rows($result) == 0) echo("Query executed successfully!"); else { ?> Variable_nameValue |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > mysql_errno() on IIS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|