Jump to content

Display dynamic text to a textfield


Recommended Posts

Hi,

 

I have a form and some PHP codes that look like;

 

<form name="realm_form" method="post" action="">

<input name="realm_field" type="text" value="" size="4" maxlength="4">

</form>

 

<?php

some more codes here

?>

 

and would like the realm_field to display the value of $final_Realm_no which i calculate from my PHP code. How do i refer to the textfield in PHP code? Is there something like

realm_form.realm_field=$final_Realm_no ?

 

Any help/advise is greatly appreciated.Thanks :)

Link to comment
https://forums.phpfreaks.com/topic/2171-display-dynamic-text-to-a-textfield/
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.