RE: [PHP] 4.04 --> 4.1.2 incompatible

2002-08-20 Thread Mark Middleton
> Another tip you might find useful if you're writing code that outputs a > that posts to itself, is to echo $PHP_SELF instead of hard-coding > the target. If you happen to move your code elsewhere in the future, > this will save you the time of having to go back and specify a new POST > target

RE: [PHP] Re: Dynamically check radio buttons

2002-08-02 Thread Mark Middleton
owever, I can display the radio button if I use the $_POST function. > > I'm not sure if it's the version of php I'm using. Stats - > windows 2000 Sp1, > Apache 2.039, php 4.2.2. > > Thanks for taking the time!! > > "Mark Middleton" <[EMAIL PROTE

RE: [PHP] Problem with "" inside the PHP code, due to "?"

2002-08-01 Thread Mark Middleton
> $XML = "Apple"; > echo $XML; > ?> > Not sure if this is the best way, but it worked for me: $XML = "<"."?xml version='1.0' encoding='UTF-8'?".">Apple"; Hope this helps, Mark M

RE: [PHP] Re: Dynamically check radio buttons

2002-08-01 Thread Mark Middleton
It looks like your code could use "variable variables" to help you out. ::: OLD CODE > > for ($GameIdx = 1; $GameIdx <= 17; $GameIdx++) { > > /* instead "hardcoding each radio button name - just do it > programmatically > > by concatenating / creating the name */ > > $

RE: [PHP] PHPMyAdmin interface

2002-07-24 Thread Mark Middleton
When they say, "install it on your workstation" are you sure they mean your desktop computer? phpMyAdmin is not a normal install on your desktop (unless you run a server with PHP and MySQL on your desktop, which you may do) It's very straight-forward to install phpMyAdmin on your web site. And y

RE: [PHP] Problems Retrieving Session Variables on 2nd submit.

2002-07-22 Thread Mark Middleton
> session_register("$employee"); > session_register("$employee_f_name"); > session_register("$employee_l_name"); > session_register("$employee_full_name"); > session_register("$department"); > session_register("$d