6
Contributors
8
Replies
10
Views
7 Years
Discussion Span
Last Post by mastia22
0

you would use $_GET

so if it was process.php?id=1, you would have something like

$id = $_GET['id'];
echo = $id

and your output would be 1

0

hi

mastia "two parameters carried in the URL" means exctly for what you are talking ?

if you talking about id=7&posid=3 then you can get them by $_SERVER;

check server variable reference of php you can get better idea.

0

there is number of option to get it that values.
here is one of that.
first write extract() after ob_start(); in phpcode

<?
ob_start();
extract($_REQUEST);
echo $id;
echo $posid; 
?>

see now. you can use directly as $id,$postid where you want to use.

Edited by muralikalpana: n/a

0

can you help me find examples on how to contract ERD of Enrollments System??.... and how to make a flowchart

0

there is number of option to get it that values.
here is one of that.
first write extract() after ob_start(); in phpcode

<?
ob_start();
extract($_REQUEST);
echo $id;
echo $posid; 
?>

see now. you can use directly as $id,$postid where you want to use.

It works like a charm!
Thanx fellas.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.