Archive for November, 2006
Top 10 SQL Performance Tips 2
Another tip :
“Don’t use DISTINCT when you have or could use GROUP BY”
I prefer to use GROUP BY than DISTINCT since I can retrieve more field.
SELECT DISTINCT town_name from city;
SELECT town_id, town_zip, town_name from city group by town_name;
the result also not quite accurate using DISTINCT, I still have duplicate data.
Keep learn, get new stuff [...]
Top 10 SQL Performance Tips I
Today Google show me interesting link :
Top 10 SQL Performance Tips - MySQL Forge
Right now it’s consist of 84 tips, I can understand some of them but many I don’t know what it means
one of them :
“partition your database when you have real data”
Hmm, I’m totally agree
I have to mysql server that serve almost [...]
PHP Ternary Operator
PHP ternary operator isn’t beautiful for reading reason
It’s also make confuse, but for the sake of simple it’s OK
Syntax :
( expr1 ) ? ( expr2 ) : (expr3)
If expr1 return true, then it evaluates to ( expr2 )If expr1 return false, then it evaluates to ( expr3 )
it’s similar to if..else
if(true) {
code 1
}
else [...]
Recover Your Joomla Administrator Password
Joomla is very popular CMS, it’s easy to setup and require only working php and mysql installation.
A problem may arise when your administrator password lost or forgot.
Can I recover my admin password or create a new one ?
It’s common question in "Setting your own Content Management System" workshop.
Use php md5() function !
Here’s the steps [...]
- Top Forum Posters Required by ahmansoor
- Project for Edmund by DorisC
- Nonpublic project #328415 by slipp
- Oscommerce small CCGV +Affiliate fix by fullecommerce1
- Banners design for a website, splash page presentation and sell page design by bullco
- Project for BeiManiago #2 by uchoa55
- Nonpublic project #328412 by bunnyg
- Number of small changes to 2 websites - pls read details by sanet
- Need quick fix for OSC site by flyhead64
- Project For "creator115". by sunconsultancy1

