Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get id php

<a href="index.php?id=<?php echo $my_id;?>&name=<?php echo $my_name;?>Click</a>

<?php
$id = intval($_GET['id']);		// integer value
$name = strval($_GET['name']);	// string value
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #id #php
ADD COMMENT
Topic
Name
7+2 =