php - How to get parameter from this url? -
normally working expected, while building login page not working want to.
well url http://localhost/?page_id=96?msg=invalid_password_msg
and trying make work this..but not working, happy every :)
<?php if (isset($_get['msg'])) { ?> <div class="invallidpassword"><cite><?php echo $_get['msg']; ?></cite></div> <?php } ?>
i think need correct question marks. lets have query
page retrieves page content database. should following.
http://localhost/query?page_id=96&msg=invalid_password_msg
the first question mark added after requested page, , parameters separated &
Comments
Post a Comment