Give parse_str() a go.
http://ca.php.net/manual/en/function.parse-str.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
while ($row = mysql_fetch_array($selection)){
if (section == $sectionName){
echo "" . $row["sectionName"] . "";
}else{
echo $row["sectionName"];
}
thx
Not sure if I understand you 100% but I think you could just either
check the $_GET or $_REQUEST array. Something like this:
i
query that gets the vars from modify button in addtolist.php
hope this helps clear things up...
- Original Message -
From: "Jason Paschal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 03, 2003 8:57 PM
Subject: Re: [PHP] query strings
> i
Do you mind giving (some of) your code?
Sunfire wrote:
still broke
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Sunfire" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, March 03, 2003 7:18 PM
Subject: Re: [PHP]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
// UNTESTED
$tArr = explode('&',$QUERY_STRING);
foreach ( $tArr as $tVar )
{
$a = explode('=',$tVar);
${rawurldecode($a[0])} = rawurldecode($a[1]);
}
???
On Monday 03 March 2003 04:17 pm, Sunfire wrote:
> tried everything except ses
Are you trying to look at the query string itself? If so, spaces are
invalid in URLs, so they are urlencoded. Try using
$_GET/$HTTP_GET_VARS, or urldecode() it if you must.
Sunfire wrote:
tried everything except session vars and the query string is still broken...
no matter what i do for some
6 matches
Mail list logo