passing object elements in urls

From: Date: Tue, 06 Feb 2001 17:39:48 +0000
Subject: passing object elements in urls
Groups: php.db 
Request: Send a blank email to php-db+get-6430@lists.php.net to get a copy of this message
Greetings, Got a slight problem. I'm attempting to pass a number of variables from one form to another. The problem occurs when one of the object elements contains more than one word. <a href="program.php?id=<? pv($row->id) ?>&name=<? pv($row->name) ?>">Program</a> The URL shows ...&name=Arizona State University but when I have the next form print the variable $name it only prints out Arizona and stops. Other than this everything works fine. I've tried single and double quotes in various places around the php expression but nothing is working to get the second form to print the entire object element. Any idea how to pass object elements with spaces in a URL? Thanks.

« previous php.db (#6430) next »