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

2006-05-12 Thread Joe Henry
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

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 b/b? Looks like strip_tags() will do the trick for you: http://us3.php.net/manual/en/function.strip-tags.php -- Joe Henry

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] question about using temporary named pipe in the string for system

2006-05-10 Thread Joe Henry
. 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

Re: [PHP] WINNER

2006-05-08 Thread Joe Henry
. 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] 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

Re: [PHP] Using linkDisplayFields of FormBuilder

2006-04-26 Thread Joe Henry
-- 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
/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] 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] Pushing PHP Into The Web 2.0 Generation

2006-04-18 Thread Joe Henry
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] PHP Post forms

2006-04-14 Thread Joe Henry
type=checkbox name=array[] value=... / input type=checkbox name=array[] value=... / input type=checkbox name=array[] value=... / 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

Re: [PHP] interview

2006-04-13 Thread Joe Henry
-- 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
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] 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

Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Joe Henry
['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

Re: [PHP] simple regex query

2006-04-06 Thread Joe Henry
, 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
. 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

Re: [PHP] Download image in PHP

2006-04-05 Thread Joe Henry
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

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

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] private $foo

2006-03-28 Thread Joe Henry
; 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] where php at?

2006-03-27 Thread Joe Henry
(just in case): http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Syntax for ssh: ssh user account@hostname/IP 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

Re: [PHP] IE quirk

2006-03-17 Thread Joe Henry
if the the page contains a reference to img src= 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

Re: [PHP] What am I missing?

2006-03-07 Thread Joe Henry
/form 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] 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

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']

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