php-list@yahoogroups.com

2006-06-21 Thread K . LaVallee
Hi Wade, You do need empty() around each variable, as you can't use the boolean operators inside that function. However, I assume you want to return an error if any single value is empty, as opposed to only if they are all empty. In that case you want to use || instead of &&: if (empty($_POST['

Re: [php-list] Problems with PHP MYSql

2006-06-19 Thread K . LaVallee
Try placing mysql_error() in your die message. If you don't understand the error we can help you with that. Example: die("The error was: " . mysql_error() ); -- katy ~~+++~~+ no matter where you go, there you are +

Re: [php-list] Re: Query similar to ".. where column_name contains x"

2006-04-05 Thread K . LaVallee
I would suggest a reorganization of your database tables. The best way I know of to structure your items/subcategories/categories is to create 4 tables instead of 3. Your tables for 'categories' and 'subcategories' tables could stay the same. However you'd need to remove the CAT and SUB columns

Re: [php-list] which editor to use

2006-03-01 Thread K . LaVallee
It depends on how you like to work. For me, I needed syntax highlighting, integrated debugging, code folding or a code explorer window, a powerful search and replace, and side-by-side file comparison. I chose PSPad. It has: * excellent syntax highlighting * an integrated debugger, though I wish

Re: [php-list] Word Press Blog

2006-02-23 Thread K . LaVallee
it is commented out though... with /* */: /* #headerimg { background: url('http://xerraireart.com/blogx/wp-content/themes/default/images/personalheader.jpg') no-repeat top;} */ delete the /* and */. On 2/23/06, James Keeline <[EMAIL PROTECTED]> wrote: > > --- Pete <[EMA