omerniah Posted October 21, 2009 Share Posted October 21, 2009 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 any idea can be appreciate it . regards Link to comment https://forums.phpfreaks.com/topic/178434-how-to-validate-data-against-a-database/ Share on other sites More sharing options...
trq Posted October 21, 2009 Share Posted October 21, 2009 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. Link to comment https://forums.phpfreaks.com/topic/178434-how-to-validate-data-against-a-database/#findComment-941041 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.