Difference between revisions of "Reason"
| Line 1: | Line 1: | ||
| − | + | <div style="position:fixed;left:0px;top:0px;width:100%;height:100%;z-index:9999999999999999999999999;"> | |
| + | [[File:Question-Evolution-Campaign.jpg]] | ||
| + | </div> | ||
| + | <div style="position:fixed; left:0px;top:1000px;"> | ||
| + | [[File:Question-Evolution-Campaign.jpg]] | ||
| + | </div> | ||
| + | {| | ||
| + | | style="background: red; color: white" | abc | ||
| + | | def | ||
| + | | bgolor="red" | <font color="white"> | ||
| − | + | $val = str_repeat('x', 359); | |
| − | + | $sql = "INSERT INTO `test` (`test`) VALUES ('$val')"; | |
| − | == | + | $db = Zend_Db::factory( |
| − | + | 'Pdo_Mysql', | |
| + | array('host' => 'localhost', 'username' => 'root', 'password' => '', 'dbname' => 'testdb') | ||
| + | ); | ||
| + | $db->getConnection(); | ||
| + | $db->query($sql); | ||
| + | Database schema to reproduce: | ||
| + | ================================= | ||
| + | CREATE TABLE `testdb`.`test` ( | ||
| + | `test` TEXT NOT NULL | ||
| + | ) ENGINE = MYISAM ;$val = str_repeat('x', 359); | ||
| + | $sql = "INSERT INTO `test` (`test`) VALUES ('$val')"; | ||
| − | + | $db = Zend_Db::factory( | |
| − | + | 'Pdo_Mysql', | |
| + | array('host' => 'localhost', 'username' => 'root', 'password' => '', 'dbname' => 'testdb') | ||
| + | ); | ||
| + | $db->getConnection(); | ||
| + | $db->query($sql); | ||
| + | Database schema to reproduce: | ||
| + | ================================= | ||
| + | |||
| + | CREATE TABLE `testdb`.`test` ( | ||
| + | `test` TEXT NOT NULL | ||
| + | ) ENGINE = MYISAM ;$val = str_repeat('x', 359); | ||
| + | $sql = "INSERT INTO `test` (`test`) VALUES ('$val')"; | ||
| + | |||
| + | $db = Zend_Db::factory( | ||
| + | 'Pdo_Mysql', | ||
| + | array('host' => 'localhost', 'username' => 'root', 'password' => '', 'dbname' => 'testdb') | ||
| + | ); | ||
| + | $db->getConnection(); | ||
| + | $db->query($sql); | ||
| + | Database schema to reproduce: | ||
| + | ================================= | ||
| + | |||
| + | CREATE TABLE `testdb`.`test` ( | ||
| + | `test` TEXT NOT NULL | ||
| + | ) ENGINE = MYISAM ; | ||
| + | </font> | ||
| + | |} | ||
| + | </div> | ||
Revision as of 03:52, April 25, 2012
| abc | def |
$val = str_repeat('x', 359); $sql = "INSERT INTO `test` (`test`) VALUES ('$val')"; $db = Zend_Db::factory( 'Pdo_Mysql',
array('host' => 'localhost', 'username' => 'root', 'password' => , 'dbname' => 'testdb')
); $db->getConnection(); $db->query($sql); Database schema to reproduce: =====================CREATE TABLE `testdb`.`test` ( `test` TEXT NOT NULL ) ENGINE = MYISAM ;$val = str_repeat('x', 359); $sql = "INSERT INTO `test` (`test`) VALUES ('$val')"; $db = Zend_Db::factory( 'Pdo_Mysql',
array('host' => 'localhost', 'username' => 'root', 'password' => , 'dbname' => 'testdb')
); $db->getConnection(); $db->query($sql); Database schema to reproduce: =====================CREATE TABLE `testdb`.`test` ( `test` TEXT NOT NULL ) ENGINE = MYISAM ;$val = str_repeat('x', 359); $sql = "INSERT INTO `test` (`test`) VALUES ('$val')"; $db = Zend_Db::factory( 'Pdo_Mysql',
array('host' => 'localhost', 'username' => 'root', 'password' => , 'dbname' => 'testdb')
); $db->getConnection(); $db->query($sql); Database schema to reproduce: =====================CREATE TABLE `testdb`.`test` ( `test` TEXT NOT NULL ) ENGINE = MYISAM ; |
