[PHP-DB] Noob error question

2002-10-06 Thread Noah Smith
will be unable to connect at all, and sometimes it is not able to connect randomly within the script: Thanks, Noah -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] PHP Confused: Using wrong Unix Socket

2004-04-08 Thread Noah Davis
what to do about this. Thanks for any help you can offer! Noah Using: PHP version 4.34. MySQL version 4.1.1 Apache 1.3

RE: [PHP-DB] PHP Confused: Using wrong Unix Socket

2004-04-09 Thread Noah Davis
April 2004 02:38, Noah Davis wrote: How can I get PHP to not get confused about which .sock file to use? php.ini Do I need to recompile PHP? No. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet

[PHP-DB] php crashes with msyql

2006-03-21 Thread Noah Silverman
Hello, I have a mission critical problem that I cant seem to solve. Can anyone help?? I'll even offer $100 paypal if someone gives me the answer to solve this issue. Thanks, -N -- The issue: when I load a php file in a browser that references mysql, it crashes the

Re: [PHP-DB] php crashes with msyql

2006-03-21 Thread Noah Silverman
is the pre-compiled one from mysql.com. I have used it on other servers and it works fine. I can provide an strace of the apache processing crashing if anyone is interested, Thanks On Mar 21, 2006, at 5:46 PM, Chris wrote: Noah Silverman wrote: Chris, Same problem Called from

[PHP-DB] php crashes with msyql

2006-03-21 Thread Noah Silverman
Hello, I have a mission critical problem that I cant seem to solve. Can anyone help?? I'll even offer $100 paypal if someone gives me the answer to solve this issue. Thanks, -N -- The issue: when I load a php file in a browser that references mysql, it crashes the

[PHP-DB] advantages/disads of primary keys and indices?

2001-06-22 Thread Noah Spitzer-Williams
what are the advantages and disadvantages of primary keys and indices? - Noah -- 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 PROTECTED]

Re: [PHP-DB] advantages/disads of primary keys and indices?

2001-06-23 Thread Noah Spitzer-Williams
ROTECTED]... Hello Noah, On 22-Jun-01 21:17:35, you wrote: what are the advantages and disadvantages of primary keys and indices? A primary key is a unique index. Use indexes for the fields that will be most looked up in the first condition of the WHERE clause of your SQL queries, especially

Re: [PHP-DB] advantages/disads of primary keys and indices?

2001-06-23 Thread Noah Spitzer-Williams
would be: select clicks from tbl where username='something' and siteid='something' and bannerid='something' so knowing this, does it make sense to make primary keys out of username,siteid,bannerid? Thanks! - Noah Manuel Lemos [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">new

[PHP-DB] most efficient weighting system? URGENT

2001-06-30 Thread Noah Spitzer-Williams
, id 4 50% (20/40), etc... what is the best way to do this? - Noah -- 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 PROTECTED]

Re: [PHP-DB] TO_DAYS() equivalent?

2001-07-11 Thread Noah Spitzer-Williams
check out the mktime() function David W. Banks [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is there some way to get the equivalent of select TO_DAYS(NOW()) out of PHP without querying MySQL (or whatever.) Some formatting character for the date() function

[PHP-DB] order by a count of another table

2001-10-05 Thread Noah Spitzer-Williams
hey guys, i want to show a list of rows from a table sorted by the count of another table. the first table has a username field and so does the other table. so i want to sort the first table by how many rows that has the username from the other table. so something like this although i

[PHP-DB] query to check valid emails

2001-11-27 Thread Noah Spitzer-Williams
addresses so like, select * from tbl where email like ??? Thanks! - Noah -- TradeMyTraffic! Banner Exchange http://www.trademytraffic.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP-DB] check two tables at same time?

2002-06-24 Thread Noah Spitzer-Williams
' is there any way to do this? thanks! - Noah -- TradeMyTraffic! Web Services http://www.trademytraffic.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] check two tables at same time?

2002-06-24 Thread Noah Spitzer-Williams
are identical in structure thats why i think there should be some way to do this. Thanks! - Noah -- TradeMyTraffic! Web Services http://www.trademytraffic.com [EMAIL PROTECTED] wrote in message 006601c21bd8$4b1fdb20$[EMAIL PROTECTED]">news:006601c21bd8$