fareedreg Posted December 22, 2009 Share Posted December 22, 2009 <?php $_POST["txtmemid"]; //----------> posting txtmemid value to balance.php require_once("balance.php"); echo "<table width='231' border='1' align='center'>"; echo "<tr>"; echo "<td width='113' bgcolor='#CCCCFF'><div align='center'><span class='style1'>Current Balance</span></div></td>"; echo "<td width='102'><div align='center'>$totalamt</div></td>"; echo "</tr>"; echo "</table>"; ?> IS THIS THE RIGHT METHOD FOR POSTING txtmemid VALUE TO BALANCE.PHP???? Link to comment https://forums.phpfreaks.com/topic/186066-passing-value-of-textbox/ Share on other sites More sharing options...
teamatomic Posted December 22, 2009 Share Posted December 22, 2009 It depends. If blance.php is just some code,yes. If balance.php is a function or such then you will need to pass it with the call. HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/186066-passing-value-of-textbox/#findComment-982680 Share on other sites More sharing options...
teynon Posted December 22, 2009 Share Posted December 22, 2009 This question is too vague. If you are including a file, you can reference a post value in the file automatically. Link to comment https://forums.phpfreaks.com/topic/186066-passing-value-of-textbox/#findComment-982685 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.