normally it is working as expected, but while building my login page it is not working as I want to.
Well url is http://localhost/?page_id=96?msg=INVALID_PASSWORD_MSG
And I am trying to make it work this..but it is not working, I will be happy for every help :)
<?php if (isset($_GET['msg'])) { ?>
<div class="invallidpassword"><cite><?php echo $_GET['msg']; ?></cite></div>
<?php } ?>
I think you need to correct the question marks. Lets say you have a query
page which retrieves page content from database. Then It should be something like following.
http://localhost/query?page_id=96&msg=INVALID_PASSWORD_MSG
The first question mark added after the requested page, and the parameters are separated by &
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.