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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -