PHP upload problem

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 12
Joined: Tue Jan 21, 2003 2:27 pm

Wed Jan 22, 2003 9:08 am


I have a PHP file that simply inserts records into my database and then another PHP file that simply reads and outputs these values.

Locally all is working fine, i'm using the latest version of PHP, MYSql and IIS but when I upload them problems occur:

1. When I insert a value to the database it adds only blank values.
2. When I read from the database it only pulls out the primary key.

I find this strange as the PHP and database are obviously connecting.

Can anybody help?


User avatar
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Wed Jan 22, 2003 9:50 am

1 use $_POST['var']
2 see connections in database betwen pri and other keys
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";

Post Reply