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

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -