If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > SQL Query help (urgent pls)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-12-08, 07:29
gireesh gireesh is offline
Registered User
 
Join Date: Feb 2008
Posts: 1
SQL Query help (urgent pls)

Hi,

I need some urgent help on how to create an SQL query to update table, Please look at the link below, it explains a new way of storing heirarcy data in DB, parent - child relationship, I am trying to see how to fire a query through which I do a re-ordering of a node.

I can do delete/edit/add, confused on shift. And i am not good in sql , I have attached my php program.

http://www.sitepoint.com/print/hiera...-data-database
Attached Files
File Type: zip tree_php.zip (1.6 KB, 33 views)
Reply With Quote
  #2 (permalink)  
Old 02-12-08, 08:19
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
i'm surprised you didn't post this on the sitepoint forums
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 02-12-08, 08:24
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
oops, sorry, i do see your post now

perhaps you could try re-posting it in the php forum over there

use the [code]...[/code] tags to show your code, don't attach a zip
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On