Post
Topic
Board Project Development
Re: PHP Coding question in regards to validat user input before passing it into mysq
by
retteDenTierpark
on 10/12/2019, 23:53:36 UTC
yes all the code snippets work

right now user inputs address and clicks submit and the input(address) is put into mysql


also the code for verifying if btc address is valid works

however i cant figure outhow to put this together into a working project


this is from the checkAddress function

the address variable is empty

  $address = "";
$eth = mysqli_real_escape_string($conn,$_POST['address']);

so i dont know what to use here- do i need to change this to

$address = $eth;




$eth is actually $btc