/ Published in: PHP
Simplified form to extract data through MySQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
include("conx.php"); //----depois o RS $Tabela = "clientes"; $SQL = "SELECT * FROM $Tabela ORDER BY Nome ASC"; $rs = mysql_query("$SQL"); //-----> Depois o Loop <? echo $x['campo1'] ?> <? } ?>