[SOLVED] Â Script to move lat & lang in your Table |
8/8/2018 12:51:42 PM |
PHPRunner General questions | |
S
shoppy author
Let's take this topic a step higher.
|
|
admin 8/8/2018 | |
If you add this code to event like BeforeAdd then adding the following to end of your code should do the job: $values["lat"]=$lat; |
S
|
shoppy author 8/9/2018 |
If you add this code to event like BeforeAdd then adding the following to end of your code should do the job: $values["lat"]=$lat;
$values["Latitude"]=$lat;
|
admin 8/10/2018 | |
You need to make sure that variables like $lat and $long do in fact contain correct values and those values are compatible with the data type of Lattitude and Longitude fields. |
S
|
shoppy author 8/11/2018 |
Thanks Sergey, that made it happen. // Get the variables |