value from PHP form couldn't be sent to SQL statement

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
muhkah
Forum Newbie
Posts: 2
Joined: Fri Jun 01, 2007 7:45 pm

value from PHP form couldn't be sent to SQL statement

Post by muhkah »

value from PHP form couldn't be sent to SQL statement that I parse from file text.

on what way the code could send the true value to database.

I got the trouble to do this.

please help me

KAhlil

this is my code :

http://www.devsoftware-sttpln.com/forum.zip
User avatar
maliskoleather
Forum Contributor
Posts: 155
Joined: Tue May 15, 2007 2:19 am
Contact:

Post by maliskoleather »

please post a sample of the code thats causing problems.
bdlang
Forum Contributor
Posts: 395
Joined: Tue May 16, 2006 8:46 pm
Location: Ventura, CA US

Post by bdlang »

Your code relies on global variables; the register_globals ini setting has been 'off' by default for a few versions now. Access those variables using the $_POST superglobal array.

PHP Manual : register_globals
muhkah
Forum Newbie
Posts: 2
Joined: Fri Jun 01, 2007 7:45 pm

Post by muhkah »

#for maliskoleather

I've give the code link on the first post..

and the trouble is on parsing2.sql and add.php.

the variabel couldn't be passed to file text.
User avatar
maliskoleather
Forum Contributor
Posts: 155
Joined: Tue May 15, 2007 2:19 am
Contact:

Post by maliskoleather »

muhkah wrote:I've give the code link on the first post..
no one should have to download your code to be able to help you. Who knows whats in that zip file? for all i know, your trying to trick us into downloading some virus. (not saying that i think you are, just its a possibility and a reason why im not going to download something just to help you)

also, I (we) aren't responsible for debugging an entire set of scripts. The way you have given us your code, we have to look through what you have and try to find where this error is, on what file, etc. This is too much to ask of us, expecially when asking for free help.

post the parts of the code that has the issues, and we will be glad to help with that.
Post Reply