View Single Post
Old 07-23-2004, 08:46 AM  
AcidMax
Confirmed User
 
Join Date: May 2002
Location: MI
Posts: 1,827
You could do something like

$s_values[1] = 12;
$s_values[2] = 14;


Then have something like

$this_s_value = $s_values[$_GET["s"]];


That would make $this_s_value = whatever you have setup above. For example:

If s = 1;

The code I just had would basically make it like this.

$this_s_value = $s_values[1]; // which is 12

Hope that makes sense and is what you want.

Andy
__________________
Latest MMA news. http://www.mmawrapup.com
AcidMax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote