addslashes($textline)
-Original Message-
From: Thalis A. Kalfigopoulos [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 10:54 AM
To: [EMAIL PROTECTED]
Subject: [PHP] regexp for ' replacement
Yet another regexpr question.
If I have as part of a text:
...and then 'the quick brown f
try creating a script with fopen(), fwrite(), etc.
When you run into problems, ask here.
$filex = fopen("myfile","w");
fwrite( $filex, "write this here");
fclose($filex);
-Original Message-
From: Sebastian A. [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 10:29 AM
To: PHP Gener
MAIL PROTECTED]]
Sent: Friday, April 05, 2002 11:35 AM
To: Rick Emery
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] regexp for ' replacement
Nop. I don't want to affect the first and last ' of every line.
On Fri, 5 Apr 2002, Rick Emery wrote:
> addslashes($textline)
>
>
yes, put the name of the PHP file
-Original Message-
From: Kris Vose [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 12:23 PM
To: Rick Emery
Subject: RE: [PHP] refresh
When I delete a record from a table in php it loops back to the table.
However, It does not show that the
what happened when you tried your query?
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 12:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] MySQL - UPDATE & INSERT
Is this query legal?
$query = "UPDATE table SET (var1, var2, var3) VALUE
I corrected the syntax errors Erik found and added var_dump() after each $t
equation/assignment
The problem is that you refer to $test->words. You should refer to
$test->words
BIG DIFFERENCE
$test->words means find the value of $words and look for that variable in
$test. That is, if $words ="a
riginal Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 1:28 PM
To: 'Brian McLaughlin'; [EMAIL PROTECTED]
Subject: RE: [PHP] Arrays within classes
I corrected the syntax errors Erik found and added var_dump() after each $t
equation/assignment
The proble
stripslashes($text)
-Original Message-
From: Rob Packer [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 7:46 PM
To: [EMAIL PROTECTED]
Subject: [PHP] getting slash with single quotes in form mail
Hi,
I have a contact form and when someone fills it out, all the single
quotes (
so what does line 111 look like?
we can't read your mind...
-Original Message-
From: erich [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 3:35 AM
To: [EMAIL PROTECTED]
Subject: [PHP] difficulty in solving the unknown warning
i am a php programmer whose learning expr. is about
What you're seeking is push technology. I'm not certain that PHP can
provide that.
However, PHP can email you using the mail() function
-Original Message-
From: Rodolfo Silva [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 12:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Upload ale
$A->variable
Rather than having us all guess, show your code...
-Original Message-
From: Robert J. Cissell [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 11:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Object Confusion
If object of type A ($A) contains a variable $B which is an
$fp = fopen($filename, "w");
fwrite($fp, $outputstring);
READ THE DOCS
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 12:51 PM
To: [EMAIL PROTECTED]
Subject: [PHP] fwrite() - problems
I have a large string that I want to written t
mysql is a relational database. therefore, the concept of a row number is
irrelevant.
that said, what do you REALLY want to do
-Original Message-
From: Julian [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 2:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mysql question
Hi!!!
I
perhaps you could use $file_name
-Original Message-
From: Jas [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 2:54 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Assigning unique form names...
Ok I understand what you mean here, however what I need to do is have a
unique form actio
First, why store it in a database? Why not store it as a separate file,
then store pointer/file-name to it in database?
If you do want it in the database (may I assume mysql?), then INSERT/LOAD
the file directly into the field without conversion.
-Original Message-
From: Jay Paulson [ma
SELECT * FROM mytable ORDER BY series,price;
-Original Message-
From: René Fournier [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 4:27 PM
To: [EMAIL PROTECTED]
Subject: MySQL ORDER BY or PHP Sort?
I want to select about 25 rows from a table, and sort them by two
criteria.
it should read: INSERT INTO recensioni VALUES( NULL,...
In order fot auto_increment to work, you must use NULL. When you tried
NULL, what SPECIFIC error did you get when it complained?
FYI: it complains about the "duplicate key" because you already inserted a
record with 300 in the PRIMARY KEY
how to fix it, it would be muchly
appreciated.
The code is below
Rick
\n";
echo "alanis
guide\n";
echo "\n";
echo "date\n";
echo "time\n";
echo "where\n";
echo "what\n";
echo "days till\n";
echo "\n";
//C
elate to me
It would be more than greatly appreciated.
I can usely figure things out, but I guess I'm just slow to this.
Rick
-Original Message-
From: Rick Proctor [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 23, 2001 9:15 PM
To: [EMAIL PROTECTED]
Subject: Events Listings
Hello,
Hi Everyone,
Thanks to the suggestions from everyone I got it working..
Thanks
And Check it out @ http://www.alanis-morissette.com/am69/
(It's the TV Guide :-)
Rick
-Original Message-
From: Rick Proctor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 2:04 PM
To: [
Are your privileges in MySQL set correctly? If ROOT doesn't have read/write
access, the script will crash.
rick
-Original Message-
From: Jay Paulson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 11:29 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP-DB] rest
t;);
However, if a valid value is passed into $pg, you would just do
include($pg);
Sorry for the poor explanation, does this help though?
Rick
On Wednesday, September 19, 2001, at 03:43 PM, LRW wrote:
> I've got a complicated little thing going on here.
> I have page INDEX.HTM with a
is greatly appreciated.
Thanks,
Rick
--
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]
There's a good php POP3 class available here:
http://www.thewebmasters.net/php/POP3.phtml
That will enable you to log into your mail server and retrieve a mail
message from it.
> -Original Message-
> From: Chris Aitken [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 04, 2001 2:54 PM
e_node );
$error_node->appendChild( $line_node );
// add the new "error" node to the tree
$doc->documentElement->appendChild( $error_node );
// save back to the file
$doc->save( "errors.xml" );
?>
-- Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s you file path/name, line number, the matching line
and the 2 that follow it.
$ grep -HrnA 2 "TODO:" /path/to/code/root
--rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot;
on the command line which would produce most of the results that Daevid
was looking for.
More info on using grep can be found here:
http://www.google.com/search?&q=man%20grep
--rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, so the assignment you're
doing in testing's constructor is assigning "Pizza Delivery" to
testing->var1 instead.
When you call $test2->get_var1() you're calling the parent's get_var1()
method, which prints out the parent's var1 property. (which
t; 'DH', 'ð' => 'dh',
'ß' => 'ss', 'Œ' => 'OE', 'œ' => 'oe', 'Æ' => 'AE',
'æ' => 'ae', 'µ' => 'u' )
);
}
?>
--rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oxy for free invites: http://isnoop.net/gmailomatic.php
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greg Donald wrote:
On Mon, 20 Sep 2004 12:15:18 -0700, Rick Fletcher <[EMAIL PROTECTED]> wrote:
Please stop talking about gmail invites on the list. Anyone who wants
one, or who has some to give away, just do a google search for a place
to get or give them.
Sites like this one (the 3rd resu
se you haven't had
your fill of flaming someone for asking that the list be kept on topic,
try one of the half dozen other authors of emails to that effect that
have come through the list in the last day or two.
Cheers.
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ite/fclose, I'd suggest using the copy() function.
This line replaces the 8 lines above:
copy( $url, $filename );
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"print_r()"
it.
[snip]
upload_tmp_dir=/tmp
Check to make sure the server has permission to write to /tmp. I just
took away write permission to my upload_tmp_dir and tested this scenario
on my machine, and it behaved the way you're describing.
--Rick
--
PHP General Mailing
-Q-L". The
> interviewer pronounced it the same as I, but I have heard others say
> it differently.
My-S-Q-L. Few people realize that 'sequel' was the language used by
Ingres for their database and it was different from S-Q-L.
--
"You are the only one who can use your a
On Mon, Dec 08, 2008 at 09:01:56AM -0800, Ryan S wrote:
>
> Any advise is also most welcome.
'Advise' is a verb.
'Advice' is a noun.
No charge.
--
"I didn't understand this at first, but YOUR CONVINCING USE
OF CAPITAL LETTERS HAS MADE IT ALL CLEAR
osted by: \' OR id != \' On: 2008-12-08 13:24:59
\' OR id != \'
--
"The greatest danger to liberty today comes from...expert administrators
exclusively concerned with what they regard as the public good."
-- Friedrich Hayek
Rick Pasot
stem ( string $command [, int &$return_var ] )
You have to pass a pointer to the variable, not the variable itself.
--
"Paper has a genius for multiplication that cannot be equaled anywhere
else in nature." -- Hugh Keenleyside
Rick Pasottor...@niof.nethttp://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm using an "OnClick" routine to set a session variable before I go
to another page.
onClick= works fine but I
need a variable where "rick" is
I've tried
onClick=
and other variations but it doesn't work.
Can anybody tell me what the proper formatting
WHERE
date >= DATE_SUB(NOW(), INTERVAL 7 DAY)
Works just fine for me.
R
On Tue, Feb 24, 2009 at 4:15 PM, Terion Miller wrote:
> Need syntax help when it comes to using a timestamp.
> What I'm trying to say in my query WHERE clause is to select records if the
> timestamp on the record is in t
Try
set_time_limit (0);
-Original Message-
From: Ondrej Kulaty [mailto:kopyto...@gmail.com]
Sent: Sunday, March 01, 2009 11:19 PM
To: php-general@lists.php.net
Subject: [PHP] Re: Browser timeout
40 seconds is not very long execution time for timeout, if you have some
loop in the scrip
usually idiotic. He is, more likely, one who likes his
country more than the rest of us, and is thus more disturbed than
the rest of us when he sees it debauched. He is not a bad
citizen turning to crime; he is a good citizen driven to
despair." --- H. L. Mencken
Rick Pasottor
OK, first guys, I'm sorry to have to do this but I can't get off this list!!!
I've followed the instructions on a couple of occasions (the ones at
the bottom of every email):
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
Been There, done th
SORRY BUT
I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST
I'VE TRIED. NO RESPONSE. IS THERE AN ADMIN OUT THERE? PLEASE GET ME
OFF THIS LIST!
This message has been scanned for
viruses and dangerous content by
A
pret a php script as php?
--
The difficulties which I meet with in order to realize my existence are
precisely what awaken and mobilize my activities, my capacities.
Rick Pasottor...@niof.nethttp://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
explain of bot queries - but can't "read" them. :-)
SELECT t1.*
FROM registrants t1
LEFT JOIN ToBeRecleared t2 on t1.reg_id = t2.tbrc_reg_id
where t2.tbrc_reg_id is NULL
--
"Every major horror of history was committed in the name of an
altruistic motive." -- Ayn Rand,
.txt" so I know it exists and it has the permissions set
to 644, so it should be readable.
Can someone point out to me what I am doing wrong? Thanks,
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks Ashley & Nathan.
As it turns out, there is more than one "tmp" folder... and I was
looking in the wrong one. When I SSH'd in the correct one, I created
the missing file and it began to work properly.
Thanks for chiming in.
--Rick
On Jan 7, 2010, at 7:58 AM, As
when I am looking for "$0.11".
I tried:
$newprice = "$".round(number_format($old_price, 2, ".", ","),2);
But no luck.
Any help is appreciated.
Thanks,
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
well, I am not aware
of the logic to configure this accordingly.
Thanks,
--Rick
On Jan 11, 2010, at 10:55 AM, Ryan Sun wrote:
$newprice = sprintf("$%.2f", 15.109);
On Sun, Jan 10, 2010 at 8:36 PM, Rick Dwyer
wrote:
Hello List.
Probably an easy question, but I am not able t
On Jan 11, 2010, at 4:56 PM, tedd wrote:
At 2:55 PM -0500 1/11/10, Rick Dwyer wrote:
I have been asked to further modify the value to the nearest half
cent.
So if the 3rd decimal spot ends in 1 or 2, it gets rounded down to 0
If it ends in 3, 4, 5, 6 it gets rounded to 5. And if it 7, 8
t returns.
How can I force the formatting of my_price to always contain either 2
or 3 decimal points (3 if the original number contains 3 or more
decimal points to begin with)
Thanks,
--Rick
On Jan 11, 2010, at 10:39 PM, Adam Richardson wrote:
On Mon, Jan 11, 2010 at 7:45 PM, Matt
when the value of $my_price is 3.8 that is what it returns.
How can I force the formatting of my_price to always contain either
2 or 3 decimal points (3 if the original number contains 3 or more
decimal points to begin with)
Thanks,
--Rick
Rick:
Okay so 3.8 is stored in the database an
On Jan 22, 2010, at 7:30 PM, Nathan Rixham wrote:
Thanks Nathan I'll give it a shot.
--Rick
your doing the number format before the rounding.. here's a version of
the function that should fit the bill:
function round_to_half_cent( $value )
{
$value *= 100;
Thank you Nathan,
This worked quite well.
--Rick
On Jan 22, 2010, at 8:10 PM, Nathan Rixham wrote:
Rick Dwyer wrote:
On Jan 22, 2010, at 7:30 PM, Nathan Rixham wrote:
Thanks Nathan I'll give it a shot.
np - here's a more condensed version:
function round_to_half_ce
Hello all.
I'm trying to learn PHP on the fly and I have a line of code that
contains syntax I can't find documented anywhere:
php echo check('element8');
In the above line, can someone tell me what "check" means?
Thank you.
--Rick
--
PHP General Mailing
id. SO, I created a hidden field
on mypate.php with value="" and on
formcheck.php, I added $my_id = $_Post['my_id'];
However, when formcheck.php returns me to mypage.php, $my_id is still
blank.
Very frustrating.
Any help determining what I am doing wrong is greatly ap
uot; => 'Item Number:',
.
);
and I added:
"my_id" => 'My ID Is:',
And this works!
So when I am on mypage.php and I enter a value into the form field
"my_id" it carries over and repopulates should the form fail validation.
But upon initial load
o,status=no");
}
As I said above, the error message does not always appear.
Is the error due to the fact I am JS & PHP together?
Any help in understanding what I am doing wrong is appreciated.
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The most annoying thing in making it difficult to
to troubleshoot is this message does not always appear.
--Rick
On Tue, Mar 2, 2010 at 5:46 AM, Rick Dwyer
wrote:
Hello List.
I have some JS code that open a new window with a contact form in
it. When
the link is clicked to open the
coded value and I never received this error. Only
when I made it dynamic did this error appear.
Thanks for any help.
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
link and if so, sets the variable item_id to the value passed in the
URL.
Again however, this was not returning errors when the link was
hardcoded with a value in place of item_id.
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mar 2, 2010, at 9:45 AM, Joseph Thayne wrote:
I do not know if the question has been answered, but how are you
opening the session? Are you using session_start() or are you using
session_register()?
Hi Joseph.
It is created via:
session_start();
--Rick
--
PHP General Mailing List
is always wise." -- Alexander Meiklejohn, 1955
Rick Pasottor...@niof.nethttp://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, Mar 14, 2010 at 06:13:24PM +, Ashley Sheridan wrote:
> On Sun, 2010-03-14 at 14:15 -0400, Rick Pasotto wrote:
>
> > Has cli php changed recently?
> >
> > I've got a php script (script1) that creates a php script (script2) by
> > opening a file an
On Sun, Mar 14, 2010 at 08:40:51PM +, Ashley Sheridan wrote:
> On Sun, 2010-03-14 at 16:41 -0400, Rick Pasotto wrote:
>
> > On Sun, Mar 14, 2010 at 06:13:24PM +, Ashley Sheridan wrote:
> > > On Sun, 2010-03-14 at 14:15 -0400, Rick Pasotto wrote:
> > >
> &
On Mon, Mar 15, 2010 at 01:32:24PM +1300, Dmitry Ruban wrote:
> Rick Pasotto wrote:
> >
> >I repeat: is there more than one way to run a php script from the cli?
> >
>
> On *nix, you can add "#!/usr/bin/php" as first line and make file
> executable (chmod +
On Mon, Mar 15, 2010 at 02:35:54PM +1300, Dmitry Ruban wrote:
> Rick Pasotto wrote:
> >On Mon, Mar 15, 2010 at 01:32:24PM +1300, Dmitry Ruban wrote:
> >>Rick Pasotto wrote:
> >>>I repeat: is there more than one way to run a php script from the cli?
> >>>
5 more subdirectories... they would be
dynamically assigned to a variable.
Thanks for any help.
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK, I get the following error:
Warning: basename() expects parameter 1 to be string, array given in
When I use the following:
$thepath = parse_url($url);
$filename = basename($thepath);
Is my variable thepath not automatically string?
--Rick
On Jun 13, 2010, at 6:23 PM, Ashley
... if there were 5 more subdirectories... they would be
dynamically assigned to a variable.
--Rick
On Jun 13, 2010, at 6:42 PM, Ashley Sheridan wrote:
On Sun, 2010-06-13 at 18:35 -0400, Rick Dwyer wrote:
OK, I get the following error:
Warning: basename() expects parameter 1 to
str_replace("®","","$mystring");
I tried replacing the symbol in the above syntax with the HTML
equivalent but no luck.
Any help is appreciated.
Thanks,
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
SELECT * FROM contacts WHERE state = 'CA' and (name = 'bob' or name =
'sam' or name = 'sara')
--Rick
On Jun 18, 2010, at 4:30 PM, Dave wrote:
SELECT * FROM contacts WHERE state = 'CA' and name = 'bob' or
name = 'sam
On Jun 18, 2010, at 4:52 PM, Daniel Brown wrote:
Check your database's character encoding. My check:
Navicat shows it as Latin1. I believe UTF-8 is what it should be, but
I don't want to change it without understanding what impact it will
have.
Note that, while it won't make a
On Jun 18, 2010, at 5:13 PM, Daniel Brown wrote:
Can you hit the database from the command line to see if there's a
difference in the output when you take the server and browser out of
the equation?
No, I'm on Mac OS 10.5 and apparently I don't have a MySQL client
installed in terminal
OK, it's definitely an encoding issue... when I change the encoding of
my PHP page in BBedit to Western ISO Latin 1, it replaces successfully.
--Rick
On Jun 18, 2010, at 5:13 PM, Daniel Brown wrote:
On Fri, Jun 18, 2010 at 17:07, Rick Dwyer
wrote:
Navicat shows it as Latin
o return anything:
$PATH_INFO=
substr($_SERVER['REQUEST_URI'],strlen($_SERVER['SCRIPT_NAME']),
strlen($_SERVER['REQUEST_URI']));
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
T_STRING, expecting T_FUNCTION
Is it not in the scope of the class function?
--
"Memory is like an orgasm. It's a lot better if you don't have to fake it."
-- Seymour Cray (on virtual memory)
Rick Pasottor...@niof.nethttp://www.niof.net
--
PHP Gener
On Sun, Jun 20, 2010 at 08:47:53PM -0400, Brandon Rampersad wrote:
> $this->usort();
> self::usort();
>
> On Sun, Jun 20, 2010 at 7:45 PM, Rick Pasotto wrote:
>
> > Within a class function I have defined another function for use with the
> > usort() function. How d
laughs does not believe in what he laughs at, but neither does
he hate it. Therefore, laughing at evil means not preparing oneself to
combat it, and laughing at good means denying the power through which
good is self-propagating. -- Umberto Eco, "The Name of the Rose"
Rick Pa
item = str_replace("!","_","$mystring");
etc.
For every possible character I can think of, is there a way to simply
omit any character that is not an alpha character and not a number
value from 0 to 9?
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks to everyone who responded.
Regarding the myriad of choices, isn't Ashley's, listed below, the one
most like to guarantee the cleanest output of just letters and numbers?
--Rick
On Jun 22, 2010, at 11:44 AM, Ashley Sheridan wrote:
On Tue, 2010-06-22 at 11:40 -0400,
f you are happy that your input won't go beyond the a-z0-9
range, then it should do what you need.
No, actually I'm fairly confident characters outside the 128 range are
what are causing me problems now.
So I will try Richard's method.
Thanks to all.
--Rick
logic above capture and remove every non alpha numeric
character and place a SINGLE hyphen between the non contiguous alpha
numeric characters?
Thanks for the help on this.
--Rick
On Jun 22, 2010, at 4:52 PM, Rick Dwyer wrote:
On Jun 22, 2010, at 1:41 PM, Ashley Sheridan wrote:
It
Very good.
Thank you.
--Rick
On Jun 22, 2010, at 8:14 PM, Ashley Sheridan wrote:
On Tue, 2010-06-22 at 20:03 -0400, Rick Dwyer wrote:
Hello again list.
My code for stripping characters is below. I'm hoping to get
feedback
as to how rock solid it will provide the desired output
gt;
> We follow the standard and send both text and html.
The text portion is the *only* portion I read.
--
"When dealing with people, remember you are not dealing with creatures
of logic, but creatures of emotion." -- Dale Carnegie
Rick Pasottor...@niof.nethttp://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
queHousesAppointmentCalendar
vs. the PC returns:
AntiqueHousesTAppointmentCalendar
Is there any reason the PC version of FM converts the TM symbol to a T
instead of removing as it should via regex?
Thanks.
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lugin is working as it is removing everthing... but gets tripped
on the trade mark symbol. I sent a side by side screen shot of the
fields on the mac and pc to your personal address.
--Rick
On Jul 17, 2010, at 12:34 PM, Ashley Sheridan wrote:
On Sat, 2010-07-17 at 12:30 -0400, Rick
38.
This is all happening inside of FileMaker... I will test the PHP code
inside a web browser on both plaforms to see what happens.
--Rick
On Jul 17, 2010, at 2:08 PM, Rick Dwyer wrote:
On Jul 17, 2010, at 1:29 PM, Ashley Sheridan wrote:
Well, I did suggest one thing that could be happening. What do both
string lengths come to?
On the PC, the length of variable old string is 44 and new string is
39
On the Mac, the
On Jul 17, 2010, at 2:34 PM, Peter Lind wrote:
On 17 July 2010 20:08, Rick Dwyer wrote:
On Jul 17, 2010, at 1:29 PM, Ashley Sheridan wrote:
Well, I did suggest one thing that could be happening. What do both
string lengths come to?
On the PC, the length of variable old string is 44
nswer as simple as:
urlencode($myvar)
Thanks,
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
So htmlentities() will work for "Green, Red & Blue"?
Will it work for "htm?color=blue&number=2&letter="?
--Rick
On Jul 29, 2010, at 12:23 AM, Josh Kehn wrote:
> Rick-
>
> Probably would use htmlentities() instead. You could also
Exactly what I was looking for!
Thanks Josh.
--Rick
On Jul 29, 2010, at 12:33 AM, Josh Kehn wrote:
> Rick-
>
> Give it a try!
>
> $test_one = "Green, Red & Blue";
> $test_two = "htm?color=blue&number=2&letter=a";
>
> echo htmlentit
Hello List.
In the Alt section of the IMG tag below, the variable $myitem has a value of
"Who's There".
echo " http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Aug 3, 2010, at 2:47 PM, Sebastian Ewert wrote:
> Rick Dwyer wrote:
>> Hello List.
>>
>> In the Alt section of the IMG tag below, the variable $myitem has a value of
>> "Who's There".
>>
>> echo " > src='/itemimages/$m
Thanks Ash... this worked.
--Rick
On Aug 3, 2010, at 3:01 PM, Ashley Sheridan wrote:
> On Tue, 2010-08-03 at 15:00 -0400, Rick Dwyer wrote:
>
>> On Aug 3, 2010, at 2:47 PM, Sebastian Ewert wrote:
>>
>>> Rick Dwyer wrote:
>>>> Hello List.
>>>>
On Aug 3, 2010, at 3:15 PM, Sebastian Ewert wrote:
> Ashley Sheridan wrote:
>> On Tue, 2010-08-03 at 15:00 -0400, Rick Dwyer wrote:
>>
>>> On Aug 3, 2010, at 2:47 PM, Sebastian Ewert wrote:
>>>
>>>> Rick Dwyer wrote:
>>>>> Hello Lis
On Aug 3, 2010, at 3:36 PM, Ashley Sheridan wrote:
> On Tue, 2010-08-03 at 15:32 -0400, Rick Dwyer wrote:
>>
>> On Aug 3, 2010, at 3:15 PM, Sebastian Ewert wrote:
>>
>> > Ashley Sheridan wrote:
>> >> On Tue, 2010-08-03 at 15:00 -0400, Rick Dwyer wrote
kstat = 'select field from table where fieldid = "'.$field_id.'"';
$result1 = @mysql_query($checkstat,$connection) or die('Couldn\'t execute
query');
The focus being here:
"'.$field_id.'"';
('Couldn\'t execute query')
Is this correct?
Thanks for the help.
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
601 - 700 of 936 matches
Mail list logo