At 07:16 23/04/00 +0200, you wrote:
>Hi!
>
>Can this be made to work somehow? 
>I did:

don't make it a function, just go straight into the code
Let us know if it works. It could work out of the cache but it really
depends on what the browser response is to a history call.
I guess we'll find out

>
>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]

bye :-)=
[EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to