[PHP] Help, anyone else using GD2 & php 4.1.2 ?

2002-04-09 Thread Mark W. Humphries
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

Re: [PHP] Help anyone

2001-11-29 Thread Mike Eheler
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>

Re[2]: [PHP] Help anyone

2001-11-29 Thread faeton
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. ;)

Re: [PHP] Help anyone

2001-11-29 Thread Jani Mikkonen
> > > 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

Re: [PHP] Help anyone

2001-11-29 Thread Mike Eheler
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

Re: [PHP] Help anyone

2001-11-29 Thread Dan McCullough
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:

Re: [PHP] Help anyone

2001-11-29 Thread faeton
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 :)

[PHP] Help anyone

2001-11-29 Thread Dan McCullough
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