I am trying  make a script fatch my data form my mysql database. I use
this script but when execute it is says
Warning: printf(): too few arguments in
/home/httpd/html/larken/database.php on line 47

any hints
Thanks Jeff




$db = mysql_connect("****", "root");


$result = mysql_query("SELECT * FROM custgeninfo",$db);

echo "<table border=1>\n";

echo "<tr><td>Name of contact</td><td>Name of company</td><td>
Address</td><td>Postal Code</td><td>Format Mail</td><td>Email

ID </td></tr>\n";

while ($myrow = mysql_fetch_row($result)) {

//               1             2         3            4
5          6           7


echo "</table>"




PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to