...so unfucking-secure that this should never see the light of day...
Do you have a pseudonym named Bastian Koert? :-)
On Feb 13, 2015 12:04 AM, php-db-digest-h...@lists.php.net wrote:
php-db Digest 13 Feb 2015 05:03:55 - Issue 5067
Topics (messages 48953 through 48953):
Re: Code
I hope this isn't condescending, but you have a foreign key constraint that
is failing. I would probably echo the output of $_POST['post_store'] to see
what value, if any, is being written. If the output seems proper, I'd check
your other table and make sure that the data exists in that table.
You should be able to use the MySQL command LENGTH() command. I'm assuming
that your fax field is a varchar or char(10) field. If it's a number (which
it probably shouldn't be), I suppose you could write a query to find values
equal to or greater than 100,000,000,000.