Jump to content

How to set up db manually


DWTBC

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/274015-how-to-set-up-db-manually/
Share on other sites

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.