DWTBC Posted February 4, 2013 Share Posted February 4, 2013 Hello, I have founde this tutorial: http://www.hdeya.com/blog/2009/05/sorting-items-on-the-fly-ajax-using-jquery-ui-sortable-php-mysql/comment-page-1/#comment-865 I tried to do it, but I can't get the setup of my database to work as you can see here: http://www.danieldoktor.dk/jQuery%20UI%20Sortable%2C%20PHP%20%26%20MySQL/menu_list.php My domain is hosted by www.one.com, so I know it is possible, and I have installed wordpress on my server too. Can someone help Daniel Quote Link to comment https://forums.phpfreaks.com/topic/274015-how-to-set-up-db-manually/ Share on other sites More sharing options...
Christian F. Posted February 4, 2013 Share Posted February 4, 2013 That tutorial is just under 4 years old, and as such quite outdated. You really aught to find something at least a bit more up to date, preferably less than 2 years old. The jQuery UI manual holds some examples of you the JS bit is done, as for the PHP bit the PHP manual is a good source. Note that you should be using MySQLI or PDO, not the old MySQL library. That one is on its way out, as it's not been maintained for quite a while. To learn how to properly debug your SQL problems, I recommend this thread/post: http://forums.phpfreaks.com/index.php?topic=365029.msg1730174#msg1730174 Quote Link to comment https://forums.phpfreaks.com/topic/274015-how-to-set-up-db-manually/#findComment-1410041 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.