Jump to content

Ayuda en PHP


Recommended Posts

Lo puedes hacer mediante java script:

 

<input type="text" id="textbox1"> <input type="button" value="->" onclick="box1 = document.getElementById('textbox1').value; document.getElementById('textbox2').value=box1"/> <input type="text" id="textbox2"/>

 

O mediante php

 

<?php
$value = $_POST['value'];

echo '<form method="post" action="'.$_SERVER['SELF_PHP'].'">
<input type="text" name="value" value="'.$value.'"/> <input type="submit" value="->"/> <input type="text" value="'.$value.'"/>
</form>';
?>

 

Suerte

 

Dime como tu fue...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...