passing a post value to 2 scripts
Posted: Fri Feb 27, 2009 9:20 pm
Hi all,
My first post on the forums, since i am stack at a particular problem.
I have a form, and i pass values with the post method. Now the problem is, that this value must be passed to two different php scripts, and the first script has a function in it that calls the second script. Its an sql query, and cant seem to be able to make it work with a variable in the query. When i place a standard value, it works fine.
I tried to require the first script in the second one and use the value from that one, but cant make it work.
Appreciate any help
Looking forward to an answer
My first post on the forums, since i am stack at a particular problem.
I have a form, and i pass values with the post method. Now the problem is, that this value must be passed to two different php scripts, and the first script has a function in it that calls the second script. Its an sql query, and cant seem to be able to make it work with a variable in the query. When i place a standard value, it works fine.
I tried to require the first script in the second one and use the value from that one, but cant make it work.
Appreciate any help
Looking forward to an answer