Re: [PHP] carriage returns using error_log?

2005-03-20 Thread Kurt Yoder
On Mar 20, 2005, at 4:15 PM, Chris Shiflett wrote: Kurt Yoder wrote: Is there any way to tell error_log to keep the newline characters? I am outputting error messages to the error log so I can look at detailed status information at the time of the error. However, if I put \n in the error message

[PHP] carriage returns using error_log?

2005-03-20 Thread Kurt Yoder
in the log message. -- Kurt Yoder http://yoderhome.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] incrementing a number from a text file

2005-03-16 Thread Kurt Yoder
_id GOOD (usually): Select blablabla FROM t1,t2,t3 WHERE (customers LIKE '%$s%' OR name LIKE '%$s%' OR domain LIKE '%$s%' OR email LIKE '%$s%' OR log LIKE '%$s%') AND t1.id = t2.t1_id AND t1.id = t3.t1_id Note parentheses added around OR expression

Re: [PHP] incrementing a number from a text file

2005-03-14 Thread Kurt Yoder
he database server to its knees. :-) I'd be surprised if this kind of thing survived even the worst QA -- You'd have to have hefty db server, and very small tables and VERY BAD QA to not notice something was wrong. I see. What is the best way to run this type of query then? -- Kurt Yoder http://yoderhome.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] incrementing a number from a text file

2005-03-12 Thread Kurt Yoder
t1.id = t2.t1_id AND t1.id = t3.t1_id Horror! Perhaps I'm missing something, but what's wrong with that query? It looks like a pretty normal search query to me. If you need to search through a bunch of records for various text fragments, and you're not certain which

Re: [PHP] incrementing a number from a text file

2005-03-12 Thread Kurt Yoder
e of those things that SEEMS so simple that turns out to be a hell of a lot more involved than you thought at first. So it goes. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing L

Re: [PHP] sorting associative array

2005-01-23 Thread Kurt Yoder
15 [date_published] =>[place_published] => Victoria [abstract] => Safetycare Australia A general video lookin. [library_medium_id] => 5 [library_type] => 4 [score] => 3.1997931003571 ) ) any ideas. Than

[PHP] wiki as php object?

2005-01-22 Thread Kurt Yoder
ject so that I could completely encapsulate it within my own code. This would give me complete control over url's, look and feel, etc. Anyone have any suggestions? -- Kurt Yoder http://yoderhome.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php