good good.............................
View more random threads:
- Banner Exchange PHP PHP SCRIPTS
- SESSION() and goto support in php 2011
- The required PHP extension MySQLi could not be found....
- Undifned index upgrade from php4 to php5 2011
- php&mysql urdu turtorial for Urdu speaking distance...
- My First PHP Script 2011
- How to make friends linking process page with php?
- Students should share php and mysql knowledge with each...
- Cookies between too linked files in php 2011
- Difference between mysql and mysqli 2011
Code:// Go through and check all stores while ($row = mysql_fetch_assoc ($result)) { // Separate closest stores $distance = Dist ($row['lat'], $row['lon'], $zip['lat'], $zip['lon']); $preSpecialties = $row['specialties']; $preDoor=explode (';',$preSpecialties); $i=count($preDoor); for($n=0;$n<$i; $n++){ // Check if store is in radius if ($distance <= $r && $p == ($preDoor[1]) or ($preDoor[2]) ) { $stores[] = array ( 'name' => $row['name'], 'address' => $row['address'], 'state' => $row['state'], 'town' => $row['town'], 'postal' => $row['postal'], 'phone' => $row['phone'], 'hours' => $row['hours'], 'specialties' => $row['specialties'] ); } } } } else { $Errors = ($Errors) ? $Errors : '<p>Errors were found please try again!</p>'; }
good good.............................
Last edited by Vuhelper; 07-26-2014 at 04:12 PM.
Dear Admin, AOA, hope you are fine in beautiful city. I have started learning Php.
So, my first choice , as always : vuhelp
I hope , I will be able to master it in 15 quick days.
Regards
Sponsored Links
There are currently 1 users browsing this thread. (0 members and 1 guests)