Menu
Following code is barebones trying to learn and do what i want. I am populating part of a db. and with success display the rest of the form. My hurdle is figuring out an if statement with data returned to ajax. pasteall code contains the form Need help with the if statement in the success part. line 28.. The code
[url]http://www.pasteall.org/65912/php
check.php
<?php
$vname = $_POST[‘vname’];
if ($vname==”jim”) {
echo $vname;
}else{
//echo “no”;
}
?>