Page 1 of 1

Query String Problem in JavaScript and PHP

Posted: Thu Apr 08, 2010 3:20 pm
by devarishi
When the query string $srNo (it is already urlencode-d) passed to delLog.php, it it displays

Code: Select all

'NaN

Code: Select all

window.location = "delLog.php?srNo='" + <?php $srNo; ?> + "'"; 

Any solutions?

Re: Query String Problem in JavaScript and PHP

Posted: Thu Apr 08, 2010 3:40 pm
by AbraCadaver
<?php echo $srNo; ?>