Please solve this problem to me!

<?php if(isset($_POST['rw'])) { $count="intval"($_POST['rw']); } else { $count=5; } ?> for ($i=1; $i<$count; $i++) { echo ""; }
Test Test
?>

There is a syntax error, unexpected error in the line 4. Please find me that and help me to create a table using the following cordings

Index.php :

My PHP Work

PHP Test Page

Rows :
Colums :
Page2

Page2.php :

PHP Work <?php if(isset($_POST['rw'])) { $count="intval"($_POST['rw']); } else { $count=5; } ?> for ($i=1; $i<$count; $i++) { echo ""; }
Test Test
?>

Hi,

[php]if(isset($_POST[‘rw’]))
{
$count=“intval”($_POST[‘rw’]);
}[/php]

Should be:
[php]if(isset($_POST[‘rw’]))
{
$count = intval($_POST[‘rw’]);
}[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service