Any help with this problem would be greatly appreciated.
I'm running PHP 4.1.2 on Win 2000 and Apache.
The following snippet runs perfectly when I use php_gd.dll but generates a
garbled warning message when I switch the extension to php_gd2.dll. The only
change I make to my setup is the correspo
Maybe, but where I come from, printing HTML is illegal, and XHTML
compliance must be 100%, so:
>
>
Mike
faeton wrote:
>Hello Mike,
>
>And cleaner:
>print '';
>print ''').'>';
>?>
>
>:)
>
>ME>
>ME> ME> selected="selected"'; } ?>>On-Line
>ME> ME> selected="selected"'; } ?>>Off-Line
>ME>
>ME>
Hello Mike,
And cleaner:
';
print '';
?>
:)
ME>
ME> selected="selected"'; } ?>>On-Line
ME> selected="selected"'; } ?>>Off-Line
ME>
ME> There's much better/general ways to do it, but the above is a nice,
ME> clean, quick and dirty way of doing it. Yes, clean and dirty. ;)
>
>
>
And if you want to make one of those selected use something like this:
>
>
>
--
PHP General 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 PROTE
ew
How about:
?>
>On-Line
>Off-Line
Here is what I did.
>if ($edit[status]=="On-line") {
>print "Status: \n";
>print "On-line\n";
>print "Off-line\n";
>print "\n";
>} else {
>print "Status: \n";
>print "On-line\n";
>print "Off-line\n";
>print "\n";
>}
>//and
>if ($edit[single]=="1") {
>p
Here is what I did.
if ($edit[status]=="On-line") {
print "Status: \n";
print "On-line\n";
print "Off-line\n";
print "\n";
} else {
print "Status: \n";
print "On-line\n";
print "Off-line\n";
print "\n";
}
//and
if ($edit[single]=="1") {
print "Single: Yes or No
\n";
} else {
print "Single:
Hello Dan,
Thursday, November 29, 2001, 7:11:22 PM, you've written:
DM> I need to edit a entry into the database via an admin script, how do I work in a
radio selection
DM> box, and populate it with the correct selection?
Something like that, maybe :)
I need to edit a entry into the database via an admin script, how do I work in a radio
selection
box, and populate it with the correct selection?
=
Dan McCullough
---
"Theres no such thing as a problem unless the servers are on
8 matches
Mail list logo