Search
 
SCRIPT & CODE EXAMPLE
 

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
?>
Comment

PREVIOUS NEXT
Code Example
Php :: send email template via php 
Php :: add to json object php 
Php :: how to run specific migration in laravel 
Php :: Fatal error: Allowed memory size of 1610612736 bytes exhausted 
Php :: file storage laravel 
Php :: laravel foreach 
Php :: unset session key 
Php :: php pdo database connection 
Php :: laravel merge collections 
Php :: php remove leading zeros 
Php :: php date + 30 days 
Php :: create seed file laravel 
Php :: laravel validation mimes always fails 
Php :: create migration laravel 
Php :: enable gd php 
Php :: migrate particular file laravel 
Php :: where is php.ini file in ubuntu 
Php :: paginate relationship laravel7 
Php :: Laravel Syntax error or access violation: 1071 Specified key was too long 
Php :: replace 0 in number to add 234 php 
Php :: php hello world 
Php :: delete file in php 
Php :: stripslashes in php 
Php :: join multiple tables in laravel eloquent 
Php :: symfony see all make commands 
Php :: laravel convert eloquent collection to collection 
Php :: how to create an associative array in php 
Php :: php convert to boolean 
Php :: php group array by value and count 
Php :: how to assign value of a js variable to a php variable 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =