Jump to content

Please Help!!


efc_90

Recommended Posts

Hey guys,

Firstly I apologise if this is the wrong area to post this message as its both mysql and php related.

 

I've been set a task involving two basic tables, one called 'Intranet' and one called 'Bank'. It involves a process where the user of the 'intranet' uploads their taking of cash each day. The Bank table also has an amount attribute.

 

If some of the records in both tables to not match, i.e. if the amounts are different for specific records, I need to somehow show this.

 

I'm incredibly stressed; my issue is I have to get this done before tuesday to give myself any chance of a work placement.

 

These are the tables and fields that he says I should be using: ( I haven't made these myself, this has been given to me)

 

Intranet Table

ID (PK), auto increment

Store

Date

Amount

Match

MatchType

 

Bank Table

ID Auto Increment

Date

Amount

Match

Matchtype

 

As you've probably guessed, I need to display populated data in the tables (which is done). What I am incredibly confused about is how exactly the two parts of data match up. He's told me to use Match and Matchtype, but to be completely honest I don't even know where to start.

 

If it's any help he says that 'Match' should be an integer along with ID, as Match is being used to collect the data from the Bank table. The 'Matchtype' is either Automatic or Manual, and I believe 'Match' is either simply a yes or a no.

 

I can understand if some of you say 'google', but I really don't  have a CLUE where to start. My knowledge of php and mysql is very very basic, however even though I've told him this he believes I can do this quite easily!

 

If anyone can give me some kind of starting point or reference, I would be incredibly grateful.

 

I also upload a php file of how I believe this may work, again I would  be grateful if anyone could give me any pointers as to where im going wrong. :(

 

Thank you

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.