Help - Search - Members - Calendar
Full Version: MySQl not run
Hostony Board > General Support > PHP/MySQL
allo
CODE
$liendb = @mysql_connect ("localhost", "zatools_allo", "password");
   if (!$liendb) {$mist=0;}
   else {
   $mist=1;
   @mysql_select_db ("zatools_perso");
   $sql = "SELECT ajout FROM stat";
   $resultat = @mysql_query ($sql);
   $tot = @mysql_result($resultat,0,0);
   $tot+=1;
   $sql = "UPDATE stat SET ajout = '$tot'";
   @mysql_query ($sql);
   @mysql_close ($liendb);


This code was tested.

Do I have to make something to activate the data base?

Mercie Alain
Stanly
Sure, you need to create it first at your control panel.
allo
hi,ha

It was done.

I'm submitting a ticket.
Vanya
Ok.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.
IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here