Jump to content

Changing text on "Submit Query" button


mattyd

Recommended Posts

Hi.  I have just one question (I have searched for an answer for this but have not been able to locate one):

 

How do you go about changing the text on a "Submit Query" button to display simply "Submit"?

 

Below is the current code for the page that displays said button.

 

Thank-you in advance for any help or direction.

 

<?php
include 'connection.php';

$query = "SELECT * FROM people";

$result = mysql_query($query) or die(mysql_error());

while ($person = mysql_fetch_array($result)){

        echo  $person ['name'];
echo  $person ['descrip'];
}
?>

<H1>Add Your Review:</H1>
<form action="create.php" method="post">
     Subject <input type="text" name="inputName" value=""/>
     </br >
     Review <textarea cols="50" rows="4" name="inputDesc" value=""/></textarea>
     </br >
    <input type= "submit" name= "submit"/>
</form>

<html>
<head></head>
<body>
<p>The current second is <span style='font-size:16px;font-weight:bold;color:red;position:absolute;right:25px;'><?php echo time(); ?></span> on this computer.</p>
</body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/222725-changing-text-on-submit-query-button/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.