Re: [PHP-DB] PDO user question

2012-09-09 Thread brandon
That's how I'd do it. Extend the PDO interface on your abstract class to include a num_rows() method that utilizes that higher level count($this-result). It might be a little more overhead... but RAM is cheap... and there's always forking/extending the library in C/C++... -Brandon On 2012-09

[PHP-DB] Sqlite inserts inside a PDO fetch loop

2010-05-28 Thread Brandon
Hello, I have a situation where I am trying to create an index of words contained in a particular table. The table is about 9,400 rows, and the index ends up being 1,500,000 words (rows). While creating the index, I do a select of the table, and extract the words. I cache these word

Re: [PHP-DB] pg_prepare()/pg_execute() and pg_query_params()

2009-05-27 Thread Brandon Metcalf
in the connection string and two, I wasn't properly passing the error message back to top level application, so I wasn't seeing the error from pg_connect(). Stupid mistake. -- Brandon -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] pg_prepare()/pg_execute() and pg_query_params()

2009-05-26 Thread Brandon Metcalf
and PostgreSQL 8.3.6. What am I missing? -- Brandon -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] pg_prepare()/pg_execute() and pg_query_params()

2009-05-26 Thread Brandon Metcalf
pg_query_params() isn't passing anything to the postgres server. -- Brandon -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Help With Inventory Listings

2007-01-20 Thread Brandon Bearden
Can anyone help me figure out how to solve my inventory listing problem? I am using php_5 and mysql_5.0 w/apache on fbsd. I need to figure out a way to make a subtitle for every category (genre) in the inventory so when I list the entire inventory on a sheet (at client's request), it is

[PHP-DB] Insert Newbie

2002-09-22 Thread Brandon Boyce
Below is the code I used to try to insert info into a mysql database, the form posts to itself. After I hit the submit button it isn't echoing the indication that information has been added, and when I check the database there isn't anything there. help please! ? $usr = username; $pwd =

[PHP-DB] Date of Birth From Form

2002-04-19 Thread Brandon Paul
into the database properly (-mm-dd). Is there a way to do it this way, or am I going about it wrong? Any help would be greatly appreciated. Thanks! Brandon -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Upload Multiple Images

2002-04-11 Thread Brandon Paul
having to type each one in and submit it? Your help would be very much appreciated! Thanks, Brandon Paul -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] members page

2001-02-19 Thread Brandon Feldhahn
im making a webdesign website that has a members login, do i have to make a member page for each member or can i get the info from the database of the person whom logged in and put it on the members page -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP-DB] search Engine

2001-02-18 Thread Brandon Feldhahn
Can some one tell me how i would make a search engine, like what talbes and how many fields and what the form should look like -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list