RE: [PHP-DB] need help guys

2002-03-14 Thread Tony James
hi Rehab Because your submitted text on the url contains an '&' anthing after this character will be parsed as a new variable. Instead of location.href="additems.php?category="+c try location.href="additems.php?category="+escape(c) this will encode the '&' aswell as spaces to pre

RE: [PHP-DB] need help guys

2002-03-14 Thread Richard Black
Can you send us the full script?? Why can't you just do a submit??? The problem is the ampersand (&) in the middle. This is a place marker which marks the start of the next variable in the query string. If you absolutely *HAVE* to submit the data this way, you'll need to convert it to the escape

RE: [PHP-DB] need help guys

2002-03-14 Thread matt stewart
you can't pass a literal "&" in a url - it makes it think that it's the next variable. -Original Message- From: its me [mailto:[EMAIL PROTECTED]] Sent: 14 March 2002 11:21 To: [EMAIL PROTECTED] Subject: [PHP-DB] need help guys i have this Antiques & Arts then i pass this to next page: