SELECT UCASE(Company) AS Company works great, thanks!
Niklas
-Original Message-
From: Dimitris Kossikidis [mailto:[EMAIL PROTECTED]]
Sent: 2. marraskuuta 2001 11:11
To: 'Niklas Lamp¨¦n'
Cc: PHP General
Subject: RE: [PHP] mySQL problem
Try this
$Query = SELECT UCASE(Company) as
What causes this:
I have a page getting variable $BackLink with string
http://www.domain.com/my_page.php4;.
I accidentaly wrote ?=~$BackLink? and what I got out was
—‹‹ÅÐЈˆˆÑ™–‘“ž‘›š‡‹ŒÑœ’Й™š
šŽŠšŒ‹ ™‘‹Ñ—Ë. What causes this? What does that ~ sign do
before a variable?
F... read it and got it! ;)
I had no idea what to look for..
Niklas
P.S. Thanks
-Original Message-
From: Tomy Wagner [mailto:[EMAIL PROTECTED]]
Sent: 22. lokakuuta 2001 15:16
To: Niklas Lampén; Php-General
Subject: Re: [PHP] Funny thing with variables
rtfm :o
You can do this:
$i = 0;
$fp = fopen("list.txt", "r");
while (!feof($fp) $i 10) {
$i++;
$Text = fgets($fp, 4096); // Reads first 4096 characters from a row.
print "$Textbr\n";
};
Niklas
-Original Message-
From: Tauntz [mailto:[EMAIL PROTECTED]]
Sent: 28.
Oops.. Forgot to close the file. Put as last line:
fclose($fp);
Niklas
-Original Message-
From: Niklas Lampn [mailto:[EMAIL PROTECTED]]
Sent: 28. elokuuta 2001 15:29
To: Tauntz; Php-General
Subject: RE: [PHP] How do I read the first n lines from a file?
You can do this:
$i = 0;
$fp
ile ?
- Original Message -
From: "Niklas Lampn" [EMAIL PROTECTED]
To: "Tauntz" [EMAIL PROTECTED]; "Php-General" [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 3:28 PM
Subject: RE: [PHP] How do I read the first n lines from a file?
You can do this:
$i =
6 matches
Mail list logo