View Single Post
  #4 (permalink)  
Old 2006-09-18, 10:35 PM
atomek atomek is offline
Junior Member
 
Join Date: Sep 2006
Posts: 6
atomek is on a distinguished road
Default

Thanks vladimir for your reply,

I deleted all existing php script and entered the below, but still no response,

?????1st: turn on maximal error logging: error_reporing(E_ALL)?????? i do not understand this, could you explain a bit more, thanks
__________________________________________________ __________
<?php
$mysqli
= new mysqli("localhost", "my_user", "my_password", "world");

/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}


if (!
$mysqli->query("some query")) {
printf("Error: %s\n", $mysqli->error);
}


?>

__________________________________________________ ____________

thank you for all your help.....
Reply With Quote