Page 1 of 1

how to $_REQUEST[''string'$var'];

Posted: Tue Jun 10, 2008 6:50 am
by ismail
Hello all,
here i m getting parameter string and a concatinated numerical value dynamically
/******$_REQUEST[''Author'.$a'];
pls help the syntax of it.
<html>
<head>
<title>Response</title>

</head>

<body>
Ur favourite author is
<?php
$a = 1;
$Author = $_REQUEST[''Author'.$a'];
echo $Author;
?>
</body>
</html>

Re: how to $_REQUEST[''string'$var'];

Posted: Tue Jun 10, 2008 6:53 am
by VladSun
Quotes issue:

Code: Select all

$Author = $_REQUEST['Author'.$a];

Re: how to $_REQUEST[''string'$var'];

Posted: Tue Jun 10, 2008 7:44 am
by ismail
VladSun wrote:Quotes issue:

Code: Select all

$Author = $_REQUEST['Author'.$a];
Thank you for ur kind reply