[advanced search]
Results from the most recent live auction are here.
13 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 10-30-2005, 01:29 PM   · #1
buddybuddha
NamePros Regular
 
buddybuddha's Avatar
 
Name: Chuck
Location: PA
Trader Rating: (2)
Join Date: May 2005
Posts: 201
NP$: 74.00 (Donate)
buddybuddha is an unknown quantity at this point
Simple PHP Form Issue

This situation is probably fueled by my intense lack of knowledge of php.

But I have a script being called by:

read.php?blog=mainBlog;id=1

The script contains only the following code.

Code:
<? $blog = $_GET['blog']; echo $blog; ?>


Why does it return 'mainBlog;id=1' and not 'mainBlog'?

Thanks.


Please register or log-in into NamePros to hide ads
__________________
Hey Bud, Let's Party!

Walmart Pimp My Ride
buddybuddha is offline   Reply With Quote
Old 10-30-2005, 02:05 PM   · #2
mholt
DNOA Member
 
mholt's Avatar
 
Name: Matthew Holt
Location: 127.0.0.1
Trader Rating: (75)
Join Date: May 2004
Posts: 4,869
NP$: 17.21 (Donate)
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
On most servers, & seperates two variables, not ;

However, GET is an array, so it's only showing the first element in the array (i.e. the first variable.)
__________________
www.mwholt.com
mholt is offline   Reply With Quote
Old 10-30-2005, 02:09 PM   · #3
buddybuddha
NamePros Regular
 
buddybuddha's Avatar
 
Name: Chuck
Location: PA
Trader Rating: (2)
Join Date: May 2005
Posts: 201
NP$: 74.00 (Donate)
buddybuddha is an unknown quantity at this point
thanks changing ; to & solved it!
__________________
Hey Bud, Let's Party!

Walmart Pimp My Ride
buddybuddha is offline   Reply With Quote
Old 10-30-2005, 02:53 PM   · #4
mholt
DNOA Member
 
mholt's Avatar
 
Name: Matthew Holt
Location: 127.0.0.1
Trader Rating: (75)
Join Date: May 2004
Posts: 4,869
NP$: 17.21 (Donate)
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
Ah okay good. Lol Ignore the second part of my reply
__________________
www.mwholt.com
mholt is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to know referrer on a form POST submission? mholt Programming 2 10-29-2005 01:33 PM
Simple gz compression GeorgeB CODE 3 07-01-2005 10:56 AM

Site Sponsors
Proof is in the Parking EscrowDNS Traffic Down Under
Advertise your business at NamePros
All times are GMT -7. The time now is 12:21 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0