if($REQUEST_METHOD == "post")
{
//do validation of data
if($validated == "yes")
{
//do queries
}
else
{
echo "not validated";
include("form.html");
}
}
else
{include("form.html");}
Maybe that'll work. I'm trying to follow your logic. That will check for
the request met
> I included a pseudocode form of my logic here & my actual code below.
A suggestion in similar pseudo code.
"top of page"
"set a flag to display form"
If (form submitted)
{
"validate entered data"
if (data is correctly validated)
{
"enter data into database"
if (databas
2 matches
Mail list logo