takalota Posted September 21, 2008 Share Posted September 21, 2008 My code <?php echo $x ?> i tried with sexpornhost it work. i see 1234 http://sabuysabuy.sexpornhost.com/test.php?x=1234 but tried with byethost32 and another host i can't see anything http://www.takalota.byethost32.com/test.php?x=1234 Why it that? help me please Link to comment https://forums.phpfreaks.com/topic/125145-problem-with-get-method/ Share on other sites More sharing options...
A2xA Posted September 21, 2008 Share Posted September 21, 2008 Try <?php $x = $_GET['x']; echo $x ?> Link to comment https://forums.phpfreaks.com/topic/125145-problem-with-get-method/#findComment-646816 Share on other sites More sharing options...
redarrow Posted September 21, 2008 Share Posted September 21, 2008 yes you need to remember your not posting here your getting somethink from a url, so you need the $_GET[''] function as shown.. Link to comment https://forums.phpfreaks.com/topic/125145-problem-with-get-method/#findComment-646822 Share on other sites More sharing options...
takalota Posted September 21, 2008 Author Share Posted September 21, 2008 Okay, thank you every answer I am a newbie in php. Link to comment https://forums.phpfreaks.com/topic/125145-problem-with-get-method/#findComment-646827 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.