hi i got a variable assigned time as its value in a script called a.php
a.php
<?php
$orgtimestamp = date("h:i:sa");
?>
i want this
$orgtimestamp
to be called by another script and assigned its time to another variable in the new script.
i tried it as follows with no luck for sometime, following is my script.
<?php
$A = new a();
$time = $A->orgtimestamp
?>