hi,
is there a little thingy that - put into a script - tells php within a mysql
query to not care about cases? problem is a mailing script, that always
stops, when a mailaddress contains uppercase letters.
thanks - u.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
*/
- Original Message -
From: prosite [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 08, 2001 1:47 PM
Subject: [PHP] case sensitive
| hi,
| is there a little thingy that - put into a script - tells php within a
mysql
| query to not care about cases? problem is a mailing script, that always
I am writing a PHP script that operates on a MySQL database that uses the
e-mail address as the primary key. If the e-mail doesn't exist in the database
(when a form is submitted), I want to insert a new record. If it does, I want
to update the existing record.
How can I make the query that
I had a similar question about case-sensitivity, and I was told that MySQL
is automatically case-insensitive! But it depends on your version of MySQL.
Go to the mysql manual and look at chapter 20.16 "Case sensitivity in
searches".
In the newest versions of MySQL, all searches are
:[EMAIL PROTECTED]]
Sent: Wed, April 04, 2001 1:48 AM
To: [EMAIL PROTECTED]
Subject: Seeking PHP case studies
Hello.
I posted something about this a few days ago, and am
reiterating my request again. We're looking for
PHP case studies that we can use in an upcoming project.
Interested parties
Hello.
I posted something about this a few days ago, and am
reiterating my request again. We're looking for
PHP case studies that we can use in an upcoming project.
Interested parties should contact me directly at [EMAIL PROTECTED]
and we'll give you more information at that point.
Thanks
You must be moving from Pascal alike coding to PHP ;)
"acleave" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have tried the online documentation and it either errors out on me or
cannot
find anything when I search on case. Can someone tell me if PHP
The 'Switch' Statement is what you are looking for.
Andy Woolley
www.databasewatch.com
"elias" [EMAIL PROTECTED] wrote in message
9a1pfp$v4n$[EMAIL PROTECTED]">news:9a1pfp$v4n$[EMAIL PROTECTED]...
You must be moving from Pascal alike coding to PHP ;)
"acleave" [EMAIL PROTECTED] wrote in
I have tried the online documentation and it either errors out on me or cannot
find anything when I search on case. Can someone tell me if PHP supports case
statements (or do I just need to do a series of ifs?) and if so where I can
find them detailed in the online docs?
Thnaks,
Allan
--
I have tried the online documentation and it either errors
out on me or cannot find anything when I search on case.
Can someone tell me if PHP supports case statements (or
do I just need to do a series of ifs?) and if so where I can
find them detailed in the online docs?
You want:
al Message-
From: acleave [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 11:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Case?
I have tried the online documentation and it either errors out on me or
cannot
find anything when I search on case. Can someone tell me if PHP supports
case
acleave wrote:
I have tried the online documentation and it either errors out on me or cannot
find anything when I search on case. Can someone tell me if PHP supports case
statements (or do I just need to do a series of ifs?) and if so where I can
find them detailed in the online docs?
on 3/29/01 12:14 PM, [EMAIL PROTECTED] splat open and thusly melted:
if so where I can
find them detailed in the online docs?
look under switch, in control structures.
--
:: Andrew Rush :: Lead Systems Developer :: MaineToday.com ::
Hi Guys,
Just a quick question. If I have a user database, with joe_bloggs as a
user, what would I need to do to make sure that his login details matched
the case sensitivity in a MySQL database? Say if he logged in as
JOE_BLOGGS, could I return an error? I'm guessing this is going to turn
On Thu, 15 Feb 2001 19:41:04 -, James, Yz ([EMAIL PROTECTED])
wrote:
Hi Guys,
Just a quick question. If I have a user database, with joe_bloggs
as a
user, what would I need to do to make sure that his login details
matched
the case sensitivity in a MySQL database? Say if he logged in as
make the login field BINARY.
Thanks! ;)
James.
--
PHP General 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]
El Jue 15 Feb 2001 16:41, James, Yz escribi:
Oh, another thing. Anyone know of any tools like PHP MyAdmin for
PostGresSQL ?
phpPgAdmin?
http://www.greatbridge.org/project/phppgadmin/projdisplay.php
Saludos... ;-)
--
System Administration: It's a dirty job,
but someone told I had to do
I know this is kinda silly. but, if I have the following, will the file
only be included when the case is matched or does require always bring in
the file regarless?
case blah:
require('include.php');
do something
break;
I know this is kinda silly. but, if I have the following, will the file
only be included when the case is matched or does require always bring in
the file regarless?
case blah:
require('include.php');
do something
break;
Pretty sure it depends on whether your file system is
Hello Jon,
(JR == "Jon Rosenberg") [EMAIL PROTECTED] writes:
JR I know this is kinda silly. but, if I have the following, will the
JR file only be included when the case is matched or does require
JR always bring in the file regarless?
That is *supposed* to be the way it works. That is
'require' ALWAYS includes the file; 'include' is what you want here.
not since v4.0.2(?) came out ...
I heard from Zeev that require() and include() behave now just about the
same.
Read our posting regarding this topic of 1-2 month ago..
Cheers,
Maxim Maletsky
The tradeoff is that include is
include() behaves
(in all versions of PHP) as well.
November 14-th ...
Cheers,
Maxim Maletsky
-Original Message-
From: Maxim Maletsky
Sent: Thursday, January 11, 2001 2:26 PM
To: 'Steve Edberg'; Jon Rosenberg; PHP List .
Subject: RE: [PHP] case ?
'require' ALWAYS includes the file
-Original Message-
From: Maxim Maletsky
Sent: Thursday, January 11, 2001 2:26 PM
To: 'Steve Edberg'; Jon Rosenberg; PHP List .
Subject: RE: [PHP] case ?
'require' ALWAYS includes the file; 'include' is what you want here.
not since v4.0.2(?) came out ...
I heard from Zeev that require() and include
101 - 123 of 123 matches
Mail list logo