PHP upload problem

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

PHP upload problem

Post by jacquesy » Wed Jan 22, 2003 9:08 am

Hi,

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?

Thanks.

User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: PHP upload problem

Post by WiZARD » Wed Jan 22, 2003 9:50 am

1 use $_POST['var']
2 see connections in database betwen pri and other keys

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 10 guests