wordpress
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wordpress [2009/08/07 06:23] – suapapa | wordpress [2013/08/03 05:04] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| mport MySQLdb | mport MySQLdb | ||
| - | db = MySQLdb.connect(db=' | + | db = MySQLdb.connect(db=' |
| c = db.cursor() | c = db.cursor() | ||
| c.execute(' | c.execute(' | ||
| Line 33: | Line 33: | ||
| db.commit() | db.commit() | ||
| - | |||
| - | |||
| - | </ | ||
| - | |||
| - | <code mysql> | ||
| - | mysql> desc wp_postmeta; | ||
| - | +------------+--------------+------+-----+---------+----------------+ | ||
| - | | Field | Type | Null | Key | Default | Extra | | ||
| - | +------------+--------------+------+-----+---------+----------------+ | ||
| - | | meta_id | ||
| - | | post_id | ||
| - | | meta_key | ||
| - | | meta_value | longtext | ||
| - | +------------+--------------+------+-----+---------+----------------+ | ||
| - | 4 rows in set (0.00 sec) | ||
| </ | </ | ||
wordpress.1249626226.txt.gz · Last modified: 2013/08/03 05:04 (external edit)