views:

21

answers:

1

a href="deleteresnext.php?rid=< ?php echo $row->rid ?>" onclick="return confirm('Are you sure you want to cancel reservation?');" >Delete

can i retrieve 2 values using this code ? because i need it to another php file, i would like to retrieve rid and roomid by the code above ?

need help urgent and thanks

-renz

A: 

Yes. You can add another parameter to that URL:

<a href="deleteresnext.php?rid=<?php echo $row->rid; ?>&roomid=<?php echo $row->roomid; ?>" onclick="return confirm('Are you sure you want to cancel reservation?');" >Delete</a>
Jacob Relkin
where would i put that code ?
renz
thank you so much !
renz
@renz, You can upvote and/or accept this answer by clicking on the up arrow and the hollow checkmark. Thanks!
Jacob Relkin
oh sure i forgot. thanks to you again man.
renz