Jump to content
php.lv forumi

Kur ir kļūda?


Sliipeetais

Recommended Posts

$con=mysql_connect(localhost, username, "parole");

mysql_select_db(dbname, $con);

 

$id=mysql_query("SELECT id FROM tablename ORDER BY id");

$result_id=mysql_fetch_array($id); <----- mysql_fetch_array(): supplied argument is not a valid MySQL result resource

$result_id=$result_id++;

 

 

Pagājusi vismaz stunda domājot, bet es vēl aizvien nesaprotu.

Link to comment
Share on other sites

×
×
  • Create New...