Re: [PHP] What am I missing?

2006-03-07 Thread Joe Henry
On Tuesday 07 March 2006 11:45 am, Gustav Wiberg wrote:

>  action="admin/phpfunctions/addnewmanufacturer.php?frmManufacturer= echo $frmIDManufacturer;?>&frmModel="
> method="post"> 
> 
> 

You could try using an absolute rather than a relative path:

 /mobilkamera/admin/phpfunctions/addnewmanufacturer.php
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] IE quirk

2006-03-17 Thread Joe Henry
With IE, it's not a quirk. It's a feature.


On Thursday 16 March 2006 3:31 pm, Jay Blanchard wrote:
> [snip]
> I created a small bannering program. It works great in Firefox. But I
> have a problem with IE.
> If I place the banner on a different domain than the bannering program,
> Ex:
>
> www.bannerserver.com
>
> www.otherserver.com   has img tag calling from www.bannerserver.com
>
>
> I use a session to keep track of the banner that is displayed, have even
> tried using cookies directly.
>
> Works great in firefox, problem with IE is first time vising
> www.otherserver.com, clicking on the img does not work, apparently, the
> session was never start/recorded when retrieving the image. However, if
> I go back to www.otherserver.com, it then works fine, I can go anywhere,
> as long as I don't close the browser, www.otherserver.com works.
>
> Why would IE not be recording the session info on the first visit?
> Firefox does it just fine.
>
> Anyone run into this?
> [/snip]
>
> From http://www.php.net/session
> [quote]
> When using session_start() to begin a session this session will remain
> open until the page has finished loading or it is explicitly terminated.
>
> You can lose the session however if the the page contains a reference to
>  with name and id references (which may be used if the image
> is referencing a dynamic image, called by javascript)  This seems to
> casue IE6 to refresh the page session id and hence loose the session.
> [/quote]

-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] where php at?

2006-03-27 Thread Joe Henry
On Monday 27 March 2006 12:31 pm, tedd wrote:
> At 1:19 PM -0600 3/27/06, Jay Blanchard wrote:
> >[snip]
> >Where do I type in "which php"?
> >[/snip]
> >
> >At the command line on the host.
>
> Aarrrg -- no disrespect meant.
>
> I'm totally and absolutely clueless and frustrated. It must be my age
> because I haven't seen a command line since my Apple][ days -- let
> alone one while doing web work.
>
> I'm sitting in front of my computer accessing my remote web site via
> ftp (GoLive) writing code and trying to set up a cron job using
> cpanel to run that code.
>
> Now, I have no idea of where I should type in "which php"  -- I've
> tried putting it in my cpanel cron jobs "command to run" box, but
> that doesn't do anything.
>
> Does anyone have any reference material of where a "command line of
> the host" is?
>
> Thanks.
>
> tedd
>
> --
> ---
>- http://sperling.com


Hey Tedd,

Do you have ssh access to your remote server from your local machine? If you 
do, then that would be where you'd run the command "which php".

On Linux/Mac OS X, you can ssh via a terminal. On Windows, a program like 
PuTTY will do the trick.

Link for PuTTY download (just in case):
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Syntax for ssh:
ssh @

Once you have an ssh session open to your remote server, running "which php" 
will return the remote path for php.

Hope that helps.
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] private $foo

2006-03-28 Thread Joe Henry
On Tuesday 28 March 2006 1:12 pm, Jochem Maas wrote:
> 
> class Foo
> {
>   private $foo = 'foo';
>
>   function __get($k)
>   {
>   if (isset($this->{$k})) {
>   return $this->{$k};
>   }
>
>   throw new Exception("non existing property!");
>   }
>
>   function __set($k, $v)
>   {
>   if (isset($this->{$k})) {
>   $this->{$k} = $v;
>   return;
>   }
>
>   throw new Exception("non existing property!");
>   }
> }
>
> $f = new Foo;
> echo $f->foo,"\n";
> $f->foo = "bar";
> echo $f->foo,"\n";

Maybe I'm wrong, but I thought you couldn't use the  "$f->foo" to access 
private variables from outside a class?
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Can "output_buffering" be set in a script?

2006-03-30 Thread Joe Henry
On Thursday 30 March 2006 9:02 am, Todd Cary wrote:
> I do not have access to the php.ini file and I need to have
> output_buffering turned on.  Can this be done within a script?
>
> Thank you

Yep.

http://us2.php.net/manual/en/function.ob-start.php

That link should get you started.

-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] White label with PHP?

2006-03-30 Thread Joe Henry
On Wednesday 29 March 2006 9:52 am, Merlin wrote:
> white label solution

Can someone enlighten me as to what this means? Thanks.
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Download image in PHP

2006-04-05 Thread Joe Henry
On Wednesday 05 April 2006 7:16 am, mbneto wrote:
> Hi,
>
> If all you want to do is this as a suggestion (altough not php
> related) you could call wget from your php script to fetch this image
> without having to worry with other things.
>
> Something like this
>
> exec ('/path/to/wget http://www.foo.com/bar.jpg');
>
> Of course you'd have to check if everything went fine.
>
> On 4/5/06, Russell Jones <[EMAIL PROTECTED]> wrote:
> > I have an image library on one site that I want to be able to access from
> > another, but I actually want the image downloaded and cached to the new
> > site (so that it doesnt keep taxing the image server).
> >
> > I allow the file() command to pull from other sites, can I do this with
> > just the file('http://www.site.com/image.jpg";); - or how would i do this?
> >
> > Russ

You might want to look at CURL, too.

http://us2.php.net/manual/en/ref.curl.php
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] simple regex query

2006-04-06 Thread Joe Henry
On Thursday 06 April 2006 6:19 am, Angelo Zanetti wrote:
> Hi guys
>
> Been tryin to figure out regex and have found some tutorials but some have
> made things clear and others have confused me.
>
> Anyway for a simple query, if I just wanted to check that a variable has
> only text and numeric characters would I do something like this (i want it
> to fail if it finds a symbol eg: + - { " etc...):
>
> echo  "REG result: " . preg_match('/[a-zA-Z0-9]*/', '{d-fg');
>
> however this resolves to true because there are normal characters
> (alphabetical characters) so how do I make the expression fail because of
> the { and - characters in the string?
>
> You can also list which characters you DON'T want -- just use a '^' as the
> first symbol in a bracket expression (i.e., "%[^a-zA-Z]%" matches a string
> with a character that is not a letter between two percent signs). But that
> would mean that I would have to list each symbol I dont want and that would
> be undesireable as it would be better to list exactly what the acceptable
> characters are.
>
> Can anyone give me some insight as to where I'm going wrong?
>
> thanks
>
> --
>
> Angelo

I found an AJAX regex tester the other day. It'll check PCRE, Posix, and 
Javascript. Don't know how useful this is, but thought I'd throw it into this 
thread.

http://rexv.org/

-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Argument passed by reference?

2006-04-06 Thread Joe Henry
On Thursday 06 April 2006 12:24 pm, Chris Boget wrote:
> Is there a way to test to see if a function argument was passed by
> reference instead of by value?
>
> thnx,
> Chris

The way I understand it, pass by reference in php is determined in the 
function definition and not the function call. Something like:

function foo (&$bar) {
...
}

Here's a link to that section of the php manual:

http://us3.php.net/manual/en/language.references.pass.php

Hope that helps.
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Joe Henry
On Friday 07 April 2006 1:37 pm, Tom Chubb wrote:
> $insertSQL = "INSERT INTO cars (model, `year`, details, price, image1,

Not sure if this is your problem, but those look like backticks around year 
instead of single quotes. Should there even be quotes there?

HTH
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Joe Henry
On Friday 07 April 2006 1:56 pm, Chrome wrote:
> Backticks (`) encapsulate table or database names
>
> I was thinking maybe if the array references were encapsulated in curly
> braces {}:
>
> $_POST['model'] to {$_POST['model']}
>
> Of course if the field in the DB isn't numeric this would be
> '{$_POST['model']}'
>
> Dan
>
> -------
> http://chrome.me.uk
>
>
> -Original Message-
> From: Joe Henry [mailto:[EMAIL PROTECTED]
> Sent: 07 April 2006 20:53
> To: php-general@lists.php.net; [EMAIL PROTECTED]
> Subject: Re: [PHP] Parse Error on SQL Insert
>
> On Friday 07 April 2006 1:37 pm, Tom Chubb wrote:
> > $insertSQL = "INSERT INTO cars (model, `year`, details, price, image1,
>
> Not sure if this is your problem, but those look like backticks around year
> instead of single quotes. Should there even be quotes there?
>
> HTH
> --
> Joe Henry
> www.celebrityaccess.com
> [EMAIL PROTECTED]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> __ NOD32 1.1475 (20060406) Information __
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com

Good to know. Thanks.

-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Argument passed by reference?

2006-04-10 Thread Joe Henry
On Friday 07 April 2006 5:06 pm, tedd wrote:
> At 1:52 PM -0500 4/6/06, Chris Boget wrote:
> >>The way I understand it, pass by reference in php is determined in
> >>the function definition and not the function call. Something like:
> >
> >You used to be able to pass by reference at run time.  But I see that is
> >no longer allowed... :|  So I guess that makes my question moot.
> >
> >Thanks for your help.
> >
> >thnx,
> >Chris
>
> Chris:
>
> Please forgive my ignorance, but when did that happen?
>
> tedd
> --
> ---
>- http://sperling.com

I'm not sure when this happened. I'm fairly new to php, myself. Maybe someone 
else could answer that?
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] interview

2006-04-13 Thread Joe Henry
On Thursday 13 April 2006 11:13 am, Robert Cummings wrote:
> On Thu, 2006-04-13 at 12:56, Wolf wrote:
> > How much wood would a wood chuck chuck if a wood chuck could chuck wood??
>
> Canadian, American, or "Other" woodchuck?
>


Leave or we shall taunt you a second time!


-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Post & forms

2006-04-14 Thread Joe Henry
On Thursday 13 April 2006 8:44 pm, Stephen Johnson wrote:
> On 4/13/06 7:40 PM, "Gary E. Terry" <[EMAIL PROTECTED]> wrote:
> > Quite possibly a stupid question, but here goes.
> >
> > I have a form that is a list of jobs. On that list is a
> > checkbox. The form field is named 'changedate'.
> >
> > I also have a hidden field called 'JobID'.
> >
> > What I am trying to accomplish is if a checkbox is
> > checked, when the form is submitted, I want all of
> > the JobID's to be updated by an SQL query.
> >
> > But it seems to me that $_POST will only contain
> > the last JobID in the form, no matter what. Am I correct
> > on this?
> >
> > Is what I am trying to accomplish not possible with a
> > form post?
> >
> > I think I remember doing something similar with Cold Fusion
> > years ago, but I have never attempted this with PHP.
> >
> > Any suggestions?
>
> You need to pass the checkboxes as an array value with the JobID as the
> identifier.
>
> Then on the other side, you can run through the list of JobID's and see
> which ones need to be updated.
>

If I'm understanding what you're asking, you have an array of checkboxes whose 
values you want passed to you PHP via the $_POST array. The HTML form syntax 
would be something like:



etc.

Then in your PHP script, $_POST['array'] will hold an array of the checkbox 
values.

HTH
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Pushing PHP Into The Web 2.0 Generation

2006-04-18 Thread Joe Henry
On Tuesday 18 April 2006 10:50 am, Jay Blanchard wrote:
> [snip]
> ..
> [/snip]
>
> And his mailing list name is James Crane, he signs of as M.T. which
> stands for Matt Todd.
>
> I call shenanigans.


My nominee for best analogy from the article:

> Much like the artists and writers of the early twentieth century when they 
realized that the weapons and machines were dehumanizing war, making it far 
too easy to kill, web designers and developers realized that there was a need 
for a social, human revolution within the sterile, synthetic arena of the 
web. Hence, the Web 2.0 Movement was born.

Web development and war in the same sentence. Killer!
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: no offense to Rasmus... are you kidding me

2006-04-20 Thread Joe Henry
On Thursday 20 April 2006 1:18 am, Richard Lynch wrote:
> Is 5 longer than 4?

Size doesn't matter. At least that's what I've been told. ;)
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Preg_match() regex

2006-04-21 Thread Joe Henry
On Friday 21 April 2006 9:44 am, Jeff wrote:
> Regex pattern question here.  I need to match on "Foo-F00", "Foo-foo",
> "foo-Foo".  I know in perl you can use the /i to specify "case
> insensitive" matching.  Is there any such switch that can be used in
> preg_match() in PHP?


http://us3.php.net/manual/en/reference.pcre.pattern.syntax.php
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Using linkDisplayFields of FormBuilder

2006-04-26 Thread Joe Henry
On Tuesday 25 April 2006 4:36 pm, Tom wrote:
>  instead we recommend emailing
> [EMAIL PROTECTED] where you are more likely to get answer.

You found the PHP-general list instead of the Pear-general list. Here's a link 
to the Pear mailing list page:

http://pear.php.net/support/lists.php

HTH
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Sanity checker?

2006-05-03 Thread Joe Henry
On Tuesday 02 May 2006 6:14 pm, Ezra Nugroho wrote:
> Does anyone know of any tools to test the sanity of your php code?

This sounds an awful lot like the Halting Problem to me, which isn't solvable.

http://en.wikipedia.org/wiki/Halting_Problem
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] WINNER

2006-05-08 Thread Joe Henry
On Monday 08 May 2006 12:52 pm, Ryan A wrote:
> Ok, the last time this happened I think it was either
> Jay B or John Holmes (the dude!) who claimed the
> prize...this time, hands off, its mine...
>
> 615,960.00. I'm rich bearch!

Think we should split it equally among all PHP-general subscribers. That would 
be, like, a latte or beer each. Yippee!

-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] question about using temporary named pipe in the string for system

2006-05-10 Thread Joe Henry
On Wednesday 10 May 2006 4:02 pm, Ginger Cheng wrote:
> Hello, PHP gurus,
>  I have a command that I want to run using system function. The
> command exploits temporary named pipes in the place of temporary files.
>
>my command is
>
> paste   <(cut -f1  file1)  <(cut -f2  file2)> final_file
>
>   It works perfectly well if I just type it in my interactive
> shell.  But if I do a
>
>  $cmd = " paste   <(cut -f1  file1)  <(cut -f2  file2)> final_file";
> system($cmd);
> ?>
>
>   I got the syntax error msg as
> "sh: -c: line 1: syntax error near unexpected token `('".   I have tried
> to 'escapeshellcmd' the  command and run it in system, then I got
>
> paste: invalid option -- f
> Try `paste --help' for more information.
>
>  Also tried exec.  I really want to take advantage of the
> temporary named pipes so I don't have to worry about the temporary files
> generated.  I've been googling around without much help.  Could anyone
> plz give me some hint? Thanks a lot
>   ginger

Think you might want the shell_exec() command instead.

http://us2.php.net/manual/en/function.shell-exec.php

HTH
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] remove html tags in text?

2006-05-11 Thread Joe Henry
On Thursday 11 May 2006 9:51 am, Bing Du wrote:
> Any functions that can help remove all the HTML tags in it?  What about
> just removing selected tags, like ?

Looks like strip_tags() will do the trick for you:

http://us3.php.net/manual/en/function.strip-tags.php
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] BDC to ASCII Conversion

2006-05-11 Thread Joe Henry
On Thursday 11 May 2006 10:08 am, Jim Moseby wrote:
> In dog we trust 

Am partial to "Dog is my co-pilot"
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread Joe Henry
On Friday 12 May 2006 12:01 pm, tedd wrote:

> It shouldn't be blank.
> There should be a Next/Previous button -- isn't there?
> If so, then click "Next"
> If not, please tell me.

Works:  Suse Linux 10.x/Firefox 1.0.7
Windows XP/Firefox 1.5.0.3
Mac OS 10.4.6/Safari 2.0.3

Works sort of:  Suse Linux 10.x/Konquerer 3.4.2 
=>  (first page loads but 
next/previous buttons produce no results)
Windows XP/Internet Explorer 6.0.x
=>  (first page loads but 
next/previous buttons produce no results)

Blank:  none that I tested

Don't have Firefox on the Mac box. I just clicked the next/previous buttons a 
few times, so take it for what's it's worth.

Thanks to you Tedd. Made me realize I should upgrade my Linux Firefox.

HTHs.
-- 
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Joe Henry

The input name must include [] (brackets) to let php know it's an array.

Ex: input type=text  name=xname[] value="3303"

On Feb 1, 2006, at 9:07 AM, Mauricio Pellegrini wrote:


Hi ,
 I have a HTML page with a form in which there are some inputs like
these:

input type=text  name=xname value="3303"
input type=text  name=xname value="9854"

input type=text  name=xname value="n..."


the name of the input is always the same ( xname )

This generates automatically generates an array named xname in HTML
with all the diferent values assigned to a diferent position.


My question is :

How do I retrieve that array from within PHP ?


I've tryed the following

$xname=$_REQUEST['xname'];

and then
echo $xname[0][0] ; // this returns nothing
	echo $xname[0] ;// this returns only first digit of the first 
input


None of the above seem to recognize that xname is ( in HTML ) an array 
.


Any help greatly appreciated

Thanks
Mauricio







On Sun, 2005-10-02 at 19:38, adriano ghezzi wrote:

if i understand well you need to get an array from html post


if you use the same name for your html fields you automatically have
an array in $_POST

eg

input type=text  name=myfield value="field_1"
input type=text name=myfield value="field_2"

you'll get the array  ar_myfield = $_POS['myfield']

you should achieve the same result using myfield[key] in the name of 
html


hyh

by ag.


2005/10/2, Martin van den Berg <[EMAIL PROTECTED]>:

Newbe question:

How does one convert an array into a HTML GET request easely? Are
there any standard functions?

Same for HTML POST requests.

Thanks,

Martin.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Getting The Document Root

2006-02-02 Thread Joe Henry

you could try pathinfo()

http://us3.php.net/pathinfo



On Feb 2, 2006, at 8:59 AM, Jeremy Privett wrote:


John Nichel wrote:


$_SERVER['DOCUMENT_ROOT']
http://www.php.net/manual/en/ 
reserved.variables.php#reserved.variables.server


Nope. I've already tried that... $_SERVER['DOCUMENT_ROOT'] contains  
/home/jeremy/public_html/test/ ... All I want is to the public_html  
part.


--
Jeremy Privett [ http://www.jeremyprivett.com ]
Founder - Lead Software Developer - Hosting Systems Administrator
Omega Vortex
(http://www.omegavortex.com)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] LIMIT?

2006-02-06 Thread Joe Henry


On Feb 6, 2006, at 12:11 PM, James Kaufman wrote:

Answers that show SQL commands that apply to specific databases annoy
me. Not everyone uses MySQL. I've worked with several databases that
don't support a LIMIT command. At least mention the database engine
you are referencing.


Response like this annoy me.



A liberal is someone too poor to be a capitalist and too rich to be
a communist.


Oh, that explains a lot.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php