bumcheekcity Active member Mar 29, 2010 #1 Pretty much as it sounds. I can get the string name of the location by passing to_string($location[yourmum]), but is there a function to get the ID? to_int() doesn't do it.
Pretty much as it sounds. I can get the string name of the location by passing to_string($location[yourmum]), but is there a function to get the ID? to_int() doesn't do it.
jasonharper Developer Mar 29, 2010 #2 Use to_url(), and parse the snarfblat= value out of it? Note that not every $location is actually an adventure.php location that has an ID.
Use to_url(), and parse the snarfblat= value out of it? Note that not every $location is actually an adventure.php location that has an ID.
bumcheekcity Active member Mar 29, 2010 #3 Thanks, and thanks for reminding me the snarfblat isn't always there