home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

PHP, Mysql and Dreamweaver CS3

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2678
Discussions: 200,966, Posts: 2,379,635, Members: 246,332
Old February 19th, 2008, 10:10 AM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Feb 2008
Posts: 1
Unhappy
PHP, Mysql and Dreamweaver CS3

Hi,

I am having some trouble; I have four tables in my database:

Project (project_id, title)
Staff (Staff_id, Name)
Access (Access_id, Access Level)
PSA (Project, Staff, Access) - (PSA_id, Project_id, Staff_id, Access_id)

I have created a form using Dreamweaver and I am able to create a connection with the database etc the only problem I am having is inserting a record. There are two tables which need to be updated when the form is submitted - project and psa.

The project table is simple, all that needs to be updated is the title of the project. The issue occurs with the PSA table as this may have 1 record added or up to 20 as there can be different amount of users on each project.

Also the project_id needs to be input in to the PSA table, the problem is that I have set it to autoincrement so there is no field displaying the project_id for the PSA table to pick up. A typical input might be:

project title - testing (id-3)

username - Pam (id-2) Access Level - Tester(id-4)
username - john (id-3) Access Level - Developer (id-5)

so I need the title 'testing' to go in to the project table, two records need to go in to the PSA table:

project id - 3, staff_id - 2, access_id - 4
project id - 3, staff_id - 3, access_id - 5

Any help would be great,

Pam
pam_w is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
ranking in php mysql, please help unwanted Webmastering and Programming 18 July 10th, 2007 11:10 PM
Help me with php, and mySQL EXreaction Webmastering and Programming 6 February 13th, 2006 01:00 AM
Dreamweaver/PHP/MySQL Help paulknapp Webmastering and Programming 1 June 20th, 2004 02:26 PM
DreamWeaver & PHP help Tazzin Webmastering and Programming 9 May 25th, 2004 02:11 AM
Script Help with MySQL and PHP voogru Webmastering and Programming 5 March 13th, 2002 08:21 AM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3012)
Forty-six years ago today (7)
Laptop with wireless problem. (12)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
Internet Lost (5)
windows 7 problem (7)
windows vista security holes (15)
Point and Shoot Camera Suggestions. (6)
Is the PSU I received dead? (13)
radeon x850xt platinum & shader.. (6)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Recent Discussions
windows vista security holes (15)
Help getting around port 80 for camer.. (4)
Laptop with wireless problem. (12)
Open With ..... Win7 (2)
Internet Lost (5)
Skillsoft Network+ Study Software Que.. (9)
virus blocking exe. files (1)
Point and Shoot Camera Suggestions. (6)
CPU fan stops spinning randomly (11)
Nvidia GTX 260 problem (1)
Modern Warfare 2: Who Bought It? (65)
Is the PSU I received dead? (13)
Print spooler problem (16)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
webcam (0)
upgrade for hp a6101 (0)
tv not turn on-makes clicking sound (2)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
Ideal cheap graph card for PC-Gaming? (18)


All times are GMT -4. The time now is 02:33 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28