World's Longest Thread
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
World's Longest Thread
Wow been messing with sql for a while... these left joins and stuff can get pretty complicated when querying over 3 tables at once. my 900 page php/mysql book has been decent help though!
Archived topic from Anythingforums, old topic ID:4, old post ID:43089
Archived topic from Anythingforums, old topic ID:4, old post ID:43089
Honk if you love Jesus, text if you want to meet Him!
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
World's Longest Thread
$hw=sbbs_query("DELETE ".$SBconf[dbprefix]."topics, ".$SBconf[dbprefix]."posts from ".$SBconf[dbprefix]."topics left join ".$SBconf[dbprefix]."posts ON ".$SBconf[dbprefix]."posts.pthreadid=".$SBconf[dbprefix]."topics.tid where ".$SBconf[dbprefix]."topics.tforumid='".$SBinfo[sect][f]."'");
Archived topic from Anythingforums, old topic ID:4, old post ID:43092
Archived topic from Anythingforums, old topic ID:4, old post ID:43092
Honk if you love Jesus, text if you want to meet Him!
World's Longest Thread
Yaaaay!
Archived topic from Anythingforums, old topic ID:4, old post ID:43093
Archived topic from Anythingforums, old topic ID:4, old post ID:43093
Never argue with an idiot. They will bring you down to their level and beat you with experience every time.
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
World's Longest Thread
Took me a while to understand what I was doing when I wrote out that query.
Basically it deletes every post that belongs to every topic that belongs to a specific forum id.
Archived topic from Anythingforums, old topic ID:4, old post ID:43094
Basically it deletes every post that belongs to every topic that belongs to a specific forum id.
Archived topic from Anythingforums, old topic ID:4, old post ID:43094
Honk if you love Jesus, text if you want to meet Him!
World's Longest Thread
I think is the code for no post on v bulitten.
Archived topic from Anythingforums, old topic ID:4, old post ID:43097
Archived topic from Anythingforums, old topic ID:4, old post ID:43097
World's Longest Thread
haha sweet, im gonna wear an afro to school tomorrow, for twin day, i found someone else with an afro! hahaha
Archived topic from Anythingforums, old topic ID:4, old post ID:43098
Archived topic from Anythingforums, old topic ID:4, old post ID:43098
"I don't have cat-like reflexes. Cats say they have Alex-like reflexes." - Alex
"I've never seen your ears. Do you even have ears?" - Robbie
"You threw away your friendship salami?!"
"My you're sexy when I'm drunk! And when im sober too!" - Gallagher
World's Longest Thread
I know it's at least a space in HTMLMr Smith wrote: &nsbp;
Archived topic from Anythingforums, old topic ID:4, old post ID:43099
Never argue with an idiot. They will bring you down to their level and beat you with experience every time.
World's Longest Thread
Monday, yuck.
Archived topic from Anythingforums, old topic ID:4, old post ID:43100
Archived topic from Anythingforums, old topic ID:4, old post ID:43100
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
World's Longest Thread
It's probably that you wanted.
Archived topic from Anythingforums, old topic ID:4, old post ID:43101
Archived topic from Anythingforums, old topic ID:4, old post ID:43101
Honk if you love Jesus, text if you want to meet Him!
World's Longest Thread
i feel somewhat ignored...
Archived topic from Anythingforums, old topic ID:4, old post ID:43102
Archived topic from Anythingforums, old topic ID:4, old post ID:43102
"I don't have cat-like reflexes. Cats say they have Alex-like reflexes." - Alex
"I've never seen your ears. Do you even have ears?" - Robbie
"You threw away your friendship salami?!"
"My you're sexy when I'm drunk! And when im sober too!" - Gallagher
World's Longest Thread
So what's happening over here?
Archived topic from Anythingforums, old topic ID:4, old post ID:43103
Archived topic from Anythingforums, old topic ID:4, old post ID:43103
"Never be game over"
World's Longest Thread
I'm back!
Archived topic from Anythingforums, old topic ID:4, old post ID:43106
Archived topic from Anythingforums, old topic ID:4, old post ID:43106
What do you MEAN my reality check just bounced?
My mind not only wanders, sometimes it leaves completely!
If you bow at all, bow low!
My mind not only wanders, sometimes it leaves completely!
If you bow at all, bow low!
World's Longest Thread
Welcome back!
Archived topic from Anythingforums, old topic ID:4, old post ID:43107
Archived topic from Anythingforums, old topic ID:4, old post ID:43107
World's Longest Thread
today was fun, wearing a giant afro to school got me alot of looks lol. a couple people were begging me to let them wear it and one of them tried to pay me a dollar to wear it, it was pretty funny, and people were laughing at me at walmart
Archived topic from Anythingforums, old topic ID:4, old post ID:43109
Archived topic from Anythingforums, old topic ID:4, old post ID:43109
"I don't have cat-like reflexes. Cats say they have Alex-like reflexes." - Alex
"I've never seen your ears. Do you even have ears?" - Robbie
"You threw away your friendship salami?!"
"My you're sexy when I'm drunk! And when im sober too!" - Gallagher
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
World's Longest Thread
Hahaha.
sounds like fun.
Archived topic from Anythingforums, old topic ID:4, old post ID:43112
sounds like fun.
Archived topic from Anythingforums, old topic ID:4, old post ID:43112
Honk if you love Jesus, text if you want to meet Him!
World's Longest Thread
i felt sorry for this little kid at walmart though, i think i scared him, my friend said he went crying to his mom
Archived topic from Anythingforums, old topic ID:4, old post ID:43114
Archived topic from Anythingforums, old topic ID:4, old post ID:43114
"I don't have cat-like reflexes. Cats say they have Alex-like reflexes." - Alex
"I've never seen your ears. Do you even have ears?" - Robbie
"You threw away your friendship salami?!"
"My you're sexy when I'm drunk! And when im sober too!" - Gallagher
World's Longest Thread
I am sorry I ignored you. But the 'fro thing was just kind of weird and. . . . . .just weird.Clueless wrote: i feel somewhat ignored...
Archived topic from Anythingforums, old topic ID:4, old post ID:43115
Never argue with an idiot. They will bring you down to their level and beat you with experience every time.
World's Longest Thread
Aww. Poor kid.Clueless wrote: i felt sorry for this little kid at walmart though, i think i scared him, my friend said he went crying to his mom
Archived topic from Anythingforums, old topic ID:4, old post ID:43116
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
World's Longest Thread
That's hilarious!Clueless wrote: i felt sorry for this little kid at walmart though, i think i scared him, my friend said he went crying to his mom
Archived topic from Anythingforums, old topic ID:4, old post ID:43117
Honk if you love Jesus, text if you want to meet Him!
World's Longest Thread
lol afros are awesome!!!!! everyone was touching my hair though, people even asked if it was really my hair.. crazy people
Archived topic from Anythingforums, old topic ID:4, old post ID:43118
Archived topic from Anythingforums, old topic ID:4, old post ID:43118
"I don't have cat-like reflexes. Cats say they have Alex-like reflexes." - Alex
"I've never seen your ears. Do you even have ears?" - Robbie
"You threw away your friendship salami?!"
"My you're sexy when I'm drunk! And when im sober too!" - Gallagher
World's Longest Thread
I love Gir.
Archived topic from Anythingforums, old topic ID:4, old post ID:43124
Never argue with an idiot. They will bring you down to their level and beat you with experience every time.
World's Longest Thread
haha girs awesome
Archived topic from Anythingforums, old topic ID:4, old post ID:43125
Archived topic from Anythingforums, old topic ID:4, old post ID:43125
"I don't have cat-like reflexes. Cats say they have Alex-like reflexes." - Alex
"I've never seen your ears. Do you even have ears?" - Robbie
"You threw away your friendship salami?!"
"My you're sexy when I'm drunk! And when im sober too!" - Gallagher
World's Longest Thread
My all time favorite cartoon character.
Archived topic from Anythingforums, old topic ID:4, old post ID:43126
Archived topic from Anythingforums, old topic ID:4, old post ID:43126
Never argue with an idiot. They will bring you down to their level and beat you with experience every time.