Ok guys, I haven't scripted as much as I used to,
and the source files I could go back to were on my external hard drive, and that blew up and I'm in the process of re doing a new site from scratch, and this is the pain of it
I lost what i had, and I'm not sure where to go cause I honestly don't remember.
I'll show you what I have,
and I'll explain the issue a bit
<?PHP
include("thisistxt.php");
$resultnn = mysql_query("SELECT * FROM poetry");while($row = mysql_fetch_array($resultnn))
{
(((( Individual Poem Here )))){
echo "";
I'm getting confused and frusterated on this,
so I'm just going to ask
I have a bunch of $erroor in my script $erroor1 $erroor2 $erroor3 etc,
its for a form,
if the form field isnt filled out on each part it will have $erroor1 to say yes
and at the end of the script i want it to
if $erroor(any of them) == yes
then do something
does this make sense?
I have an admin page,
I use a page to copy and paist an IRCd MOTD into a dbase
and its formatting (lines and spaces all go in fine and it looks right)
now I go to the actual site, where i made simple code to have it to display the MOTD
But it's lost the formatting
I'll show you a simple version of what ive done for the admin pages
motd.php
<?PHP
include("********");
$result = mysql_query("SELECT * FROM motd");while($row = mysql_fetch_array($result))
$motd1 = $row["motd"];
?>
MOTD
I can't figure out what im doing here I'll show you the code then I'll explain what the problem is
<?php
@extract($_POST);
include("**********");
$raquote = urldecode($raquote);
$rawho = urldecode($rawho);
$radate = date("M/j Y");
$thenum = '1';
$aquote = "INSERT INTO ******* (idra, raquote, rawho, radate, howmany) VALUES
('', '$raquote', '$rawho', '$radate', '$howmany')";
$qresult = mysql_query($aquote)
or die ("The random quote wont go in");
?><?PHP
$resultf = mysql_query("SELECT * FROM ******");
while($row = mysql_fetch_array($resultf))
My old puter crashed and it had all my code and I've not touched this stuff in 9 months or so, I'm slowly picking it back up but I perfer to do things the way I learned origonally
Lets say I simply have a form
The Quote For The Top Of The Web Site <BR><BR> <form method="post" action="topquotep.php"> <BR><BR> First Name: <input size="20" type="text" name="thequote" value="<?PHP echo $quotetx1; ?>" /> <BR><BR> <input type="submit" /> <input type="reset" /> </form>