Hi!
Can this be made to work somehow?
I did:
add in item
include(APPLICATION_ROOT . "/modules/include/JavaGoBack");
Write this file:
<?php
function JavaGoBack($ActionResults)
{
if($ActionResults == L_ADD_BASKET_SUCCESS)
{
$JavaURL = "<a href=\"javascript:history.go(-2)\">Go Back</a>";
}
else
{
$JavaURL = "<a href=\"javascript:history.go(-1)\">Go Back</a>";
}
return($JavaURL);
}
?>
and tryed to add to item: printJavaURL();
Including javaGoBack function item did not make PHP react, but inckluding
printJavaURL(); in item made PHP say
Fatal error: Call to undefined function: printjavaurl() in
C:/Xitami//modules/screens/item on line 201
I am lost, but I was hoping this could be made to work somehow? I just had to try...
:-))
Bjarne Hansen
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]