Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

PHP upload problem

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

PHP upload problem

Postby 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.
jacquesy
New php-forum User
New php-forum User
 
Posts: 12
Joined: Tue Jan 21, 2003 2:27 pm

Re: PHP upload problem

Postby WiZARD » Wed Jan 22, 2003 9:50 am

1 use $_POST['var']
2 see connections in database betwen pri and other keys
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to PHP coding => General

Who is online

Users browsing this forum: afelipeor and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron