On 24 March 2007 16:28, tedd wrote:
2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta:
YES this works thank nemeth:
your welcome but please call me Zoltán ;)
(my first name is Zoltán. in Hungary we write names the opposite
order than anywhere else ;) so that's why
At 12:54 PM +0100 3/27/07, Ford, Mike wrote:
On 24 March 2007 16:28, tedd wrote:
2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta:
YES this works thank nemeth:
your welcome but please call me Zoltán ;)
(my first name is Zoltán. in Hungary we write names the
At 6:57 PM +0200 3/27/07, Tijnema ! wrote:
snip
As us USA types are told, we all have to adapt to global conventions.
:-)
... which presumably explains why the (US-owned)
company my wife works for has email addresses in
the form [EMAIL PROTECTED]
Would you be equally confused by these?
2007. 03. 27, kedd keltezéssel 18.57-kor Tijnema ! ezt írta:
snip
As us USA types are told, we all have to adapt to global conventions.
:-)
... which presumably explains why the (US-owned)
company my wife works for has email addresses in
the form [EMAIL PROTECTED]
Would you
snip
If a US company wants to use
[EMAIL PROTECTED], then as we all
know, management is always right -- so let's all
change to that. Except for the companies that do
it the other way -- ah, there I go being confused
again. There's just no getting around it. Why
can't we all just
At 12:29 AM +0200 3/26/07, Zoltán Németh wrote:
2007. 03. 23, péntek keltezéssel 20.36-kor Tijnema ! ezt írta:
On 3/23/07, Németh Zoltán [EMAIL PROTECTED] wrote:
2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta:
YES this works thank nemeth:
your welcome but please
2007. 03. 23, péntek keltezéssel 20.36-kor Tijnema ! ezt írta:
On 3/23/07, Németh Zoltán [EMAIL PROTECTED] wrote:
2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta:
YES this works thank nemeth:
your welcome but please call me Zoltán ;)
(my first name is Zoltán. in
2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta:
YES this works thank nemeth:
your welcome but please call me Zoltán ;)
(my first name is Zoltán. in Hungary we write names the opposite order
than anywhere else ;) so that's why my mailbox is set to display 'Németh
Zoltán'
On 3/23/07, Dwayne Heronimo [EMAIL PROTECTED] wrote:
Dear All,
I am very new to programming. I want to make a preview text that would
display only a part of the text that is a text field in a database.
//Begin Make preview string
$minitxt = $row_show_cat['text'];
$len = strlen($minitxt);
-Message d'origine-
De : Tijnema ! [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 23 mars 2007 16:26
À : Dwayne Heronimo
Cc : php-general@lists.php.net
Objet : Re: [PHP] preview string with strlen PHP (help)
On 3/23/07, Dwayne Heronimo [EMAIL PROTECTED] wrote:
Dear All,
I am very new
-Original Message-
From: Dwayne Heronimo [mailto:[EMAIL PROTECTED]
Dear All,
I am very new to programming. I want to make a preview text that would
display only a part of the text that is a text field in a database.
//Begin Make preview string
$minitxt = $row_show_cat['text'];
Dwayne Heronimo wrote:
Dear All,
I am very new to programming. I want to make a preview text that would
display only a part of the text that is a text field in a database.
//Begin Make preview string
$minitxt = $row_show_cat['text'];
$len = strlen($minitxt);
if ($len 235)
{
Dear all,
hmm.. sorry the $previewstext thing was a typo in my mail.
But yes it is working but it will only display the first record of the
recordset. I have like a list for items with short text in a page and of
course made a query to make the database variables available. Which where
the
2007. 03. 23, péntek keltezéssel 16.55-kor Dwayne Heronimo ezt írta:
Dear all,
hmm.. sorry the $previewstext thing was a typo in my mail.
But yes it is working but it will only display the first record of the
recordset. I have like a list for items with short text in a page and of
2007 16:55
À : php-general@lists.php.net
Objet : Re: [PHP] preview string with strlen PHP (help)
Dear all,
hmm.. sorry the $previewstext thing was a typo in my mail.
But yes it is working but it will only display the first record of the
recordset. I have like a list for items with short text
YES this works thank nemeth:
?php
function previewString($showcatvar) {
$minitxt = $showcatvar;
$len = strlen($minitxt);
if ($len 235)
{
$len = 235;
}
else
{
$len = $len;
}
$newstring = substr($minitxt,0,$len);
$previewtext = $newstring;
return $previewtext;
}
?
and to
2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta:
YES this works thank nemeth:
your welcome but please call me Zoltán ;)
(my first name is Zoltán. in Hungary we write names the opposite order
than anywhere else ;) so that's why my mailbox is set to display 'Németh
Zoltán' but
On 3/23/07, Németh Zoltán [EMAIL PROTECTED] wrote:
2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta:
YES this works thank nemeth:
your welcome but please call me Zoltán ;)
(my first name is Zoltán. in Hungary we write names the opposite order
than anywhere else ;) so that's
On Fri, March 23, 2007 10:18 am, Dwayne Heronimo wrote:
function previewString($showcatvar) {
$minitxt = $showcatvar;
$len = strlen($minitxt);
if ($len 235)
{
$len = 235;
}
else
{
$len = $len;
}
Take out this whole else block -- Assigning a variable to itself is
just
You don't need a function to do something repeatedly.
You need some kind of loop, such as 'while', 'for' or 'foreach'
Try working through a PHP / MySQL tutorial, as it will cover this.
On Fri, March 23, 2007 10:55 am, Dwayne Heronimo wrote:
Dear all,
hmm.. sorry the $previewstext thing was a
20 matches
Mail list logo