Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php get id from url

$id = (int)$_GET['id'];
Comment

get id from current url for php

$path = parse_url($url, PHP_URL_PATH);
$pathFragments = explode('/', $path);
$end = end($pathFragments);
Comment

PREVIOUS NEXT
Code Example
::  
::  
::  
::  
::  
Javascript ::  
::  
:: how to go to a link using javascript 
:: How To Use Media Query Using Jquery 
Javascript ::  
::  
::  
::  
:: generate random hash in javascript 
::  
::  
Javascript ::  
::  
::  
::  
::  
::  
::  
::  
Javascript ::  
:: how to install grepper 
::  
:: how to go to a link using javascript 
::  
::  
ADD CONTENT
Topic
Content
Source link
Name
6+4 =