Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Table name containing an hyphen

phpMyEdit General     Table name containing an hyphen
Post new topic   Reply to topic    
 
PatRaf     Joined: 26 Oct 2008   Posts: 2  
Post Posted: 2008-10-26 21:07
Back to top  Reply with quote     

In phpMyEdit 1.211, function do_add_record, the line near 2688 with

$query_newrec = $query_oldrec.' FROM ' . $this->tb;

should be modified to:

$query_newrec = $query_oldrec.' FROM ' . $this->sd.$this->tb.$this->ed;

or else there is an SQL syntax error when using table names containing an hyphen (such as Table-name).

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy