the value will be coming from my PHP form
Code:
$total = $Total1+$Total2; echo "Total Value: <input type='text' value='$total' />";
Please advice.
$total = $Total1+$Total2; echo "Total Value: <input type='text' value='$total' />";
echo "Value1";
$result = mysql_query("select Total from tbl1 where ID='{$id}' "); $row = mysql_fetch_assoc($result);
$Total1 = $row['Total'];
echo
<input type=\"text\" name=\"contact\" value=\"$contact\" onclick=\"window.open('contact_search_sub.php')\"></input>";
<script language="javascript"> function
echo "<td><input type='text' name=\"txtcontactid\" value='". $row['contactid']. "'>";
echo "<input type='button' value='select' onclick=\"contactid($txtcontactid)\" >";
echo "<td width='100%'>
<input type=\"text\" name=\"contactid\" onclick=\"window.open('contact_search_sub.php')\"></input>";
<script language="javascript">
function contactid(contactid)
{
window.opener.document.getElementById( 'Contactid' ).value =textcontactid;
window.close();
}
</script>
echo "<input type='button' value='Select' onclick='window.opener.document.getElementById( 'Contact' ).value = '". $row['contactid']."' ";
<script language="javascript">
function contactID(ContactID)
{
window.opener.document.getElementById( 'ContactID' ).value = ContactID
window.close();
}
</script>
echo "<input type='button'
echo "<input type='button' value='Select' onclick=window.opener.document.getElementById( 'ContactID' ).value = value_from_contactbox window.close()'>";
echo "<input type='button' value='Select' onclick=window.opener.document.getElementById( 'ContactID' ).value = value_from_contactbox window.close()'>";
echo '
<h2>' . ( $id ? translate ( 'Edit Entry' ) : translate ( 'Add Entry' ) )
. $eType_label . ' <img src="images/help.gif"
echo '
<h2>' . ( $id ? translate ( 'Edit Entry' ) : translate ( 'Add Entry' ) )
. $eType_label . ' <img src="images/help.gif" alt="' .
echo '
<h2>' . ( $id ? translate ( 'Edit Entry' ) : translate ( 'Add Entry' ) )
. $eType_label . ' <img src="images/help.gif"
Leave a comment: