Tuesday, January 15, 2013

PHP and MySQL

MYSQL
-----------
find and replace string
- UPDATE table_name SET column = replace(column, 'string to find', 'string to replace');


PHP
-----
basename() - get the file name including extension from path
dirname() - get the path from full bath
strrch(param, param); - find the string after sepecify string (example dot)

No comments:

Post a Comment