php string related to html text box -
I have a string variable in php where it should fit in different text boxes. Is this possible? As an example
& lt ;? Php Print "Username Balance 100"; ? & Gt;
and html form
& lt; Html & gt; & Lt; Head & gt; & Lt; Title & gt; Exam page & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Form method = "" action = "" & gt; Username: & lt; Input type = "text" value = "here $ php value" disabled & gt; & Lt; Br> Balance: & lt; Input type = "text" value = "here $ php value" disabled & gt; & Lt; Br> Amount: & lt; Input type = "text" value = "here $ php value" disabled & gt; & Lt; / Form & gt;
As you can see, I want to place these string variables in these 3 boxes "Username" in the first box then "Balance" in the second box and then the third.
Just do not know how to do it: (
Is it you ask ?
$ data = 'username' balance 100 '; $ result = explosion ("", $ data);?? & Gt; body & gt; & lt; form Method = "" action = "" & gt; Username: & lt; input type = "text" value = "& lt ;? php echo $ result [0] ;? gt; & gt; disabled & gt; & lt; Br>:
Comments
Post a Comment