SitePoint Member
I have read lots of tutorials but none have covered this subject (i think), I know it has something to+do+with+plus+signs.
index.php?ID=4&name=JamesSmith
seperate each entity with &
-James
SitePoint Member
no what i ment was to make a query like this:
index.php?name=James+Smith
if i put
$fullname = "James Smith"
the outcome of
index.php?name=$fullname
will be
index.php?name=James
???? solution ????
I believe that is the urlencode function of PHP.
You'd use something like:
$fullname = urlencode
but I am not sure.
Search Kevin's tutorial and you are sure to find it.
I forgot to say that if "James Smith" (w/o quotes) is entered in the form, it will be converted to "James+Smith" (again without quotes). PHP will recognize it as "James Smith" whenever you call it.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks