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!
You're gonna say : Of course u get that cos u got single quotes around variables.
Well i already tryied heredoc syntax but i get errors.
Could any1 point the right syntax pls ?
Last edited by Da P3s7 on Fri Jul 21, 2006 4:05 pm, edited 1 time in total.
Well mind you $_GET is caps in the code (after astions post..... thx again btw).....
Also in case the array's values are case-sensitive (ill have to look into it as im still pretty new to php) i entered them bearing case-sensitivity in mind.
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
the problem with that was solved... the problem now it's that html doesnt seem to pass the rest of the array values ( executed, sold, price) to the $_GET array...
As i said... i tryied to pass the values manually (i typer after the "?Name=aa&Description ......" "&Executed=22 ......." etc) and it seems like php enters these values into mysql.
Ideas?
P.S. Does php work within a simple html file?.....
or do i have to make it .php?
P.S.S : Btw as hawleyjr stated $_GET is case-sensitive... so $_get will not work
Last edited by Da P3s7 on Fri Jul 21, 2006 12:47 pm, edited 1 time in total.
with the insert line..it will enter it into mysql. not sure what you are asking. Do you want to pass the get's to another page after you put them in the table?
Would editing the html and adding the $_GET array values manually with code work?
Somthing like:
on submit $_GET("name") = name
etc...
Dunno but it doesnt look like it can be done otherwise?
Edit: Nobody willing to help ??
Edit to feyd: I wasnt assuming you dont have anything better to do but some threads that still havent been answered go to the bottom without getting some answer.
P.S. i am patient except that i need this code ASA i can get it.... That means that I am in a hurry while i dont care about how long it takes for you to respond (let's not exagerate )
P.S.S.: Not to be rude.... but why did you even bother to post since you didnt even suggest the shortest tip possible ?
Last edited by Da P3s7 on Fri Jul 21, 2006 4:36 pm, edited 1 time in total.