Greenguy's Board


Go Back   Greenguy's Board > Chit Chat
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2007-01-23, 11:47 AM   #1
RedCherry
Of all the things I've lost, I miss my mind the most.
 
RedCherry's Avatar
 
Join Date: Apr 2004
Location: Middle of the Desert, Pahrump, NV
Posts: 3,187
Send a message via ICQ to RedCherry
Good Morning All

Feeling MUCH better today after a full nights sleep and antibiotics to help calm the infection on my neck. The dr. also drained out some of the puss (YUCCH) so it doesn't feel like my neck is going to explode anymore. It is amazing what a difference 24 hours can make.

Today I'm doing more work on theredcherry.com dividing up categories, moving sites around.

All you php geeks, since I work in my admin, is there a way to change things using a wildcard? I tried doing something like these examples:

Code:
update dl_sites set category='73' where category='17' AND elements='1=0,2=%,3=0'  
update dl_sites set category='73' where title='%keyword%'
but it doesn't work. Also how do you use the term LIKE instead of the equal sign? Someday, I need to take classes in sql and php. I hate having to edit the suckers 30 at a time, that gets old when I could batch edit much faster.
RedCherry is offline   Reply With Quote
Old 2007-01-23, 12:00 PM   #2
docholly
Nothing funnier than the ridiculous faces you people make mid-coitus
 
docholly's Avatar
 
Join Date: Aug 2003
Location: Sin-City USA
Posts: 4,973
Send a message via ICQ to docholly Send a message via Yahoo to docholly
Quote:
Originally Posted by RedCherry View Post
Good Morning All

The dr. also drained out some of the puss (YUCCH) so it doesn't feel like my neck is going to explode anymore. It is amazing what a difference 24 hours can make.
maybe one of the topic on the radio show could be a comparative study of boils on adult webmasters using Jim's & yours as examples.
__________________
Support Indie Porn Sites

OMGoddess
You know you need some Bling!!
docholly is offline   Reply With Quote
Old 2007-01-23, 12:14 PM   #3
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,932
Quote:
Originally Posted by RedCherry View Post
Good Morning All

Feeling MUCH better today after a full nights sleep and antibiotics to help calm the infection on my neck. The dr. also drained out some of the puss (YUCCH) so it doesn't feel like my neck is going to explode anymore. It is amazing what a difference 24 hours can make.

Today I'm doing more work on theredcherry.com dividing up categories, moving sites around.

All you php geeks, since I work in my admin, is there a way to change things using a wildcard? I tried doing something like these examples:

Code:
update dl_sites set category='73' where category='17' AND elements='1=0,2=%,3=0'  
update dl_sites set category='73' where title='%keyword%'
but it doesn't work. Also how do you use the term LIKE instead of the equal sign? Someday, I need to take classes in sql and php. I hate having to edit the suckers 30 at a time, that gets old when I could batch edit much faster.
Try
Code:
update dl_sites set category='73' where title LIKE '%keyword%'
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Old 2007-01-23, 12:29 PM   #4
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
Quote:
Originally Posted by RedCherry View Post
Code:
update dl_sites set category='73' where category='17' AND elements='1=0,2=%,3=0'  
update dl_sites set category='73' where title='%keyword%'
Code:
update dl_sites set category='73' where category='17' and elements in (1,2,3);

update dl_sites set category='73' where title like '%keyword%';
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:31 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc