Related Articles
How to write anchor link or Script for calling and Ping/IM for Skype
Add “skype:vivekanandch?call” to call, do it as a anchor link to call on skype. similarly to sms/im on skype use ‘skype:vivekanandch?sms’ You can even try by clicking on the below links. Call me on Skype Ping me on Skype See the below Scripts: Call me on Skype Ping me on Skype
Get Google Maps API Address based on Address
$url = “http://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=”.urlencode($resident_address); $lat_long = get_object_vars(json_decode(file_get_contents($url)));// pick out what we need (lat,lng)$lat = $lat_long[‘results’][0]->geometry->location->lat;$lng =$lat_long[‘results’][0]->geometry->location->lng; /*echo $lat;echo $lng;*/
Simple PHP Dropdown Menu Example
<html> <title>PHP Dropdown Menu Example</title> <head></head> <body> <form method=”POST” action=”phpdropdown.php”> <select name=”user”> <option value=”vivek” selected=’selected’>Vivek</option> <option value=”Raj”>Raj</option> <option value=”Vicky” >Vicky</option> </select> <input type=”submit” name=”go” value=”Go”> </form> </body> </html> <?php if(isset($_POST[“user”])) { $user = $_POST[“user”]; echo $user; } ?> To get selected value use this < option value=”vivek” selected=’selected’>Vivek </ option> Use this at top for […]