I am using str_replace to strip double quotes.
$string = 'This string has "quotes" in it';
$string = str_replace('"', '', $string);
this seems to work, yet when I put the $string into mysql,
it uses backslashes to escape where the quotes were. The
double-quotes are gone, yet it still escapes the
Instruct ICC wrote:
Just for grins, tell us the steps you took to unsubscribe.
There is a link at the bottom of every email inviting you to unsubscribe. So
I'm sure you began there.
Tell us where it failed.
_
Kick back and relax
At 2:35 PM -0400 9/21/07, Jason Pruim wrote:
e... Never mind. Soon as I sent the e-mail I tried moving the
$_SESSION['search'] = $_GET['search']; to the top just below the
includes and it worked just fine! :)
Ahh, the old sequence bug. Funny how variables have to be set before
they contai
Just for grins, tell us the steps you took to unsubscribe.
There is a link at the bottom of every email inviting you to unsubscribe. So
I'm sure you began there.
Tell us where it failed.
_
Kick back and relax with hot games and co
At 9:15 AM +1000 9/20/07, Andrew Wilson wrote:
What do I have to do to get off this list. Murder someone?
Please take me off the list as I have already tried to unsubscribe several
times.
Andrew:
Just for my own amusement, who do you think you are talking to?
Figuring out how to unsubscribe s
On 9/21/07, Stut <[EMAIL PROTECTED]> wrote:
> Please include the list when replying.
>
> Eric Lommatsch wrote:
> > -Original Message-
> > From: Stut [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 21, 2007 3:09 PM
> > To: Eric Lommatsch
> > Cc: php-general@lists.php.net
> > Subject: R
Στις 17-09-2007, ημέρα Δευ, και ώρα 23:33 -0400, ο/η Eric Butera έγραψε:
> On 9/17/07, Πρεκατές Αλέξανδρος <[EMAIL PROTECTED]> wrote:
> > I'a writing first time so sorry if i reapeat but
> > i wanted to say this in my own words and angle.
> >
> > My question is :
> >
> > Lets assume that we'r going
Please include the list when replying.
Eric Lommatsch wrote:
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Friday, September 21, 2007 3:09 PM
To: Eric Lommatsch
Cc: php-general@lists.php.net
Subject: Re: [PHP] Access name of variable in $_POST array
Eric Lommatsch wrot
Eric Lommatsch wrote:
I am writing a PHP script that is going to accept variables that are passed
from a PDF form and should write both the name of the variable and its value
to a text file.
I can get the value that I want to retrieve with out problem. However, even
though I have searched t
Hello,
I am writing a PHP script that is going to accept variables that are passed
from a PDF form and should write both the name of the variable and its value
to a text file.
I can get the value that I want to retrieve with out problem. However, even
though I have searched through the PHP.n
Stefano Esposito wrote:
i'm in need to limit the numbers of conection to the database, whithout loose
of functionality.
There is a general strategy to achieve this?
1) Caching
2) Caching
3) Caching
And if all that fails...
4) Caching
Why do you need to reduce database connections? Is the si
Andrew Prostko wrote:
> I would like to change the email address this list is sending to,
>
> I sent mail to '[EMAIL PROTECTED]' but I haven't received
> anything back.
>
> Can anyone tell me how to do this real quick?
1. unsubscribe old address.
2. subscribe new address.
Really quick.
/Per
I would like to change the email address this list is sending to,
I sent mail to '[EMAIL PROTECTED]' but I haven't received
anything back.
Can anyone tell me how to do this real quick?
Having this email account on my Treo is kind of overwhelming.
Andrew Prostko
1445 Washington Lane
We
e... Never mind. Soon as I sent the e-mail I tried moving the
$_SESSION['search'] = $_GET['search']; to the top just below the
includes and it worked just fine! :)
I think my problem was the session variable was being displayed at
the top of the page, and then stored after the form... p
[snip]
Wouldn't that be what this code does:
$search.";
$qrow[]= mysql_query($qstring) or die(mysql_error());
$qresult = $qrow[0];
$num_rows = mysql_num_rows($qresult);
//display search form
echo "
Sea
On Sep 21, 2007, at 2:26 PM, Jay Blanchard wrote:
[snip]
I have a question about sessions, I am attempting to store a search
term in a session variable to that when it finds the set of records
from the database it can export it to excel. The problem I have is
that the session variable is 1 sear
[snip]
I have a question about sessions, I am attempting to store a search
term in a session variable to that when it finds the set of records
from the database it can export it to excel. The problem I have is
that the session variable is 1 search behind...
[/snip]
When you do the search sto
Hi Everyone,
I have a question about sessions, I am attempting to store a search
term in a session variable to that when it finds the set of records
from the database it can export it to excel. The problem I have is
that the session variable is 1 search behind...
IE:
Search 1: Harry
Resul
On 9/21/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>
> Ps. I used references so PHP4 wouldn't create copies at every
> function call :)
i noticed the previously posted php4 code was doing a lot of copy
operations.
perhaps thats the only reason the code is actually working under 4 and the
Hi all,
i'm in need to limit the numbers of conection to the database, whithout loose
of functionality.
There is a general strategy to achieve this?
--
Stefano Esposito
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Insoddisfatto del tuo lavoro? Sco
On Fri, 2007-09-21 at 16:18 +0100, Ben wrote:
> It really depends on your situation.
> We are an ISP hosting lots of website. Upgrading from 4 to 5 means a lot of
> sites will have trouble.
> Personally I have some problem of upgrading from 4 to 5.
>
> The below codes work on 4:
>
> include("
Ben wrote:
It really depends on your situation.
We are an ISP hosting lots of website. Upgrading from 4 to 5 means a lot of
sites will have trouble.
Personally I have some problem of upgrading from 4 to 5.
The below codes work on 4:
include("DB/DataObjects.php");
$pro = DB_DataObject::facto
It really depends on your situation.
We are an ISP hosting lots of website. Upgrading from 4 to 5 means a lot of
sites will have trouble.
Personally I have some problem of upgrading from 4 to 5.
The below codes work on 4:
include("DB/DataObjects.php");
$pro = DB_DataObject::factory('Product')
On 9/21/07, Karl james <[EMAIL PROTECTED]> wrote:
>
> Team,
>
>
> I am in need of some help.
>
> I would love to get some assistance on this.
>
> I need to start creating a database for my website.
>
> This will be for a fantasy football league website.
>
> To store stats on the database for archiv
Rob wrote:
> It had to have been for some other reason as the return type for the
> above example is a DOMDocument. A raw DOMNode is *NEVER* returned from
> the DOM extension. It is simply a base class for most of the DOM
> classes, such as DOMDocument.
I think I just didn't do the ->ownerDocument
Colin Guthrie wrote:
Rob wrote:
if ($xml instanceof SimpleXMLElement)
{
/* No copying, just use the existing XML tree directly */
$node = dom_import_simplexml($xml);
return $node->ownerDocument;
}
Yeah I had that initially too but that did not produce a DOMDocument
Object but a DOMN
Rob wrote:
> Fairly unknown tidbit: you can pass SimpleXML objects to the XSL
> extension. XSL will use the document from it.
Nice to know... /me will have to experiment!
>> if ($xml instanceof SimpleXMLElement)
>> {
>> $rv = new DOMDocument('1.0', 'utf-8');
>> $node = dom_imp
2007. 09. 21, péntek keltezéssel 08.16-kor Ed Curtis ezt írta:
> I'm currently running Debian Woody with PHP 4.1.2 installed by default.
> It's really stable and I like it alot. Would I run into any problems
> upgrading it to say 4.3.0. There are some functions I need in it that
> 4.1.2 doesn't
Colin Guthrie wrote:
I know I definitely want to do XSLT stuff and for that I need to use
DomDocument (I'm sure there are other ways but this works fine for me so
far!).
Fairly unknown tidbit: you can pass SimpleXML objects to the XSL
extension. XSL will use the document from it.
I'll
I'm currently running Debian Woody with PHP 4.1.2 installed by default.
It's really stable and I like it alot. Would I run into any problems
upgrading it to say 4.3.0. There are some functions I need in it that
4.1.2 doesn't have. I'm not ready to make the jump to PHP5 yet. I've
tried it on a t
Hi All
I am just converting the data from database to excel format.For that i am
using pack function of php . But i want some data to be in bold like
Employee Name = ABC
How to do that .Will anybody help me
--
View this message in context:
http://www.nabble.com/Font-size-of-text-that-will-be-wri
Found the problem. I had a typo on my conditional statement.
if( $fix->ValArray( $_POST['add_order_items'] === -1 ) ) {
$errors['add_order_array'] = $erlink;
}
Should have been:
if( $fix->ValArray( $_POST['add_order_items'] ) === -1 ) {
$errors['add_order_array'] = $erlink;
}
My eyes need to b
On Fri, 2007-09-21 at 08:42 +0200, Per Jessen wrote:
> Isn't that just an ALTER ?
Its a little more complex than that, as I have to actually create WKB
from the data, so no, not just an ALTER unfortunately.
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/
33 matches
Mail list logo