Artenis Posted May 1, 2008 Report Share Posted May 1, 2008 (edited) Tātad problēma ir jocīga: Datubāzēs ir salikts, ka teksts no lapas administratora paneļa būs: TEXT nevis VARCHAR utt... Šāds izskatās form lauks: echo '<form action="?link=20" method="post"> <tr> <td> <textarea name="message" rows="80" cols="60">'.$interjers_ap.'</textarea><br> </td> </tr> <td> <input type="submit" name="submit" value="Apstiprināt"></td> </form>'; if(isset($_POST['submit'])){ mysql_query("UPDATE $tabula_3 SET interjers_ap_eng='$message' WHERE id=1"); } Nelielus tekstus ieraksts datubāzēs ļoti labi, taču kā lielāks tā pēc SUBMIT neliekas ne zinis un paliek datubāzē viss tas pats, kas bijis! :(... Varianti? Man nav... Edited May 1, 2008 by Artenis Link to comment Share on other sites More sharing options...
bubu Posted May 1, 2008 Report Share Posted May 1, 2008 Debugo. Link to comment Share on other sites More sharing options...
Artenis Posted May 2, 2008 Author Report Share Posted May 2, 2008 Lab, uztaisīju debugošanu un saņēmu ko šādu: Got error 139 from storage engine Kā tikt no tā vaļā, lai varētu normāli ievietot informāciju datubāzēs no tā forma? Link to comment Share on other sites More sharing options...
andrisp Posted May 2, 2008 Report Share Posted May 2, 2008 http://www.google.com/search?hl=en&q=G...+storage+engine Link to comment Share on other sites More sharing options...
Artenis Posted May 2, 2008 Author Report Share Posted May 2, 2008 (edited) Lab, it kā sapratu domu: The maximum size of data in the row is 8000 bytes Kā tad man to izlabot? Iepriekš paldies. Nomainīoju InnoDB uz MyISAM Engine un viss darbojas. Paldies tā pat. :) Edited May 2, 2008 by Artenis Link to comment Share on other sites More sharing options...
andrisp Posted May 2, 2008 Report Share Posted May 2, 2008 Nu vispār jau InnoDB TEXT tipam jābūt tādam pašam (ietilpības ziņā) kā MyISAM. Link to comment Share on other sites More sharing options...
Recommended Posts