Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Concatination of string

Status
Not open for further replies.

sanjdhiman

Programmer
Jan 15, 2003
189
GB
I have a quick problem, cant figure it out so I thought id ask you guys

I have a form which takes a value from a select box

e.g.

echo &quot;<form name=\&quot;test\&quot; action=\&quot;$PHP_SELF?companyname=$agentname\&quot; method=\&quot;post\&quot;>

<select name=agentname onchange=submit()><option value=&quot;Greta Co&quot;>Greta & Co </option>

this is a snippet of the code


Ok so here lies the problem, i get it to refresh and all as in when they select from the drop down it comes out on the URL, but it only gives me the first bit of the string,

e.g.

I get


and that is it??

what i should be getting is

Co&quot;

Does anyone know wath the problem is?

Thanks in advance
SAnj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top