Re: [FN-FORUM] Splitting strings
date posted 17th January 2004 10:23
try
$url = 'subaction=showfull&id=1074303127&archive=1';
parse_str($url);
echo $id;
check the manual for parse_str to see other ways in which you can
manipulate the data
-- Richard
http://www.rwatt.co.uk
Saturday, January 17, 2004, 10:39:00 AM, you wrote:
---------------------------------------
JC> Hi guys
JC> If I have a string
JC> subaction=showfull&id=1074303127&archive=1
JC> What's the PHP magic to get only the numbers after id= and before &archive?