Hi,
Monday, January 24, 2011, 10:50:41 PM, you wrote:
BP> Hi all,
BP> I have to perform a mysql query in a table with millions of records.
BP> I've full-text indexed my search field and I'm searching with MATCH AGAINST.
BP> But there is a problem. In this field there are company names that
BP> c
Ok, Everything's clear now.Thanks for the help and sorry for incoveniences.
On Mon, Jan 24, 2011 at 14:17, Adi Mutu wrote:
>
> I have asked also there..but no answerBut honestly i don't understand
> why you have reccomended me that forum..because i thougt these mailing
> lists are about php developing...
Because this is about developing in PHP in ge
I have asked also there..but no answerBut honestly i don't understand
why you have reccomended me that forum..because i thougt these mailing
lists are about php developing...
Thanks,A.
On 1/24/2011 8:00 AM, Merlin Morgenstern wrote:
> Hi there,
>
> I am trying to replace certain words inside a text with php. Unfortunatelly my
> function is creating invalid html as output.
>
> For example the words "beagle" and "welpen" have to be replaced inside this
> text: "süße knuffige Beag
If you declare your arrays, and set k to 0 first, put quotes around array
values and use the correct limit (you can default to -1), you will get
results, here is code and example (hopefully this helps you)
\\1';
$k++;
}
return preg_replace($pat
Without seeing the code that creates the arrays, it's tough to see the
problem. It looks like the first replacement is catching "Beagle Welpen"
entirely since the closing tag gets placed after "Welpen". Then the
second replacement does just "Welpen".
Also, you should have quotes around "link" whe
> -Original Message-
> From: Donovan Brooke [mailto:li...@euca.us]
> Sent: Monday, January 24, 2011 7:49 AM
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Different sessions, same client
>
> [snip]
> > > session_name(uniqid());
> > session_start();
> > echo session_id();
> > ?>
> >
Hi there,
I am trying to replace certain words inside a text with php.
Unfortunatelly my function is creating invalid html as output.
For example the words "beagle" and "welpen" have to be replaced inside
this text: "süße knuffige Beagle Welpen ab sofort"
My result looks like this:
zwei süß
[snip]
YAY! it worked!!
so then i tried this:
';
print_r($_SESSION);
echo '';
?>
and it doesn't preserve the older session information... so I must be
doing something wrong. I can assume that because the name is being
regenerated new each time, that the old "previous" session is destroyed
(
> -Original Message-
> From: Steve Staples [mailto:sstap...@mnsi.net]
> Sent: Monday, January 24, 2011 6:31 AM
> To: Tommy Pham
> Cc: 'Paul M Foster'; php-general@lists.php.net
> Subject: RE: [PHP] Different sessions, same client
>
> On Sun, 2011-01-23 at 17:40 -0800, Tommy Pham wrote:
> >
On Sun, 2011-01-23 at 17:40 -0800, Tommy Pham wrote:
> > -Original Message-
> > From: Tommy Pham [mailto:tommy...@gmail.com]
> > Sent: Sunday, January 23, 2011 5:23 PM
> > To: 'Paul M Foster'
> > Cc: 'php-general@lists.php.net'; 'Thijs Lensselink'
> > Subject: RE: [PHP] Different sessions,
> -Original Message-
> From: Barbara Picci [mailto:barbara.pi...@sardi.it]
> Sent: Monday, January 24, 2011 4:51 AM
> To: php-general@lists.php.net
> Subject: [PHP] Mysql search query ignoring dots
>
> Hi all,
>
> I have to perform a mysql query in a table with millions of records.
> I've
Hi all,
I have to perform a mysql query in a table with millions of records.
I've full-text indexed my search field and I'm searching with MATCH AGAINST.
But there is a problem. In this field there are company names that
contain dots, for istance I've "PO.SE. srl" and I want to find it if
the u
>From the search results, you'd see several links http://forums.zend.com.
I'd say that's the best place to ask ;)
From: Adi Mutu [mailto:adi_mut...@yahoo.com]
Sent: Sunday, January 23, 2011 11:07 PM
To: Tommy Pham
Cc: php-general@lists.php.net; Daniel Brown
Subject: Re: [PHP] Zend memory manag
Paul S wrote:
> On Sun, 23 Jan 2011 12:40:25 +0700, David Robley
> wrote:
>
>> Paul S wrote:
>>> I'm a little new to PHP.
>
> David starts:
>> Nobody seems to have mentioned it, but the SMTP info is only needed on a
>> Win
>> system. The following is an extract from a default php.ini file:
>>
>
On Sun, 23 Jan 2011 12:40:25 +0700, David Robley
wrote:
Paul S wrote:
I'm a little new to PHP.
David starts:
Nobody seems to have mentioned it, but the SMTP info is only needed on a
Win
system. The following is an extract from a default php.ini file:
Well, I have just RTF mail() Manu
17 matches
Mail list logo