Hello everybody I'd like to make a page in which the results shown can 
be bookmarked by clicking a button aside each of them.
Actually first it should check if the session is open already ... Then 
if that item(that comes from a query to a MySQL table) has been 
registered already, finally it registers all the variables in a 
multidimensional array.

this is the code:

        {session_register("bkmks")||die("WE GOT PROBLEMS MAN");
$bkmks = array(array(tab=>$tab, id=>$id, url=>$url, nome=>$nome, 
ind=>$ind, com=>$com, pv=>$pv, tel=>$tel, chi=>$chi));

print "<html><body >Your choice has been 

foreach($bkmks as $v)
print "<html><body You have already chosen this item</body></html>";exit;
                             print "<html><body>Your choice has been 

It doesn't work! I can't figure out why.
It starts storing fine and then it seems messing up with values so it 
recognises as already stored only the variables of my first choice (the 
value stored at bkmks[0])... I tried to print values stored in the 
array: the output is a mess I don't know why!

Thanks a lot !

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to