Im beginner in php and sql
and i have a site, a recipe database.
Im trying to make a recipe of the day box, that other people could add to their sites.
.$serno is the varible that contais the day's script, and somehow i want to make it include itself automatically, not via a link.
This is the link form, it works.
echo '<a href="index.php?rs=200&id='.$serno.'">'.$name_of_recipe.'</a>';
And this is the way i want it to be.
include ("index.php?rs=200&id='.$serno.'");
but the problem is that it understands the $serno, then starts to look it as a file, not from the batabase.
Can i not add SQL variables to include, is there another way or am i just missing something obivious?
Im not really good at explaining this, but i hope you understood it