Jasper Bryant-Greene wrote:
John Taylor-Johnston wrote:
I'm under pressure to permit AND, OR & NOT. My research group insists
that MySQL 4 syntax is "not good enough".
An idea of what one might enter is here (on the bottom):
http://compcanlit.usherbrooke.ca/advanced.html
I was hoping to get
John Taylor-Johnston wrote:
David,
I'm under pressure to permit AND, OR & NOT. My research group insists
that MySQL 4 syntax is "not good enough".
An idea of what one might enter is here (on the bottom):
http://compcanlit.usherbrooke.ca/advanced.html
I was hoping to get away with replacin
David,
I'm under pressure to permit AND, OR & NOT. My research group insists
that MySQL 4 syntax is "not good enough".
An idea of what one might enter is here (on the bottom):
http://compcanlit.usherbrooke.ca/advanced.html
I was hoping to get away with replacing " AND " with "+", " NOT " w
David,
I'm under pressure to permit AND, OR & NOT. My research group insists
that MySQL 4 syntax is "not good enough".
An idea of what one might enter is here (on the bottom):
http://compcanlit.usherbrooke.ca/advanced.html
I was hoping to get away with replacing " AND " with "+", " NOT " w
John Taylor-Johnston wrote:
> Any ideas? Post kind of lost in there since Saturday. Is str_replace the
> best choice for case sensitive and for swapping " AND "?
>
>>
>>
>> Any suggestion on how to swap AND OR NOT for mysql fulltext syntax in
>> $searchenquiry?
>> A simple parse for " AND " and
Any ideas? Post kind of lost in there since Saturday. Is str_replace the
best choice for case sensitive and for swapping " AND "?
Any suggestion on how to swap AND OR NOT for mysql fulltext syntax in
$searchenquiry?
A simple parse for " AND " and then str_replace? Is str_replace
appropriate
On Sun, 2004-11-28 at 21:56, Brad Ciszewski wrote:
> err i mean ... an 'or' statement sry
Two comments:
1. This is the "PHP" General list. See the PHP part... that means
it's NOT the MYSQL General list.
2. For such a trivial question you could have spent a whole 5 seconds
executing the que
err i mean ... an 'or' statement sry
is there an 'and' statement for mysql, when you are doing multiple
"where"s?
MySQL allows SQL statements that support both AND and OR. With OR, you
can often use IN instead.
SELECT columns FROM tablename WHERE (condition1) AND (condition2)...
All of this is
err i mean ... an 'or' statement sry
www.BradTechnologies.com
99.9% Uptime
24/7 FREE Support
Plans starting at $3.50 per month
www.BradTechnologies.com
"Brad Ciszewski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> is there an 'and' statement for mysql, when you are doing multiple
ok put an example in
- Original Message -
From: "Boaz Yahav" <[EMAIL PROTECTED]>
To: "Sunfire" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 2:09 PM
Subject: and
This looks like a great example to add to weberdev.
would you care to spend 3 minutes and let other PHP developers enj
you could use stripslashes or stripcslashes to remove the '\'-s, otherwise i
wouldn't know..
"Pag" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi,
>
> When a user wants to add a comment on my site and uses either " or ', and
> when it gets printed out, c
>I have a tag:
>CV
>
>when I want to validate page (W3C online validator) , validator prints:
>
>Line 37, column 50:
>How can I solve this? (& doesn't functioning, because after that is
>&PHPSESSID added automatically by php)
PHPSESSID is being added by PHP in order to pass the session data throu
>What is the "and" "or" statement in php?
>
>I need this to see if the first statement is whatever, and or the second
>statement is whatever...
>
>if (!isset($PHP_AUTH_USER) "and or" blah($blah)) {}
"and" and "or" mean pretty much what they would in English:
The expression "x AND y" only returns
== compares 2 variables regardless of type ("1" == 1)
=== compares 2 variables with type in mind ("1" !== 1)
@ supresses errors in functions
"Phil Schwarzmann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What exactly happens when you put three equal-signs t
addslashes() would work... or use an ereg_replace to do it. Provided that
you only use single quotes in your SQL (which is a good idea anyway since
other db's only allow you to use single quotes) then you only have a
problem with single quotes and not double quotes.
On Thu, 3 Jan 2002, Daniel Ha
15 matches
Mail list logo