Another tip you might find useful if you're writing code that outputs a
FORM 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
.
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 PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
It looks like your code could use variable variables to
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 */
$frmGame =
?php
$XML = ?xml version='1.0' encoding='UTF-8'?ProductApple/Product;
echo $XML;
?
Not sure if this is the best way, but it worked for me:
$XML = .?xml version='1.0'
encoding='UTF-8'?.ProductApple/Product;
Hope this helps,
Mark
Mark Middleton
Whirled Web
--
PHP
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
session_register($employee);
session_register($employee_f_name);
session_register($employee_l_name);
session_register($employee_full_name);
session_register($department);
session_register($date);
6 matches
Mail list logo