/ Published in: PHP

two ways of doing it. 2nd is best
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$new_sql = "select MAX(id) from reviews"; $get_new_sql= mysql_query($new_sql) or die(mysql_error()); $new_id = mysql_result($get_new_sql,"id"); <?php if (!$link) { } ?>
Comments
