Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get parameter 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: #parameter #php
ADD COMMENT
Topic
Name
6+4 =