Help passing on an ID in a link for MySQLi
I am trying to create a link in MySQLi to pass on an ID (RecipeID) from the result page to the detail page (recipe.php). I know how to do this using MySQL but have not done this in MySQLi. Could someone fill the gap for me?
Here is what I have so far (hope this is correct) and am missing the _______________ part:
<a href=recipe.php?RecipeID=<?php echo($rsRecipes->getColumnVal("RecipeID”)); ?> _________________ <?php echo($rsRecipes->getColumnVal("RecipeTitle")); ?></a>
Thanks a lot.