On Dec 1, 2007 3:53 PM, Crayon Shin Chan [EMAIL PROTECTED] wrote:
On Saturday 01 December 2007, tedd wrote:
At 10:21 AM +0800 11/30/07, Crayon Shin Chan wrote:
On Friday 30 November 2007, tedd wrote:
I'm trying to understand joins,
Ask on a database related list.
Really?
Really.
Daniel Brown wrote:
On Nov 30, 2007 10:22 AM, Jochem Maas [EMAIL PROTECTED] wrote:
Daniel Brown wrote:
I was tempted to flame Tedd just because he's Tedd. ;-P
lol. but then the guy was programming Rocks(tm) way before I was
born, that has to count for something :-)
Please keep
At 10:30 AM -0500 11/30/07, Daniel Brown wrote:
On Nov 30, 2007 10:22 AM, Jochem Maas [EMAIL PROTECTED] wrote:
Daniel Brown wrote:
I was tempted to flame Tedd just because he's Tedd. ;-P
lol. but then the guy was programming Rocks(tm) way before I was
born, that has to count for
On Thu, 2007-11-29 at 15:41 -0500, tedd wrote:
Hi gang:
I'm trying to understand joins,
Here's the situation. I have two tables (user1, user2) in one database:
The common field between the two tables is username. I want to take
fields login and password from user2 and populate the same
On Nov 29, 2007 3:41 PM, tedd [EMAIL PROTECTED] wrote:
Hi gang:
Hi, Tedd.
PS: Side note -- will safe_mode ON cause problems with this?
Negative. I can't see any reason to even think so. All safe_mode
does is check the UID/GID of the script to make sure it matches that
of the target
tedd [EMAIL PROTECTED] wrote:
Hi gang:
I'm trying to understand joins,
Here's the situation. I have two tables (user1, user2) in one database:
The common field between the two tables is username. I want to take
fields login and password from user2 and populate the same fields
On Thu, 2007-11-29 at 15:47 -0500, Wolf wrote:
tedd [EMAIL PROTECTED] wrote:
Hi gang:
I'm trying to understand joins,
Here's the situation. I have two tables (user1, user2) in one database:
The common field between the two tables is username. I want to take
fields login
At 4:11 PM -0500 11/29/07, Robert Cummings wrote:
Grep? Loop? A single query will suffice. Also, he doesn't mention
wanting to clobber the passwords in table1 when the username does
already exist.
Cheers,
Rob.
Table1 passwords and logins are not populated. I want to take those
appearing in
Hi gang:
I found why the JOIN didn't work for me in this instance, which was I
needed to create a third table and JOIN what I needed in that table
from the other two.
My problem was that I was trying to alter one of the tables in the
JOIN. While that might be possible it didn't appear so in
I build an array of the list. Then nuSOAP helps when converting it to XML
but PHP5 can probably do the same thing.
The following builds an array of line_items to put on an order. Then
inserts that array into another array containing more order data:
for ($i = 1; $i = $num_items; $i++) {
On Friday 30 November 2007, Robert Cummings wrote:
That's an amusing statement. I took a peek back in time and noticed
that in the past 5 months you've only made two on-topic useful posts to
the PHP General list-- and they were both for the same thread.
If you have that much free time on your
On Fri, 2007-11-30 at 10:21 +0800, Crayon Shin Chan wrote:
On Friday 30 November 2007, tedd wrote:
I'm trying to understand joins,
Ask on a database related list.
That's an amusing statement. I took a peek back in time and noticed that
in the past 5 months you've only made two on-topic
On Thu, 2007-11-29 at 18:43 -0500, tedd wrote:
Hi gang:
I found why the JOIN didn't work for me in this instance, which was I
needed to create a third table and JOIN what I needed in that table
from the other two.
My problem was that I was trying to alter one of the tables in the
Out of curiosity, what SQL server (and version) are you using? I
currently have MySQL 5.0.33 on my dev box and I had no problem with the
query I gave you. Perhaps it's a version issue. There really shouldn't
be a problem updating a table that also occurs in the select query since
the select
On Fri, 2007-11-30 at 11:00 +0800, Crayon Shin Chan wrote:
On Friday 30 November 2007, Robert Cummings wrote:
That's an amusing statement. I took a peek back in time and noticed
that in the past 5 months you've only made two on-topic useful posts to
the PHP General list-- and they were
On Fri, 2007-11-30 at 14:00 +1100, Chris wrote:
Out of curiosity, what SQL server (and version) are you using? I
currently have MySQL 5.0.33 on my dev box and I had no problem with the
query I gave you. Perhaps it's a version issue. There really shouldn't
be a problem updating a table that
On Friday 30 November 2007, tedd wrote:
I'm trying to understand joins,
Ask on a database related list.
--
Crayon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 30 November 2007, Robert Cummings wrote:
Or are you saying that one needs to make a lot of on-topic posts to
build up credit in order to be able to make off-topic posts?
No, I'm merely pointing out the hypocrisy.
That would only be true if I had been making off-topic posts. But so
On Fri, 2007-11-30 at 13:49 +0800, Crayon Shin Chan wrote:
On Friday 30 November 2007, Robert Cummings wrote:
Or are you saying that one needs to make a lot of on-topic posts to
build up credit in order to be able to make off-topic posts?
No, I'm merely pointing out the hypocrisy.
On Wed, 2007-11-28 at 22:19 -0700, Jon Westcot wrote:
Hi all:
Since I'm relatively new to PHP, I'm not familiar with all of the
shortcuts and efficient ways one could write a routine that handles
converting data from one format into another, so I thought I'd ask here for
Thanks, Rob! I can see that it's going to be important for me to get
familiar with the POSIX regular expressions.
Jon
- Original Message -
On Wed, 2007-11-28 at 22:19 -0700, Jon Westcot wrote:
Hi all:
Since I'm relatively new to PHP, I'm not familiar with all of the
shortcuts
On Wed, 2007-11-28 at 22:47 -0700, Jon Westcot wrote:
Thanks, Rob! I can see that it's going to be important for me to get
familiar with the POSIX regular expressions.
You can use the perl versions too. I just got used to the posix versions
a long time ago :). BTW, if you didn't notice I
On Nov 24, 2007 2:32 AM, Jon Westcot [EMAIL PROTECTED] wrote:
Hi all:
For those who've been following the saga, I'm working on an application
that needs to load
a data file consisting of approximately 29,000 to 35,000 records in it (and
not short ones,
either) into several tables.
Eventually, I wind up with a query similar to:
UPDATE table_01 SET field_a = 'New value here', updated=CURDATE() WHERE
primary_key=12345
Even though you've solved it one way to work out the problem here would
be to change it to a select query (unfortunately mysql can't explain
-Original Message-
From: Jon Westcot [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 24, 2007 4:32 AM
To: PHP General
Subject: [PHP] Performance question for table updating
Hi all:
For those who've been following the saga, I'm working on an
application that needs to load
Hi Rob, et al.:
- Original Message -
From: Andrés Robinet [EMAIL PROTECTED]
-Original Message-
From: Jon Westcot [mailto:[EMAIL PROTECTED]
:: gigantic snip here::
So, long story short (oops -- too late!), what's the concensus
among the learned assembly here? Is
Could there be some performance gain by uploading the data to another table and
then update / insert via sql?
bastien
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Date: Sat, 24 Nov 2007 04:03:53 -0700
Subject: Re: [PHP] Performance question
At 1:14 PM +0900 11/24/07, Dave M G wrote:
Larry,
Thanks for your advice.
With the XML editor available within PHP, I've made a small script
that can extract the point data inside an SVG file, and store them
as an array of points.
That array can then be used to draw and fill shapes in a
On Sat, 2007-11-24 at 04:03 -0700, Jon Westcot wrote:
Moral of the story? Two, really. First, ensure you always reference
values in the way most appropriate for their type. Second, don't make your
idiocy public by asking stupid questions on a public forum. g What's the
quote
Larry,
Thanks for your advice.
With the XML editor available within PHP, I've made a small script that
can extract the point data inside an SVG file, and store them as an
array of points.
That array can then be used to draw and fill shapes in a PNG image. And
since they are stored as an
Casey,
There is no SVG support in PHP, as far as I know.
Thank you. That clears things up. I'll just go with PNGs then.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday 21 November 2007, Dave M G wrote:
Casey,
There is no SVG support in PHP, as far as I know.
Thank you. That clears things up. I'll just go with PNGs then.
I think you missed the point. SVG is just text. It's XML. You can
manipulate it with SimpleXML or the DOM API functions
Larry,
Thank you for responding.
I think you missed the point. SVG is just text. ... There's no need
for SVG support per se, as SimpleXML provides all you need anyway.
I did miss the point - thanks for setting me straight.
However, I'm still unsure about using SVGs. On the one hand, what
On Wednesday 21 November 2007, Dave M G wrote:
Larry,
Thank you for responding.
I think you missed the point. SVG is just text. ... There's no need
for SVG support per se, as SimpleXML provides all you need anyway.
I did miss the point - thanks for setting me straight.
However, I'm
On Nov 20, 2007 7:24 PM, Dave M G [EMAIL PROTECTED] wrote:
PHP list,
I have some images that are in SVG format. What I want to do with them
is manipulate them by resizing and overlaying one on top of the other.
I do this frequently with PNG images, and I could first convert these
images to
my point was: date() doesn't work - it's Date() (at least in Firefox)
tedd-2 wrote:
At 2:13 PM -0500 11/15/07, Jeremy Mcentire wrote:
On Nov 14, 2007, at 4:21 PM, Jürgen Wind wrote:
better use Date() in js ...
tedd-2 wrote:
Current date/time for whom?
For your server, use php's date().
For
At 8:21 AM -0800 11/16/07, Jürgen Wind wrote:
my point was: date() doesn't work - it's Date() (at least in Firefox)
Wow, you really have that capitalization thing
down -- you're an impressive Wind.
I used small case because this is a php list and
I didn't want to confuse anyone with trying
tedd-2 wrote:
I used small case because this is a php list and
I didn't want to confuse anyone with trying to
get Date() to work in php.
no need to worry, in *php* functions are not case sensitive.
cheers
Jürgen
--
View this message in context:
On Nov 15, 2007, at 7:50 PM, Juan Marcelo Rodríguez wrote:
2007/11/15, Philip Thompson [EMAIL PROTECTED]:
On Nov 15, 2007 5:12 PM, Juan Marcelo Rodríguez
[EMAIL PROTECTED]
wrote:
Yes, I made a mistake in the first sentence.
The code is :
[...]
foreach ($equipos as $key = $val){
echo trtd;
At 2:13 PM -0500 11/15/07, Jeremy Mcentire wrote:
On Nov 14, 2007, at 4:21 PM, Jürgen Wind wrote:
better use Date() in js ...
tedd-2 wrote:
Current date/time for whom?
For your server, use php's date().
For the user, use javascript's date().
It's so cool to be multilingual. :-)
Cheers,
tedd
On Nov 14, 2007 10:00 PM, Instruct ICC [EMAIL PROTECTED] wrote:
Enough about me. I never thought I'd say this in earnest...
RTFM
Have I become like who I've despised?
We all do eventually
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
If at first you
On Nov 14, 2007, at 4:21 PM, Jürgen Wind wrote:
better use Date() in js ...
tedd-2 wrote:
Current date/time for whom?
For your server, use php's date().
For the user, use javascript's date().
It's so cool to be multilingual. :-)
Cheers,
tedd
I don't know that that's better. Then, suddenly,
Yes, I made a mistake in the first sentence.
The code is :
[...]
foreach ($equipos as $key = $val){
echo trtd;
echo 1 . /tdtd; // I would like to add the counter here reeplacing
1
print input type=\radio\ name=$key value=\l\ / . /tdtd;
echo $key . /tdtd;
print input type=\radio\ name=$key
2007/11/15, Philip Thompson [EMAIL PROTECTED]:
On Nov 15, 2007 5:12 PM, Juan Marcelo Rodríguez
[EMAIL PROTECTED]
wrote:
Yes, I made a mistake in the first sentence.
The code is :
[...]
foreach ($equipos as $key = $val){
echo trtd;
echo 1 . /tdtd; // I would like to add the
Thanks.
I solved it using this :
$x = 0;
foreach ($equipos as $key = $val){
$x = $x + 1;
echo trtd;
echo $x . /tdtd;
2007/11/15, Michael McGlothlin [EMAIL PROTECTED]:
$x = 0;
foreach ( $blah as $bleh ) {
$x = $x + 1;
print $x: $bleh;
}
HI,
I'm working with an associative array, and
On Nov 15, 2007 5:12 PM, Juan Marcelo Rodríguez [EMAIL PROTECTED]
wrote:
Yes, I made a mistake in the first sentence.
The code is :
[...]
foreach ($equipos as $key = $val){
echo trtd;
echo 1 . /tdtd; // I would like to add the counter here
reeplacing
1
echo trtd.($key+1)./tdtd;
Juan Marcelo Rodríguez wrote:
I'm working with an associative array, and generating its data a form. I use
foreach to loops the contents of the array and echo to print the table and
the data. Everything goes well, however I would like to add a counter to
print the row's number.
The question :
$x = 0;
foreach ( $blah as $bleh ) {
$x = $x + 1;
print $x: $bleh;
}
HI,
I'm working with an associative array, and generating its data a form. I use
foreach to loops the contents of the array and echo to print the table and
the data. Everything goes well, however I would like to add a counter
Hello,
Use the date function http://us3.php.net/date.
Regards,
William Betts
[EMAIL PROTECTED] wrote:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right
Check out date function.
?
echo date(r, time());
?
Prints out nice local time, what you need can be made by changing the r
option. Have a look at the manual for alternatives to r liek Y for year,
etc...
so far
- Ursprüngliche Nachricht -
Von: [EMAIL PROTECTED] [EMAIL PROTECTED]
On Nov 14, 2007 12:39 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right function
or how to display it
On Nov 14, 2007, at 12:39 PM, [EMAIL PROTECTED] wrote:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right
function
or how to display it
Hi!
Look at this:
http://es.php.net/manual/es/function.date.php
[EMAIL PROTECTED] escribió:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right function
or
At 9:39 AM -0800 11/14/07, [EMAIL PROTECTED] wrote:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right function
or how to display it
Thanks Folks,
The date function worked great!
--
Thanks - RevDave
Cool7 @ hosting4days . com
[db-lists]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right
function
or how to display it
http://www.php.net/manual/en/function.getdate.php
On Nov 14, 2007 3:19 PM, Jon Westcot [EMAIL PROTECTED] wrote:
Hi:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right
function
or how
On Nov 14, 2007, at 3:39 PM, Daniel Brown wrote:
On Nov 14, 2007 3:19 PM, Jon Westcot [EMAIL PROTECTED] wrote:
Hi:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this
On Nov 14, 2007 3:54 PM, Jason Pruim [EMAIL PROTECTED] wrote:
[snip]
Now... Just exactly what makes you think it was a typo oh Master
Brown?
[snip]
Yeah, keep it up, smartass. I'm on to you ;-P
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
If at first
better use Date() in js ...
tedd-2 wrote:
Current date/time for whom?
For your server, use php's date().
For the user, use javascript's date().
It's so cool to be multilingual. :-)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com
Date: Wed, 14 Nov 2007 09:39:19 -0800
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [PHP] Newbie question - current date - time
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate
At 7:00 PM -0800 11/14/07, Instruct ICC wrote:
But dude, there are many ways to skin a cat.
Yeah, but he's not going to like any of them. :-)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To
On 10/31/07, Jake [EMAIL PROTECTED] wrote:
What is a =20 at the end of a line in an email?
It is a space character when the message is encoded using
quoted-printable encoding.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Couldn't you just use the wordwrap function? Something like this:
$my_text = This is a story all about how my life got flipped turned upside
down. I'd like to take a minute just sit right there, I'll tell you how I
became the Prince of a town called Belaire.
$my_wrapped_text = wordwrap($my_text,
Does anyone know a good way to protect a directory that a php script NEEDS
to write too?
What I'm doing now:
1. create a directory manually myDir
2. chmod 777 myDir
3. password protect the directory with htaccess
Is this the best way, or is there something better?
You could chmod the
Andrew Peterson wrote:
Does anyone know a good way to protect a directory that a php script NEEDS
to write too?
What I'm doing now:
1. create a directory manually myDir
2. chmod 777 myDir
3. password protect the directory with htaccess
Is this the best way, or is there something better?
Shahrzad wrote:
IRIran.netHi,
I want to replace a php variable with a javascript variable inside script
type=text/javascript tag in a TPL file(smarty) , how can I do that?
//what in my mind is , but this code is wrong
///
var Country =
Hi,
I believe this would be a bug - report it at http://bugs.php.net/ with the
exact error output and a minimal example script.
--rob
On 9/5/07, Frank Höger [EMAIL PROTECTED] wrote:
Hello,
I recently came across an invalid opcode 137/8/8 error. I couldn't
find anything on the net regarding
On Wed, 2007-09-05 at 14:15 +0200, Frank Höger wrote:
Hello,
I recently came across an invalid opcode 137/8/8 error. I couldn't
find anything on the net regarding this specific error. Where can I find
documentation concerning opcodes and particularly this error?
I took your exact quoted
On 8/16/07, Jason Pruim [EMAIL PROTECTED] wrote:
Hey Everyone,
Is it possible to have variables affect the database results of an
included php page in a shtml page? Let me try and clear that up...
index.shtml?order=a that does not resort the database results
index.php?order=a -
On Aug 16, 2007, at 10:34 AM, Daniel Brown wrote:
On 8/16/07, Jason Pruim [EMAIL PROTECTED] wrote:
Hey Everyone,
Is it possible to have variables affect the database results of an
included php page in a shtml page? Let me try and clear that up...
index.shtml?order=a that does not
On 8/16/07, Jason Pruim [EMAIL PROTECTED] wrote:
On Aug 16, 2007, at 10:34 AM, Daniel Brown wrote:
On 8/16/07, Jason Pruim [EMAIL PROTECTED] wrote:
Hey Everyone,
Is it possible to have variables affect the database results of an
included php page in a shtml page? Let me try and clear
On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
Unless I use sessions maybe? Could I write the sort order into a
session variable and have that change? Or did I completely
misunderstand what sessions are used for? :)
You could definitely do it with sessions if you wanted, but you
On 8/16/07, Jason Pruim [EMAIL PROTECTED] wrote:
On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
Unless I use sessions maybe? Could I write the sort order into a
session variable and have that change? Or did I completely
misunderstand what sessions are used for? :)
You
On Aug 16, 2007, at 11:56 AM, Daniel Brown wrote:
On 8/16/07, Jason Pruim [EMAIL PROTECTED] wrote:
On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
Unless I use sessions maybe? Could I write the sort order into a
session variable and have that change? Or did I completely
misunderstand
On 8/16/07, Jason Pruim [EMAIL PROTECTED] wrote:
On Aug 16, 2007, at 11:56 AM, Daniel Brown wrote:
On 8/16/07, Jason Pruim [EMAIL PROTECTED] wrote:
On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
Unless I use sessions maybe? Could I write the sort order into a
session variable
Jason Pruim wrote:
On Aug 16, 2007, at 11:56 AM, Daniel Brown wrote:
Otherwise, is there any reason you're not just doing something
like the following?
?
include('templates/header.html');
// Data goes here
include('templates/footer.html');
?
Because I came as a HTML
On 8/15/07, tedd [EMAIL PROTECTED] wrote:
Hi gang:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another page?
I know that I could use phpclasses, but that seems an overkill.
I think something like this --
$file_source =
tedd wrote:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another page?
I know that I could use phpclasses, but that seems an overkill.
I think something like this --
$file_source = 'ice-fishing.mov';
$size = filesize($file_source,,);
tedd wrote:
Hi gang:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another page?
I know that I could use phpclasses, but that seems an overkill.
I think something like this --
$file_source = 'ice-fishing.mov';
$size =
At 4:32 PM +0100 8/15/07, Stut wrote:
tedd wrote:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another page?
I know that I could use phpclasses, but that seems an overkill.
I think something like this --
$file_source =
I'm not sure if this would be of help or not, but have you tried
setting 'Content-disposition: inline' in the header?
On 8/15/07, tedd [EMAIL PROTECTED] wrote:
At 4:32 PM +0100 8/15/07, Stut wrote:
tedd wrote:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the
tedd wrote:
At 4:32 PM +0100 8/15/07, Stut wrote:
tedd wrote:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another
page?
I know that I could use phpclasses, but that seems an overkill.
I think something like this --
$file_source =
At 8:54 PM +0100 8/15/07, Stut wrote:
tedd wrote:
At 4:32 PM +0100 8/15/07, Stut wrote:
tedd wrote:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another page?
I know that I could use phpclasses, but that seems an overkill.
I think
Can't you just embed embed the file in the page?
object classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B
codebase=http://www.apple.com/qtactivex/qtplugin.cab; height=256
width=320 param name=src value=?php echo
./vids/$file ? param
On Wed, August 1, 2007 3:27 pm, Jay Blanchard wrote:
[snip]
$first = '.addslashes($_POST['firstname']).';
$last = '.addslashes($_POST['lastname']).';
$email = '.addslashes($_POST['email']).';
$address = '.addslashes($_POST['address']).';
$city =
[snip]
$first = '.addslashes($_POST['firstname']).';
$last = '.addslashes($_POST['lastname']).';
$email = '.addslashes($_POST['email']).';
$address = '.addslashes($_POST['address']).';
$city = '.addslashes($_POST['city']).';
$state = '.addslashes($_POST['state']).';
CK wrote:
Hi,
Engaged in cleanup project, attempting to understand the uncommented
decisions of predecessors. Inserting the following contact form values
into a DB:
$first = '.addslashes($_POST['firstname']).';
$last = '.addslashes($_POST['lastname']).';
$email =
On Wed, 2007-08-01 at 13:20 -0700, CK wrote:
Hi,
Engaged in cleanup project, attempting to understand the
uncommented decisions of predecessors. Inserting the following
contact form values into a DB:
$first = '.addslashes($_POST['firstname']).';
$last =
Thanks for all the input. You've all been pretty informative. Sorry of
delayed response to help but was busy. You all are appreciated.
Stut [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Richard Lynch wrote:
On Wed, July 11, 2007 4:16 pm, Robert Cummings wrote:
But I'd have to
On Sat, 2007-07-14 at 00:55 -0500, Richard Lynch wrote:
On Fri, July 13, 2007 2:15 am, Richard Lynch wrote:
On Thu, July 12, 2007 8:29 am, Robert Cummings wrote:
Hmmm, I thought using an explicit cast was very self explanatory --
especially when the name of the cast is array. Maybe I'm
On Thu, July 12, 2007 8:29 am, Robert Cummings wrote:
Hmmm, I thought using an explicit cast was very self explanatory --
especially when the name of the cast is array. Maybe I'm alone in
that
thought. I mean if you convert a scalar to an array what do you expect
to get? An array with the
On Fri, 2007-07-13 at 02:15 -0500, Richard Lynch wrote:
On Thu, July 12, 2007 8:29 am, Robert Cummings wrote:
Hmmm, I thought using an explicit cast was very self explanatory --
especially when the name of the cast is array. Maybe I'm alone in
that
thought. I mean if you convert a scalar
On Fri, July 13, 2007 2:15 am, Richard Lynch wrote:
On Thu, July 12, 2007 8:29 am, Robert Cummings wrote:
Hmmm, I thought using an explicit cast was very self explanatory --
especially when the name of the cast is array. Maybe I'm alone in
that
thought. I mean if you convert a scalar to an
Richard Lynch wrote:
On Wed, July 11, 2007 4:16 pm, Robert Cummings wrote:
But I'd have to say that the intent is not all that clear, really,
and
I'd be leery of this feature, personally.
I wouldn't be leery at all. It's been around for a very long time and
it's documented:
On Thu, 2007-07-12 at 09:58 +0100, Stut wrote:
Richard Lynch wrote:
On Wed, July 11, 2007 4:16 pm, Robert Cummings wrote:
But I'd have to say that the intent is not all that clear, really,
and
I'd be leery of this feature, personally.
I wouldn't be leery at all. It's been around for a
On 11/07/07, kvigor [EMAIL PROTECTED] wrote:
Is there a php function similar to in_array that can detect if a partial
value is in an array value or not:
e.g.
$var1 = big horse;$var2 = small yellow;$var3 = red hydrant;
$theArray = array(big blue horse, small yellow bird, giant red
Thanks,
I've seen the light by your code.
Robin Vickery [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 11/07/07, kvigor [EMAIL PROTECTED] wrote:
Is there a php function similar to in_array that can detect if a partial
value is in an array value or not:
e.g.
$var1 = big
On Wed, 2007-07-11 at 09:46 +0100, Robin Vickery wrote:
On 11/07/07, kvigor [EMAIL PROTECTED] wrote:
Is there a php function similar to in_array that can detect if a partial
value is in an array value or not:
e.g.
$var1 = big horse;$var2 = small yellow;$var3 = red hydrant;
Robert Cummings wrote:
On Wed, 2007-07-11 at 09:46 +0100, Robin Vickery wrote:
On 11/07/07, kvigor [EMAIL PROTECTED] wrote:
Is there a php function similar to in_array that can detect if a partial
value is in an array value or not:
e.g.
$var1 = big horse;$var2 = small yellow;$var3
801 - 900 of 3066 matches
Mail list logo