Adobe Dreamweaver Forums



Last 10 THreads :         Unable to create SWC in Flash CS4 (Last Post : nrajbhan - Replies : 1 - Views : 2 )           »          Flash CS4 External Lirbrary (Last Post : nrajbhan - Replies : 1 - Views : 2 )           »          Opening different Flash Galleries with differentlinks... (Last Post : Nancy O - Replies : 8 - Views : 9 )           »          Favicon for context-sensitive Help (WebHelp) (Last Post : LuckyClover - Replies : 5 - Views : 6 )           »          Re: Help authenticating installer (Last Post : scarletnew - Replies : 2 - Views : 5 )           »          unlinking shared assets (Last Post : dmodie - Replies : 0 - Views : 1 )           »          Spry Accordion Panel Default State All Closed? (Last Post : Steven_K - Replies : 2 - Views : 3 )           »          Re: export image in D11 (Last Post : Applied CD - Replies : 0 - Views : 1 )           »          Re: Adobe Capture?? (Last Post : CatBandit - Replies : 0 - Views : 1 )           »          catching errors from remotely invoked processes (Last Post : Cr99 - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver Application Development
 
Tags: ,



Reply
  #1 (permalink)  
Old 08-28-2008, 11:33 AM
james1892
 
Posts: n/a
Diggs:
Default How to make this work in php

Hello,
I am fairly new to php and am having problems working out the best way to go
about doing what i want to do.

I want users of my system to be able to choose from a selection of images
which they have earlier uploaded. I am using a system where the picture show is
the one with the number 1 in the `use` colum of a mysql database, only i dont
know how to make it so a user can change that number.

Any help will be greatly appreicated weather that is how to get the above to
work , or ideas of a different system i could use to have the same effect,
thank you,
James



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-30-2008, 04:32 AM
saviornt
 
Posts: n/a
Diggs:
Default Re: How to make this work in php

From the problem you're describing, I would set it up like this:

Db1_Table 1 (tbl_Images)

Columns
1) id
2) image_location

Db1_Table 2 (tbl_UserPrefs)
1) id
2) user_name
etc...
x) image_location

So, in your user preferences, use a dynamic drop down. The values will come
from Db1_Table 1.

When the user submits the changes to his preferences, the value from the
dynamic drop down will go into Db1_Table 2.

You'll need to have 2 Recordsets for this to work, of course.

Reply With Quote
  #3 (permalink)  
Old 09-01-2008, 12:11 AM
james1892
 
Posts: n/a
Diggs:
Default Re: How to make this work in php

thanks done ,cheers
Reply With Quote


Reply


Thread Tools
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

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



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 06:56 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk