Hello,
I have a problem where I am trying to include a while loop in between two
fairly large printf statements. The prinf statements print out html seen by
the browser after submit is hit on a previous form. The While loop is
trying to dynamically build a drop down list with the users preference from
their existing profile. The resulting html output dies right after the
<select name='f_mail_client'> tag. I don't think the problem is the while
loop because the echo statement never executes. Also when I remove the end
of the first printf statement and the beginnnig of the second printf
statement, to essentially make one large printf, the html finishes printing
out to the browser. Below is the part of the code is question. Does anyone
have any idea what is going wrong?
<HTML CODE>...
" <br>" +
" " +
"<select name='f_mail_client'>");
echo("hello");
while loop stuff?
printf("</select>" +
"<font face='verdana, sans-serif, arial' size=1>" +
"<p>" +
<HTML CODE>...
BTW
This is the query I used for the select statement on the database, (if it
helps):
$query = "select recipient, first_name, last_name, sub1, sub2, sub3, sub4,
sub5, sub6, sub7, sub8, sub9, sub10, " +
"sub11, sub12, sub13, sub14, sub15, f_mail_client, noads_39, no_html from
post_table where recipient='$numero' ";
Any help would be appriciated.
John P.
-------------------------------------------------------------------------
To unsubscribe, go to http://www.Hughes.com.au/extras/email/
This archive was generated by hypermail 2b30 : Mon Mar 04 2002 - 09:03:52 EST