On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote:
How is $item_id created? You've not shown that in your PHP script
// parse item id from the url
$item_id=substr($item_id, 0, 5);
$_SESSION['item_id'] = "$item_id";
The above is where item_id is created and added to a session.
The important thing is that this error never showed up before until I
var oss_itemid = "<?php echo $item_id; ?>";
var loadOSS = window.open("http://www.myurl/myfile.php?iid=" +
When I was testing initially, I had removed the variable above in the
link with a hard coded value and I never received this error. Only
when I made it dynamic did this error appear.
Thanks for any help.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php