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
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
_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
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
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
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
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
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
8 matches
Mail list logo