important: you must have a backup of the database with deleted topic. if not, you might as well skip this post. instruction here is based on smf v1.1.x and uses phpmyadmin. it's a free browser based mysql administration tool. but if you're a mysql expe… more »
to select distinct column values from a table, there are a few things to note to make sure only distinct rows are returned.
in /path/to/lib/model/doctrine/SomeTable.class.php:
public function getDistinctValue() {
$q = Doctrine_Query()::create()… more »
to copy value from a column in table a to a column in table b, the syntax is straight forward:insert into new_table (new_column)select old_column from old_table but when new_column is varchar and old_column is integer, you will get an error.… more »
notes and references on web development and various things.
disclaimers
this site does not guarantee accuracy of information provided. codes are provided as is and are free to to use. use at your own risk. limited or no support will be provided.
under no circumstances shall this site be responsible or liable for any damages or consequences as a result of direct or indirect usage of any information provided.