Thread: SQL Help
View Single Post
  #2 (permalink)  
Old 21-12-04
ianm's Avatar
ianm ianm is offline
Avoiding real work
 
Join Date: Aug 2003
Location: Buckinghamshire
Posts: 1,382
Thanks: 0
Thanked 0 Times in 0 Posts
ianm is an unknown quantity at this point
You could Explode it using '&IWANTTHIS=' as the delimiter.

Then Explode the second element in the resulting array using '&thisthatandother=' as the delimiter.

The value you want would then be the first element of the resulting array

something like -


PHP Code:
  $array1 explode ("&IWANTTHIS="$field);
  
$final_array explode ("&thisthatandother="$array1[1]);
  
$myvalue $final_array[0
__________________
Those who can do, those who can't talk about it
Reply With Quote