![]() |
I'm sorry, it's late at night. This one will work, I promise :D
Code:
$productid = func_query_first("SELECT productid from $sql_tbl[products] WHERE 1 ORDER BY productid DESC LIMIT 1"); |
:D This time I've got this message :
"If the page is not updated in a 5 seconds, please follow this link: continue >> INVALID SQL: 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 'WHERE 1 ORDER BY productid DESC LIMIT 1' at line 1 SQL QUERY FAILURE: SELECT productid from WHERE 1 ORDER BY productid DESC LIMIT 1 If the page is not updated in a 5 seconds, please follow this link: continue >>" (sorry to bother you Jon :oops: ) This is the code : Code:
define('OFFERS_DONT_SHOW_NEW',1); |
Don't change this code:
Code:
$sql_tbl[products] |
Everything works great now ! Thank you Jon ! :D
Ah damned, there is a mistake on the top of the home.php page. I can read "If the page is not updated in a 5 seconds, please follow this link: continue >>" 8O |
I've tested my exact code on 4.0.x and it should not cause the problem, there must be something else going on, sorry you're on your own from here.
|
No problem Jon, I will try to see if I can do something about that. Thank you again for help :D
|
All times are GMT -8. The time now is 11:51 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.