开发者

Submit get variable from url

开发者 https://www.devze.com 2023-03-13 09:11 出处:网络
I have two get 开发者_如何转开发variables in the url bar.I would like to take those variables and put them in a mysql database along with some other data.For some reason $data=$_GET[data] isnt working

I have two get 开发者_如何转开发variables in the url bar. I would like to take those variables and put them in a mysql database along with some other data. For some reason $data=$_GET[data] isnt working when i insert its value into a database. Is this the wrong way to take a get variable already set in the url bar? I have made sure that the get variable is already set and not null.

I think this may be the wrong way to pull down info from the url bar. Any suggestions?


Can you post entire url, because sometimes the problem is there. Other than that, try with $data=$_GET["data"]

0

精彩评论

暂无评论...
验证码 换一张
取 消