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

[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

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

2009-05-27 Thread Brandon Metcalf
to pg_connect(). My problem was twofold. One, I had a typo 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:

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

2009-05-26 Thread Brandon Metcalf
ll' in postgresql.conf, nothing is dumped to the logs. This tells me 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] pg_prepare()/pg_execute() and pg_query_params()

2009-05-26 Thread Brandon Metcalf
PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies 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

[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 organized

[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! Insert Link Add Link

[PHP-DB] Date of Birth From Form

2002-04-19 Thread Brandon Paul
m/dd/" and have it go 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] No same username

2001-02-25 Thread Brandon Feldhahn
how do i make somthing with my database that knows it the username entered is already a name in use? -- 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 administrators, e-mail: [EMAIL

[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 PROTECTED

[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 admi

[PHP-DB] using ID

2001-02-05 Thread Brandon Feldhahn
When i make a table with four field (id, name, username, and password) what do i do with the i id, how do i make it assign to each password? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact