Creating form for many-to-many relationship

Thread Solved

Join Date: Aug 2007
Posts: 199
Reputation: tanha is an unknown quantity at this point 
Solved Threads: 0
tanha tanha is offline Offline
Junior Poster

Re: Creating form for many-to-many relationship

 
0
  #11
Jun 19th, 2009
any idea ...
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 68
Reputation: djjjozsi is an unknown quantity at this point 
Solved Threads: 10
djjjozsi djjjozsi is offline Offline
Junior Poster in Training

Re: Creating form for many-to-many relationship

 
0
  #12
Jun 19th, 2009
In the first watch:
Table 'XXXX.tbl_category' doesn't exist comes when you run the program?
in the dump there is no tbl_category table...


Originally Posted by tanha View Post
any idea ...
If you found another piece of code, and you don't know how to add the refresh feature, i suggest that open a new thread for it to ask.

I know the prototype is better then my suggestion, but at least mine is working, i use it evry day If you know what you're doing, one dropdown menu/table for it can build in 3 minutes.

There is a video on that page.

good luck.
Last edited by djjjozsi; Jun 19th, 2009 at 3:33 am.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 68
Reputation: djjjozsi is an unknown quantity at this point 
Solved Threads: 10
djjjozsi djjjozsi is offline Offline
Junior Poster in Training

Re: Creating form for many-to-many relationship

 
0
  #13
Jun 19th, 2009
lets see this, i saw you code, and found that you did not used the prototype ajax refresh at all when you build the two select box.

If new entry added, you then couldn't able to refresh the select box.

lets see this, and its suggested to place the ajax processes in one .php file.

don't forget to use the mysql_real_escape_string()

http://phpcode.hu/dl/?f=1030
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 199
Reputation: tanha is an unknown quantity at this point 
Solved Threads: 0
tanha tanha is offline Offline
Junior Poster

Re: Creating form for many-to-many relationship

 
0
  #14
Jun 21st, 2009
Thanks much for the code,

I will go through the code, and will post the result ...
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 199
Reputation: tanha is an unknown quantity at this point 
Solved Threads: 0
tanha tanha is offline Offline
Junior Poster

Re: Creating form for many-to-many relationship

 
0
  #15
Jun 24th, 2009
yeah it is working as a charm.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 199
Reputation: tanha is an unknown quantity at this point 
Solved Threads: 0
tanha tanha is offline Offline
Junior Poster

Re: Creating form for many-to-many relationship

 
0
  #16
Jul 30th, 2009
can i do the same thing with jQuery? I tried my best and I did open a separate thread for almost 4 days, but still i dont have the clue.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC