[SOLVED] Â get values for all the rows in a table |
7/21/2014 8:02:58 AM |
PHPRunner General questions | |
C
cristi author
I have a table in which one column has ip addressees. global $conn;
|
|
admin 7/21/2014 | |
I think you can just use 'View as' type Custom and put your PHP code there. $value = getCountryFromIP($data["IP"]); |
C
|
cristi author 7/21/2014 |
I think you can just use 'View as' type Custom and put your PHP code there. Something like this will work: $value = getCountryFromIP($data["IP"]);
$arr = explode(",",$value);//define array of strings
|
admin 7/21/2014 | |
Add a calculated fields to your SQL query and setup this field as 'View as' Custom i.e. select ID, IP, '' as Country |
C
|
cristi author 7/22/2014 |
Add a calculated fields to your SQL query and setup this field as 'View as' Custom i.e. select ID, IP, '' as Country
|