Re: Matching

From: Date: Sat, 31 Jan 2009 16:58:03 +0000
Subject: Re: Matching
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-287487@lists.php.net to get a copy of this message
Ron Piggott wrote: > How do I determine the value of tx from this string? > > > page/words_from_the_well_checkout/?tx=8UM53005HH344951T&st=Completed&amt=0.01 > > My desired answer is: 8UM53005HH344951T > > I am trying to capture the serial number which follows tx= and ends > immediately before the & > > Ron > If this is actually the URL of the script that is running, then $_GET['tx'] -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#287487) next »