Created
April 15, 2016 02:48
-
-
Save anonymous/97b0ceaa35197b14298239a9fb9ae9c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(isset($_POST['pRate'], $_POST['dRate'], $_POST['eRate'])) | |
{ | |
$pounds= $_POST['pRate']; | |
$dollars= $_POST['dRate']; | |
$euros= $_POST['eRate']; | |
$_pounds= mysql_real_escape_string($pounds); | |
$_dollars= mysql_real_escape_string($dollars); | |
$_euros= mysql_real_escape_string($euros); | |
$sql= ("UPDATE Exchange | |
SET poundRate= $_pounds, | |
dollarRate= $_dollars, | |
euroRate= $_euros"); | |
$result= mysql_query($sql); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment