printf....

From: Date: Wed, 01 Oct 2003 19:44:11 +0000
Subject: printf....
Groups: php.general 
Request: Send a blank email to php-general+get-164609@lists.php.net to get a copy of this message
Hi Folks.. printf (" <html> <body> <center> <form action=\"%s\" method=post name=\"frmSearch\"> <input type=hidden name=search value=yes> <table width=300 border=1 bordercolor=black cellpadding=2 cellspacing=0> <tr style=\"font-size: 8pt; font-family: verdana; color: white;\" bgcolor=#003366> <th valign=top align=left colspan=2 width=300>Search</th> </tr> <tr style=\"font-size: 8pt; font-family: verdana; color: white;\"> <th valign=top align=right width=275 bgcolor=#336699>by Borrower</th> <td valign=top align=left width=25 bgcolor=#CCCCCC><input type=checkbox name=borrower value=1></td> </tr> <tr style=\"font-size: 8pt; font-family: verdana; color: white;\"> <th valign=top align=right width=275 bgcolor=#336699>by Loan Number</th> <td valign=top align=left width=25 bgcolor=#CCCCCC><input type=checkbox name=loan_number value=1 checked></td> </tr> <tr style=\"font-size: 8pt; font-family: verdana;\"> <th valign=top align=right width=300 bgcolor=#CCCCCC colspan=2><input type=text name=search_info style=\"width=100%;\"></th> </tr> <tr style=\"font-size: 8pt; font-family: verdana;\"> <th valign=top align=right width=300 bgcolor=#CCCCCC colspan=2><input type=submit value=\"SEARCH\"></th> </tr> </table> </form> </center> ", $_SERVER['PHP_SELF'] ); I have that code, and I get this error: Warning: printf(): too few arguments in /home/sites/site8/web/index_test.php on line 34 I cannot for the life of me figure out what the problem is. I've looked thru archives, examples, and pages of a book all about printf, and this just doesn't add up to me.. Anyone see the problem? -Dan Joseph

« previous php.general (#164609) next »