Jump to content

How to validate data against a DATABASE?


omerniah

Recommended Posts

Hello all,

 

Here I put scenario:

 

I have two table and each table have two field in common which I need to validate against the database i.e:

 

startEnd

10012000

20013000

 

these two filed located in both table and in #1 table the admin allocate that number and from #2 table  I have to check the database against the my table that how much number I am allocated for example if I am allocated 1000-2000 numbers then I should not be able to allocated more than that to the #3 table.

 

I don't know how to do that  :confused: any idea can be appreciate it :D.

 

regards

 

Link to comment
https://forums.phpfreaks.com/topic/178434-how-to-validate-data-against-a-database/
Share on other sites

these two filed located in both table and in #1 table the admin allocate that number and from #2 table  I have to check the database against the my table that how much number I am allocated for example if I am allocated 1000-2000 numbers then I should not be able to allocated more than that to the #3 table.

 

Sorry, but that sentence makes no sense at all.

Archived

This topic is now archived and is closed to further replies.

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