To add Faceook Icon to right side of template page, edit the tpl_main_page.php located in includes/templates/template_default/common/ directory.
It can be added right below the following comments:
/**
* prepares and displays right column sideboxes
*
*/
alter table tablename add column id int auto_increment primary key;
php string function
ucwords();
copy(”originalfile.php”, “newfile.php”);
Posted Under:
PHP
This post was written by admin on January 25, 2010
Comments (0)
update cityfn set city = LOWER(city);
update tablename set column_name = replace(column_name, ‘find string to replace’, ‘replace with this string’);
Forr example, if you have asterisks in your data you want to delete:
update cities set city = replace(city, ‘*’, ”);
insert into oldtable select * from newtable;
create table newtable as
select * from oldtable where 1 group by [specific column];
“delete from tablename where columnname like ‘%text to match%’;
Make sure you know the text is contained in only the rows you want to delete otherwise MySQL may delete other database rows you didn’t want deleted