RE: [PHP-DB] INSERT problem - please help!

2002-05-28 Thread Jen Swofford

Thanks everyone - it turns out that variables can not begin with a number,
as someone else on this list learned today as well.  Doh!  :)

Jen Swofford
[EMAIL PROTECTED]

> On Tuesday 28 May 2002 06:00, Jen Swofford wrote:
> > I have a problem.  I am working on two separate sites on two separate
> > servers (one is Linux and one is Unix) and I am doing virtually the same
> > thing with each, yet only one of them works.  What can I be doing wrong?
>
> Check your php.ini files. The one which isn't working would probably have
> "register_globals" set to Off.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DB] INSERT problem - please help!

2002-05-27 Thread Jen Swofford

Sigh... they are set to On.  Anything else anyone can think of?

Jen

> On Tuesday 28 May 2002 06:00, Jen Swofford wrote:
> > I have a problem.  I am working on two separate sites on two separate
> > servers (one is Linux and one is Unix) and I am doing virtually the same
> > thing with each, yet only one of them works.  What can I be doing wrong?
>
> Check your php.ini files. The one which isn't working would probably have
> "register_globals" set to Off.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] INSERT problem - please help!

2002-05-27 Thread Jason Wong

On Tuesday 28 May 2002 06:00, Jen Swofford wrote:
> I have a problem.  I am working on two separate sites on two separate
> servers (one is Linux and one is Unix) and I am doing virtually the same
> thing with each, yet only one of them works.  What can I be doing wrong?

Check your php.ini files. The one which isn't working would probably have 
"register_globals" set to Off.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *


/*
Don't kid yourself.  Little is relevant, and nothing lasts forever.
*/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DB] INSERT problem - please help!

2002-05-27 Thread Jen Swofford

I have a problem.  I am working on two separate sites on two separate
servers (one is Linux and one is Unix) and I am doing virtually the same
thing with each, yet only one of them works.  What can I be doing wrong?

It is a simple form.  I simply want to put information into a database.
This is what I'm doing, simply:

This is in page1.php:


Institution Name:

Contact:



And this is in page2.php:


This is what's added into the database: in column 2_institution,
"$2_institution" is added, and in column 2_contact, nothing at all is added.
The URL looks right when I go from page1.php to page2.php:
http://thewebsite/page2.php?2_institution=myinstitution&2_contact=jen

The only other code on the page is that which connects to the database and
to mysql.

Incidentally, it's the one on Unix that's not working

I'm desperate... please help!  Thank you very much.

Jen Swofford
[EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php