Page 1 of 1

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

Posted: Fri Jun 01, 2007 8:01 pm
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

Posted: Fri Jun 01, 2007 8:10 pm
by maliskoleather
please post a sample of the code thats causing problems.

Posted: Fri Jun 01, 2007 10:25 pm
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

Posted: Sun Jun 03, 2007 10:36 am
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.

Posted: Sun Jun 03, 2007 12:09 pm
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.