Jump to content

GET problem


tommyinnn

Recommended Posts

Does any1 know what would cause this problem?

 

Here is the url

www.mysite.com/profile.php?id=1447835&state=AL&firstname=TOM&lastname=ANDERSON

 

When I try to echo the id, only 6 numbers appear, the 7th is stripped for some reason

 

<? echo ($_GET["id"]); ?>

would print 144783

 

if I change the $ID to 123456789 it will only echo 123456

 

 

 

Link to comment
Share on other sites

yes thanks guys that was the problem, I moved the echo line up till it worked and was able to locate the problem, which as the variable $id, it was already being used in the members end of the script, changed it from $id to $num and it's fine, thanks again gristoi & Chud37!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.