Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
Here is the URL:
localhost/wordpress/?page_id=51.html?err=Please%20Enter%20your%20Password%20Confirmation
Here is the code that is not working:
<h2 class="site-description2">
<?php if(isset($_GET["err"])) echo $_GET["err"]; ?>
</h2>
Thanks in advance. Appreciate all help.
separate $_GET parameters with &
localhost/wordpress/?page_id=51.html&err=Please%20Enter%20your%20Password%20Confirmation
Related
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 1 year ago.
Improve this question
Now I try to install a plugin "anycomment" on my site. In single.php I inserted this:
<?php do_shortcode('[anycomment]') ?>
But it's not working. Why?
I attached screens with plugin:
First
Second screen
Can you help me with it? Thanks advance
Try
<?php echo do_shortcode('[anycomment]'); ?>
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 3 years ago.
Improve this question
How can i echo PHP Get request with []?
example: value=ok¶ms[account]=123456
There is no problem with:
echo $value = $_GET["value"];
Not working with:
echo $account = $_GET["params[account]"];
echo $account = $_GET["params"]["account"];
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 years ago.
Improve this question
might be a very dumb question but i'm trying to make a html string with a php var and then html.. what the heck am I doing wrong?!? :(
$author_name = get_the_author(); ?>
<h4><?php $author_name;?> On-Demand Webinars</h4>
Thank you!
Just missed the echo.
<h4><?php echo $author_name;?> On-Demand Webinars</h4>
You missed "echo" statement
e.g
<?php echo $author_name;?> On-Demand Webinars
OR
<?=$author_name;?>
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 7 years ago.
Improve this question
header("Location: {$TBDEV['baseurl']}/login.php?returnto=" . urlencode($_SERVER["REQUEST_URI"]));
Is it a variable? PHP reserved word? something to do with HTML?
It's a $_GET parameter. When you submit the code, the page receiving it will be able to use $_GET['returnto'] to return you to the page you're currently on.
Take some time to learn about $_GET
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 7 years ago.
Improve this question
I have a problem. Because i'm new in PHP, i don't know whether this is right or wrong syntax. Form it's not working.
<form name="edit_client" method="post" action="index3.php?page=del&id=<?php echo $row['id']; ?>&action=edit">
No problem with that.
<form name="edit_client" method="post" action="index3.php?page=del&id=<?php echo $row['id']; ?>&action=edit">
Just missed a = after id