On 13-09-04 05:09 PM, Micky Hulse wrote:
Thank you so much for the quick and very informative/educational
replies Stephen and David, I really appreciate it! :)
On Wed, Sep 4, 2013 at 12:36 PM, Stephen wrote:
This sounds simply like a library of functions that are implemented using
objects
e standard "require_once" in your various PHP source files
so you only deal with loading the library file in the first file in
which it is needed. It would not be loaded from other files.
Instantiate your static variables in the library file. Again, so that
only happens once.
--
Stephen
--
t the overwhelming majority of Android apps are written in
JAVA. That explains its popularity.
--
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
been talking about "javascript" which is not
the same thing as java despite the similarity in their names.
Javascript is part of the web page, and executes in the users browser.
It is very common and may rival PHP in frequency of use.
--
Stephen
--
PHP General Mailing List (http://w
don't see anything
concatenating a LF to my string.
Is this a browser being used for input? Never assume what a browser will do.
It is good practice to validate and condition data before inserting into
a database.
Consider trimming the data before doing the INSERT.
--
Stephen
--
PHP Ge
!!!
so the looks of the pages get very strange from smaller (Opera) and
much bigger (Explorer)
brower !!!
The img tag supports specifying the height and width.
--
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nt on YOUR
database schema.
You have to do that work; there is no way around it.
--
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 13-05-23 04:51 PM, Last Hacker Always onpoint wrote:
Hey I need code for random number 1-30 for my site.
http://php.net/manual/en/function.rand.php
--
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 13-04-12 02:28 AM, shiplu wrote:
On Fri, Apr 12, 2013 at 4:24 AM, Stephen <mailto:stephe...@rogers.com>> wrote:
Now I have to install on my home development machine!
You can install it by following command
pecl install bbcode
Note: root privilege is necessary to install
On 13-04-10 10:05 PM, Stephen wrote:
I ran phpinfo() on my host and searched for "BBCode". Not found.
Does this mean that the extension is not installed?
If not, how can I tell?
Thanks
I am quite impressed with my host, hostpapa.ca
I put in a ticket, and in 8 hours then enabled
over the common approach based on regular
expressions. Further more, it helps provide valid HTML by reordering
open / close tags and by automatically closing unclosed tags.
--
Stephen
I ran phpinfo() on my host and searched for "BBCode". Not found.
Does this mean that the extension is not installed?
If not, how can I tell?
Thanks
--
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You first step is to check the log files.
No matter how sure we are that there is no syntax error, always start
with the logs.
It could be a file permission problem.
Stephen
On 13-04-09 11:00 AM, fr...@me.com wrote:
Hi everyone,
I have some weird problem with PHP compiler or something of
e the database.
I suggest you visit the great web site sitepoint.com. There are great
SQL people to help you there.
Stephen
On 13-01-31 02:21 PM, Angela Barone wrote:
Hello,
I have a formula that says, if 'specialprice' is not empty and it is
lower than 'unitprice
is
done there, either.
Thanks in advance for suggestions!
--
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 13-01-02 10:53 AM, Marc Guay wrote:
Hi folks,
if ($a = "foo" && $b = "bar"){
echo $a."".$b;
}
Returns:
1
bar
I expect:
foo
bar
Is this documented?
&& takes precedence over =
http://php.net/manual/en/language.operators.precedence
On 12-12-31 03:37 PM, Nelson Green wrote:
On Mon, 31 Dec 2012 14:47:20 Stephen D wrote:
Yes!
Easy standard stuff.
$title = 'Mr.";
$user_name = 'John Doe';
$message = "Hello $title $user_name "
Just define the value for the variables before defining the val
is has been asked before and I missed it. I'm
just not sure how to phrase this for a search engine.
Nelson
--
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I read about the subject in another thread.
Where does PDO fit?
That is what I have used for sometime. Am I good?
--
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
downloaded is missing the config.w32 file and I'm not sure why this file is
missing from the package.
Stephen Landry
SAP
Release Engineering
245 First Street
16th Floor
Cambridge, Mass 02139
Phone: 617-715-7437
Cell: 603-247-8722
ink that the $row in the second loop would be assigned a
non-reference value.
Tim
Tim,
You are using the &$variable in an unintended (by PHP designers), and I
suggest undefined manner.
So the outcome cannot, but definition be explained.
Was this intended, and what were you trying
I cut and pasted your code and got the same result.
I flipped the two foreach blocks and got the expected results.
I deleted the first block and copied the second, then updated the
string. I got this. I can't explain.
'Title #1',
),
array(
'Title' => 'Title #2',
FETCH_NUM)) {
echo $name . "";
}
return "test worked" ;
}
If I hard code the SQL as:
$sql = "SELECT * FROM photographs WHERE
photo_filename LIKE '%2%' LIMIT 0, 4";
all works well.
Can anyone see what is wrong?
How can I see the prepared SQL statement before it is executed?
Thanks
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(PDOException $e) {
return 'Error updating category orders: ' . $e->getMessage();
}
return "Maintained category " . $catname;
}
PDO is very efficient when you are looping through updates, and the
error handling is simple to code.
Using a disciplined format keeps everything readable and easy to use as
a template for additional work.
Cheers
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rm handler does is up to you. You can:
Respond to the user
Save the data in a file or database
Email the data
Good luck
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 11-10-16 04:10 PM, Jim Giner wrote:
Stephen:
What you describe is a multistep problem. There are many ways to show
pictures (images) in any order you want.
*
So far, the OP has only asked how to keep his "categories" in order.
Curious, yes, but he hasn't even asked how
orm of all categories and have a field for
new order number, Then loop through the POST and update the values.
The field is not unique, so I am not worried about DB errors.
But I wonder if there is a better way.
Thoughts please?
Thank you
Stephen
--
PHP General Mailing List (http://www.ph
On 11-10-13 10:49 PM, Stephen wrote:
I have a web page with a form with a text area. I enter:
foo
bar
PHP processes the POST and inserts the record into MySQL.
The database field is text.
I use PDO
For testing I have removed any processing of the text area content.
Now, no matter how
On 11-10-14 04:25 PM, Richard Quadling wrote:
On 14 October 2011 03:49, Stephen wrote:
I have a web page with a form with a text area. I enter:
foo
bar
PHP processes the POST and inserts the record into MySQL.
The database field is text.
I use PDO
For testing I have removed any
bar, in the
database record, I always get a single newline character.
I am using Firefox 7.0.1.
Is this normal behaviour? I want to be able to enter more than 1 newline.
Thanks
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
] = stripslashes($v);
}
}
}
unset($process);
}
?>
I know it is not the answer you are looking for, but it does work, and
used by thousands of coders.
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 11-10-01 11:57 AM, Jim Giner wrote:
I'm trying to set magic quotes Off as my reading tells me that it's not good
to have it defaulted to On.
http://php.net/manual/en/security.magicquotes.disabling.php
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
101 = 5
110 = 6
111 = 7
So binary 111 is 4 + 2 + 1 = 7
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stephen,
you can try setting the session path using session_save_path
http://www.php.net/manual/en/function.session-save-path.php.
Gerardo
www.webseficientes.com.ar
On Sat, Jun 5, 2010 at 2:18 AM, Stephen Sunderlin <
stephen.sunder...@verizon.net> wrote:
trying out a CentOS release 5.2
trying out a CentOS release 5.2 (Final) V4_1_0 on AWS. Was working
fine and now it seems that php has stopped writing any session variable
to /tmp. I was cleaning up the user table in mysql and limiting
permissions. Not sure that this would have anything to do with it.
Restarted apache/my
n an array, and query
the elements.
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dan Joseph wrote:
I want to take a group of items, and divide them into equal groups based on
a max per group. Example.
1,252,398 -- divide into equal groups with only 30 items per group max.
1,252,398 DIV 30 = 41,746 groups of 30.
1,252,398 MOD 30 = 18 items in last group
Stephen
ely syntax of the insert statement.
Do your insert statements work if used in MySQL Query Browser?
What is MySQL returning?
Are you using OOP or old functions?
Have you tried having PHP echo your insert statement so you can see
exactly what you are sending MySQL?
Stephen
--
PHP General Ma
;photo gallery in minutes"
Excellent article.
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;s often accompanied by English so broken I
don't even bother trying to decypher it, and sometimes an *attitude*
(after which, I blacklist the poster).
Am I the only one? It's okay if I am. Just wondering.
IRC ??
I haven't used that in years. :)
More likely it is the habits l
$stmt2->execute();
$result_array[] = "\t\t\n" .
"\t\t\t" .
$name . " ($count)\n\t\t\n \t\tclass=\"categorydescription\">" .
"\n\t\t\t$description\n\t\t";
}
}
catch (PDOException $e) {
echo "Building cate
I am moving out of "do it hand to learn how it is done" into "how can I
get this work done quickly and well"
and you point me to Radicore!
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of course. :)
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nathan Rixham wrote:
tedd wrote:
At 7:48 PM -0400 5/16/09, Stephen wrote:
PJ wrote:
I know of no better place to ask. This may not be strictly a PHP
issue,
but...
I am busting my hump trying to format rather large input pages with
CSS
and trying to avoid tables; but it looks to me like I am
Robert Cummings wrote:
On Sat, 2009-05-16 at 19:48 -0400, Stephen wrote:
PJ wrote:
I know of no better place to ask. This may not be strictly a PHP issue,
but...
I am busting my hump trying to format rather large input pages with CSS
and trying to avoid tables; but it looks to me like
.
CSS 2.1 makes layout easy ans IE8 passes ACID2.
I have some javascript that detects the browser and warns users of IE <8
that they need to upgrade.
Maybe bleeding edge for commercial sites, but helping the user upgrade
is going them a favour.
Stephen
--
PHP General Mailing List (h
eally creative...
Anyone for tea?
You should have a title_id field in your titles table, and this field
should be unique. Probably auto assigned and auto increment.
If you search for a book title, and there are two books with that title,
you should get two records back!
Stephen
--
PHP General Ma
Patrick Moloney wrote:
I've tried their help forum, but they keep telling me to create an
empty database.
Have you tried creating an empty database?
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
HI all,
How would a get this video from XML.
/***Example i want to View***/
http://video-cdn.abcnews.com/090324_gma_leamy.flv";
lang="en" width="424" height="318" type="video/x-flv" />
/**/
/**XML CODE
thanks Jim - I change over to SwiftMailer and its working well.
"Jim Lucas" wrote in message
news:49ae0375.2040...@cmsws.com...
Stephen Hutchison wrote:
I'll check with my ISP but if is that then it's a very low limit. I'm
finding it's only allowing two or thre
I'll check with my ISP but if is that then it's a very low limit. I'm
finding it's only allowing two or three through before hanging.
Is there something i can put in my code so that it at least fails
gracefully? It's not a good look just hanging like that.
Thanks
St
blah blah blah blah
From: steph...@qcoss.org.au Reply-To: steph...@qcoss.org.au X-Mailer: PHP/
5.1.1 Cc: steph...@qcoss.org.au, takeact...@qcoss.org.au
thanks
""Stephen Hutchison"" wrote in message
news:bc.e4.19118.b059d...@pb1.pair.com...
I've set up a small website which al
If I leave for
say anther half an hour its back working again. I send a couple more test
messages its all good, but and then it hangs again.
How can I troubleshoot this intermittent problem? My ISP is running PHP on
an IIS server. It seems like a server issue.
Thanks
Stephen
--
PHP Gener
: How do I filter the query to only produce unique values?
Check out the "DISTINCT" keyword in the SELECT documentation.
Also, do you have a "Category" table?
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
) Nested in the HTML code are variables for the content, like the menu
and body text
5) All presentation is done using CSS
6) Each page just has PHP code (mostly function calls) where the content
variables are built
7) Finally the content variable is echoed.
Stephen
--
PHP General Mailing List
Boyd, Todd M. wrote:
The horror.
Do not use tables for layout.
Use CSS.
Especially now that Microsoft, just this week, is sending out IE 8
which
seems to be fully CCS standards compliant.
Your high horse--get off of it.
Dude! Did you read what I wrote? I wrote do not use tables for l
.
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
line but not at all when in a browser.
Here is the code that I am working with:
Browsers **only** support HTML.
They do not understand things like "\n" to be anything special, so they
just print as it is sent to the browser.
Stephen
--
PHP General Mailing List (http://www.php.ne
Hey Ash,
Is I have but the Session Value is one before the Captha Image Value.
Regards,
Stephen
--
View this message in context:
http://www.nabble.com/Captha-Image-Matching-the-Session-Value.-tp21650616p21651258.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP
Hey Richard,
Thanks for your reply but the Captcha php code is a seperate file to the
html code but the code is working but the values are not matching.
Thanks,
Stephen
--
View this message in context:
http://www.nabble.com/Captha-Image-Matching-the-Session-Value.-tp21650616p21651034.html
Hi ash,
Thanks for your reply but the image does change when i refresh the page but
the session value is one before the image value.
If this is a cache problem how would i prevent this?
Thanks,
Stephen
--
View this message in context:
http://www.nabble.com/Captha-Image-Matching-the-Session
//Output the newly created image in jpeg format
ImageJpeg($image);
//Free up resources
ImageDestroy($image);
HTML CODE
session_start();
Thanks,
Stephen
--
View this message in context:
http://www.nabble.com/Captha-Image-Ma
for 7 days!
You are hosting a business website, that processes orders, on a shared
server?
That is very false economy.
You want a dedicated server that has only you as root.
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Terion Miller wrote:
I have this code and the css seems to not work in IE at all, do I need to
put it somewhere different on the page maybe?
I don't see the html headers. Nor a body.
Get that fixed and see what happens.
Stephen
--
PHP General Mailing List (http://www.php.net
that allow the user to enter [b]bold text[/b] for
example.
I would like to do this.
Anyone have a function to convert this kind of thing to HTML?
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Cheers
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
back html before saving again. I keep ending up with stray
characters
Has anyone done this? Is there a tutorial on the web somewhere?
Thanks
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I have my own register system and I want to Post my values from my register
system and post those
values into the punbb register form.
I do not want to register my values from the punbb form but rather from my
login system.
How would i be able to do this?
Below is the example of the pu
Hi all,
I have my own register system and I want to Post my values from my register
system and post those
values into the punbb register form.
I do not want to register my values from the punbb form but rather from my
login system.
How would i be able to do this?
Below is the example of the pu
Hi all,
What is the best way to pick up all the members online on a website?
Regards,
Stephen
--
View this message in context:
http://www.nabble.com/Online-Members-tp21180855p21180855.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http
adjusts
automatically.
Regards,
Stephen
--
View this message in context:
http://www.nabble.com/Image-Resizing-tp21108753p21108753.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Hello all,
Need help to get the value of the node.
We know how to get the value of the city , item and itemPrice nodes below.
How do we get the value of NumberOfRooms?
$hotelElements = $xpath->query( '', $searchReponseElement );
foreach( $h
AVA at all.
If this is what you want to go, Google, "PHP forms"
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
test my installation like this:
> echo "";
> system("convert -version");
> echo "";
> ?>
> But it just returns blank. Can anyone help me get ImageMagick working
> on my server?
>
>
> On Nov 20, 2008, at 4:41 PM, Stephen Johnson wrote:
&
to decide which is the better long term
solution.
Thoughts?
Thanks
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kevin Waterson wrote:
Only a barbarian would call it "Sequel" or anything other than
My S. Q. L "MY ESS KEW ELL"
I have never heard that product "SQL Server" referred to as anything
other than seequel server.
Guess that proves your point :)
Stephen
--
No but you can use imagemagicks convert to convert the pdf to an image and
then make a thumbnail of it.
On 11/20/08 4:39 PM, "Brian Dunning" <[EMAIL PROTECTED]> wrote:
> Well can it?
--
Stephen Johnson
The Lone Coder
http://www.ouradoptionblog.com
*Join us on our adopti
. And
making it tough for hackers.
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
things I have
no experience in.
Can someone point me to documentation/tutorials/scripts or anything that
might help.
I don't want a turnkey solution. I want to learn how to do this.
Thank you!
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
www.weisd.com/store2/WINHD-9022.php
Computer functions to generate random numbers are not designed to do what their
name suggests.
Software testing requires repeatability, and this includes random number
generation.
Without knowing how PHP seeds the generator it is difficult to predict what it
> On a php web page I want to generate a random number
> between say 1 and 10
> and then use that number to reference a particular file in
> an include tag.
>
>
>
> Is there an easy way to do this?
Get the time and use the last digit converting 0 to 10.
Stephen
--
One way
> would be a "static" changes table:
Another way is to never change a record, but to add new ones. You also need to
add an effectivity date field.
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t; <[EMAIL PROTECTED]> wrote:
> Eric Butera wrote:
>> On Mon, Oct 6, 2008 at 7:28 PM, Stephen Johnson
>> <[EMAIL PROTECTED]> wrote:
>>> OK .. I am upgrading to PHP5 on a clients box, and after doing so I have
>>> run into the problem that files that get br
Produces what you see here :
http://www.thumbnailresume.com/index.html?allow=1
Any one have any thoughts on what is going on?
--
Stephen Johnson c | eh
The Lone Coder
office: 562.366.4433
fax: 562.278.0133
http://www.thelonecoder.com
continuing the struggle against bad
use a while loop to display the total hours
for the day which works perfectly, now though, they want it to total
for the week...
Consider adding a column for the total hours and calculate it when
saving the record.
It should make everything that follows easier.
Stephen
--
PHP General Mailing
Richard Heyes
>
> HTML5 Graphing for FF, Chrome, Opera and Safari:
> http://www.phpguru.org/RGraph
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Stephen Wellington
07956 042387
01865 280000 ext
Eric ... I LOVE YOU...
Thanks
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.fortheloveofgeeks.com
I¹m a geek and I¹m OK!
--
> From: Eric Gorr <[EMAIL PROTECTED]>
> Date: Fri, 19 Sep 2008 16:13:49 -0400
&
Right ... But that is producing even funkier results...
doing pow( (1-(1+$nMonthlyInterest)) , ($iMonths*-1) ) ;
Gives me :
4.2502451372964E-35 = 25000 * (0.00104167 / 6.1270975733019E+35);
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle
then gives me in PHP
0.00104167 = 1.25 / (12 * 100);
-2.170138889 = 25000 * ( 0.00104167 / (1 - (1 +
0.00104167) ^ -12)) ::
^ is the problem ...
The solution SHOULD be 2,097.47 ... Not 2.17
Would be willing to help correct this and make it valid in PHP?
--
St
It sounds like you simply need to number format the data to ensure that PHP
does not truncate
http://php.net/number_format
If excel, or whatever your using to view the csv file, is truncating then
you will need to properly format that cell.
--
Stephen Johnson c | eh
The Lone Coder
http
Wow, didn't notice the GoogleUpdate.exe, thanks for the heads up on
that. Agreed about programs adding items in our startup.
On Thu, Sep 4, 2008 at 2:23 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote:
>> -Original Message-
>> From: Ovidiu Rosoiu [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, S
Thanks everyone ... It was a brain fart ...
Long bad day today, and I am not paying proper attention ... :)
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.fortheloveofgeeks.com
I¹m a geek and I¹m OK!
--
--
PHP
1057
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.fortheloveofgeeks.com
I¹m a geek and I¹m OK!
--
On 8/20/08 6:57 AM, "tedd" <[EMAIL PROTECTED]> wrote:
> Seriously, I saw a new invention recently. The inventor made
> underwear with three leg holes. The idea was to rotate the underwear
> as needed.
>
> What people won't invent.
>
> Cheers,
>
&g
Dave M G wrote:
PHP List,
I found this solution after a web search. I can't attribute the author,
but would like to if I could.
I have a routine like this:
if (isset($_POST['choice'])) {
if (get_magic_quotes_gpc() ){
stripslashes_arrays( $_POST );
}
$choice = $_POST['choice'];
}
else {
$cho
, is there any reason to use single quotes?
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Execute periodically.
Stephen
Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a
few seconds and then send another 100 emails and repeat this tell it
has sent all the emails that are dated for today. This script is runs
by cron so it is running in the backgro
mySQL
functions.
PDO is better at handling demanding SQL activity.
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;not supported" things.
So I am asking for any advise.
Thanks
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quot;order_payment_last_name" => "Williams"));
echo('');
print_r($array);
echo('');
My question is I want to remove duplicate order numbers in other words ditch
*one* of the Mike Smith rows there's a duplicate order number there.
And I need to do it in either a for/foreach loop. Somehow there's got to be
a simple way to check and only output non duplicate order numbers while I'm
looping thru the data. Any help would be greatly appreciated.
It looks like the array is sorted.
In pseudo code
for i = 2 to n
if x[1].order = x[i-1].order then
unlink x[i-1]
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 713 matches
Mail list logo