||03-04-2008 09:13 PM
Regex - value return
$regex ='/<span id="maplat">(.*?)<\\/span><\\/label> | <label><span id="maplong">(.*?)<\\/span>/Us';
Maybe I'm mistaken but I though for each (.*?) the value was returned into the matches array - it's returning 2 identical values which come from <spam id="maplong">(.*?)<\\/span>, Some help :)
Hopefully I'm just missing something terribly obvious.
||03-04-2008 09:40 PM
They'll quite often all fall into the second index in the
array. So like:
||03-04-2008 09:52 PM
Well I'm getting this return
Array (  => -80.19  =>  => -80.19 )
|All times are GMT. The time now is 06:00 PM.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0