[PHP-DB] Re: php-db Digest 13 Feb 2015 05:03:55 -0000 Issue 5067

2015-02-13 Thread Geoffrey Pitman
...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

[PHP-DB] RE: 47951 by: Chris Stinemetz

2011-08-06 Thread Geoffrey Pitman
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.

[PHP-DB] RE: SELECT WHERE length of content question

2011-03-11 Thread Geoffrey Pitman
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.