Action in form using PHP [closed] - php

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

Related

How to request get value? [closed]

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&params[account]=123456
There is no problem with:
echo $value = $_GET["value"];
Not working with:
echo $account = $_GET["params[account]"];
echo $account = $_GET["params"]["account"];

How to Concatenate a PHP variable and a string [closed]

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;?>

Get all uploaded files [closed]

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'm uploading several files and I need to process all of them. But they have "unknown" names back in the form and simple foreach is not working.
<input type="file" name="somethingIDontKnow">
<input type="file" name="somethingIDontKnowAgain">
...
I need to know the name parameters of inputs. Can I get them somehow?
Oh, I forgot to add enctype="multipart/form-data" parameter to <form> so I didn't get any files. It's ok now.

What is the "returnto" in this piece of code [closed]

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

$_GET function not working for my wordpress website [closed]

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

Categories