Jump to content

Call Last Info


JukEboX

Recommended Posts

How about:

 

// Retrieve all the data from the table
$result = mysql_query("SELECT * FROM table ORDER BY id desc LIMIT 0,1") 
or die(mysql_error()); 

// store the record of the table into $row          
$row= mysql_fetch_array( $result ); 

echo "$row[field]";
echo "<br>";
echo "$row[field2]";
echo "<br>";
echo "$row[field3]";

Link to comment
https://forums.phpfreaks.com/topic/103774-call-last-info/#findComment-531308
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.