Created
April 15, 2016 00:01
-
-
Save anonymous/da1ff1a8e8b1347714c7d8614db649c1 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