superthaix
Joined: 12 Sep 2007
Posts: 4
Location: USA
Posted: 2007-09-12 06:50
Back to top
Reply with quote
|
Hi everyone.
Cant seem to get off the ground.
Everything seems fine after generating the script.
But when I try to run the script I get:
MySQL error 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 15' at line 1
phpMyEdit error: invalid SQL query
SELECT `PMEtable0`.`customer_number` AS `qf0`,`PMEtable0`.`customer_name` AS `qf1`,`PMEtable0`.`customer_address` AS `qf2`,`PMEtable0`.`customer_state` AS `qf3`,`PMEtable0`.`customer_zip` AS `qf4`,`PMEtable0`.`customer_email` AS `qf5` FROM `customer_info` AS `PMEtable0` ORDER BY `PMEtable0`.`customer_address`,`PMEtable0`.`customer_name`,`PMEtable0`.`customer_email`,`PMEtable0`.`customer_zip`,`PMEtable0`.`customer_number` LIMIT LIMIT 0, 1512.722 miliseconds
Customer name Customer address Customer state Customer zip Customer email
I think there is a problem at the end of the line.
Is "Limit Limit" correct?
I have not made any modifications to any of the code. Runing PHP5 and MySQL 5.0.0.
Any help greatly appreciated.
Thanks
Brent
|
blubadger
Joined: 12 Sep 2007
Posts: 1
Posted: 2007-09-12 16:12
Back to top
Reply with quote
|
Hi. I got the same error.
Seems to be a simple bug in the script (which must have just been changed coz my previous version worked).
Search for the first occurrence of "LIMIT" in phpMyEdit.class.php. Change the line:
return ' LIMIT '.$start.', '.$more.' ';
to:
return $start.', '.$more.' ';
Does the job. Can't guarantee it won't break anything later, but it looks safe.
|
superthaix
Joined: 12 Sep 2007
Posts: 4
Location: USA
Posted: 2007-09-12 19:19
Back to top
Reply with quote
|
It worked!
I did exactly as you said and it works perfect now.
Hopefully if anyone else comes across the same problem they will find this post.
Thanks a lot for your help.
Sincerely
Brent
| blubadger wrote: |
Hi. I got the same error.
Seems to be a simple bug in the script (which must have just been changed coz my previous version worked).
Search for the first occurrence of "LIMIT" in phpMyEdit.class.php. Change the line:
return ' LIMIT '.$start.', '.$more.' ';
to:
return $start.', '.$more.' ';
Does the job. Can't guarantee it won't break anything later, but it looks safe. |
|
zucarino
Joined: 29 Dec 2005
Posts: 44
Location: Rio de Janeiro - Brazil
Posted: 2007-09-12 19:55
Back to top
Reply with quote
|
Or get the lastest CVS version (1.203 now) at:
http://opensource.platon.sk/cvs/cvs.php/phpMyEdit/phpMyEdit.class.php
Best regards!
_________________ ---
Victor Zucarino
vffzbr at yahoo dot com dot br
|
Sjoske
Joined: 25 Jan 2008
Posts: 1
Posted: 2008-01-25 21:42
Back to top
Reply with quote
|
Ran into the same problem. Seems indeed fixed.
Now I want to change a field in a table containing a hyperlink. It fails on an error in the SQL syntax. Probably caused by double quotes or angle brackets.
Is there a solution for this?
|
waleed121
Joined: 14 Mar 2015
Posts: 1
Posted: 2015-03-14 06:28
Back to top
Reply with quote
|
Perhaps the developers would prefer to code it another way, but that worked for me, and that's all I have time to be concerned with.
________________
https://techmagzine.com/solar-movies/
Last edited by waleed121 on 2021-12-16 12:08, edited 1 time in total
|
byruduqyhi
Joined: 18 Nov 2020
Posts: 1
Posted: 2020-11-18 10:04
Back to top
Reply with quote
|
You need to learn about a Limit reduction in My SQL Language. If still you don’t find any resolution then
ukbestessays
can help out you resolve this through their books.
|
CynthiaAshley
Joined: 19 Apr 2020
Posts: 60
Posted: 2021-03-12 14:41
Back to top
Reply with quote
|
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking.
Mens Aviator Brown Shearling Leather Jacket
|
CynthiaAshley
Joined: 19 Apr 2020
Posts: 60
Posted: 2021-06-12 05:59
Back to top
Reply with quote
|
This is quite interesting. I am so glad that you have shared this amazing blog post. I will definitely share this informative blog with my friends and other social sites.
Quilted Shoulder Black Leather Jacket
|
akalaemmanuel
Joined: 28 Mar 2022
Posts: 30
Posted: 2022-03-28 11:19
Back to top
Reply with quote
|
Our Muck Boss is made up of the best experts related to Toto Site, and we guide you to the safe Toto Site that has passed the complicated and diverse process of verifying the Toto Site by experts.
Black Sails S3 Coat
|
miacharlotte
Joined: 01 Apr 2022
Posts: 1
Posted: 2022-04-01 07:08
Back to top
Reply with quote
|
A clicker counter is a mechanical, electronic, or software device used to incrementally count something, typically fleeting. One of the most common things tally counters are used for is counting people, animals, or things that are coming and going from some location.
https://www.clickcounter.info/
|
judyawalters8
Joined: 26 Jul 2022
Posts: 1
Posted: 2022-07-26 15:28
Back to top
Reply with quote
|
Thanks for sharing your precious time to create this post, it's so informative, and the content makes the post more interesting. really appreciated. https://www.jacketsjunction.com/product/the-gray-man-ryan-gosling-jacket/
|
kennethsburke
Joined: 01 Aug 2022
Posts: 6
Posted: 2022-08-01 08:30
Back to top
Reply with quote
|
Interesting post, thank you.
|
williamasw
Joined: 30 Oct 2022
Posts: 1
Posted: 2022-10-30 20:06
Back to top
Reply with quote
|
Audio visual system price
are important tools in many types of businesses and organizations. A company’s brand needs to be on display, and the best way to make that happen is through an audio visual system from ITC Audio Visuals. We have been providing audio visual services since 2001, and have earned the trust of thousands of customers in the process. Here’s what we can do for you, too!
|
brucewayne321
Joined: 16 Feb 2023
Posts: 2
Posted: 2023-02-16 08:42
Back to top
Reply with quote
|
Thank you for writing such a fantastic article. Your article is excellent. This website is very user-friendly. Thank you for sharing your thoughts. Please feel free to browse my website.<a href="https://brown-leatherjackets.com/blogs/news/choose-between-suede-and-nubuck-leather">Read more</a>
|
|
Post new topic
Reply to topic
Goto page 1, 2 Next
|