Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   Life Discussion (http://zelaron.com/forum/forumdisplay.php?f=322)
-   -   Minor Delights (http://zelaron.com/forum/showthread.php?t=43876)

Goodlookinguy 2008-07-22 10:12 AM

I wonder if my plan will work

Into database -->
Code:

$theText = addslashes($theText);
$TheQuery = mysql_query("INSERT INTO peoplesposts SET thetext = '$theText'");
if (!$TheQuery)
 echo "Disaster!"

<-- Comming from database
Code:

$TheQueryBack = mysql_query("SELECT * FROM peoplesposts ORDER BY peoplespostsID DESC")
while ($row = mysql_fetch_array($TheQueryBack) ) {
$theTEXT = $row["thetext];
$theID = $row["peoplespostsID"];
}
$theTEXT = stripslashes($theTEXT);
$theTEXT = htmlentities($theTEXT);


WetWired 2008-07-22 11:28 AM

You don't have to strip the slashes coming out of the database.

Goodlookinguy 2008-07-22 12:24 PM

Quote:

Originally Posted by WetWired (Post 644830)
You don't have to strip the slashes coming out of the database.

I wouldn't have to? I meant to try it, then I didn't. Now, I guess, I won't.

---

My code is completely finished and now I've put a few addons.

-Spector- 2008-07-22 01:34 PM

Minor Zing.

Vault Dweller 2008-07-24 11:22 PM

Slightly inibriated

-Spector- 2008-07-25 02:04 AM

Fucked up.

quikspy67 2008-07-25 02:50 AM

Ditto, and i finished the lawn yesturday so i wont have to do it for a while.

Lenny 2008-07-25 06:28 AM

Slow day at work, so we finished at lunch rather than mid-afternoon. :D

quikspy67 2008-07-25 07:18 AM

No work today.

Thanatos 2008-07-25 08:38 AM

My boss just got fired. Working here has finally paid off.

FUCK YOU, TONY. You got what was coming to you!! Hahahahahhaa

quikspy67 2008-07-25 08:48 AM

What happend how did he get fired, what did he do get fired and do you get his job?

Jessifer 2008-07-25 10:14 AM

After today I get two weeks vacation. w00t!

HandOfHeaven 2008-07-25 10:52 AM

Cake!

quikspy67 2008-07-26 03:27 AM

Lay's Salt & Vinegar.

Goodlookinguy 2008-07-26 08:28 AM

Mountains around where I live protect my city from all natural disasters, not including Earth Quakes. To be even more specific, there are only low level earth quakes where I live. Going down to be more specific, they're not even earth quakes, they're after shocks from earth quakes miles away.

Jessifer 2008-07-26 01:57 PM

Vacaaaaation!

Goodlookinguy 2008-07-26 05:37 PM

Testing new layouts. Oh, and they work in IE7/8, FF2/3, Safari 3, Opera 9.5, Netscape Navigator 9, and Flock (newest).

CSS display:block or display:inline-block are nice.

Jessifer 2008-07-27 01:32 PM

Was out partying with friends last night, and saw Wall-e today.

SO CUTE.


Aah, life is good.

Goodlookinguy 2008-07-29 01:57 PM

Making a configuration file for my BlupdateBoard (c) RC2 was genius.

And to think I was going to do it without it, eek! +200 lines to the index page :D~ +--<

-Spector- 2008-07-29 02:00 PM

Found my missing l00t!


wewt!


All times are GMT -6. The time now is 08:53 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.