using display rules from an input...

User 2831767 Photo


Registered User
24 posts

Eric im sorry :( very very thanks for your help. i cant speek english and communication is poor. excuse me

<form action='' method='POST'>
<input type='text' name='name'><input type='submit' name='submitu' value='ok'></input></input>
</form><br />
<?php
$name = "";
if(isset($_POST['name'])){
$name = $_POST['name'];
}

//$name=$_REQUEST['name'];
$db_connection= mysql_connect('37.60.245.151','recordia_ordini','231150');
$db_selection = mysql_select_db('recordia_weborder',$db_connection);

$query = mysql_query("SELECT * FROM clienti WHERE codicecli = '$name'" );

while($row = mysql_fetch_array($query))
{
?>
<?php
}

?>
Attachments:
User 187934 Photo


Senior Advisor
20,271 posts

Ok,
Do you want the result on page load or after submit?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2831767 Photo


Registered User
24 posts

after submit button into iframe....
User 187934 Photo


Senior Advisor
20,271 posts

<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$name = $_REQUEST['name'];]
?>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.