php-general Digest 12 Dec 2008 15:17:04 -0000 Issue 5841

2008-12-12 Thread php-general-digest-help
php-general Digest 12 Dec 2008 15:17:04 - Issue 5841 Topics (messages 284520 through 284541): Re: Foreign Keys Question 284520 by: Waynn Lue 284521 by: Chris 284524 by: clive 284525 by: Robert Cummings 284526 by: clive 284527 by: Waynn Lue

php-general Digest 13 Dec 2008 03:24:35 -0000 Issue 5842

2008-12-12 Thread php-general-digest-help
php-general Digest 13 Dec 2008 03:24:35 - Issue 5842 Topics (messages 284542 through 284573): Re: Need a brain to bounce some Mysql/DB thoughts off of!! 284542 by: Robert Cummings 284545 by: ceo.l-i-e.com 284546 by: Daniel Brown 284547 by: Frank Stanovcak

Re: [PHP] Foreign Keys Question

2008-12-12 Thread Waynn Lue
Waynn Lue wrote: As a side note, FKs do enforce other table specific properties like indexes on the fields being constrained, so they do add value there as well. But there's of course an extra cost on updates and inserts to see if the FK is violated. On the external table? No they don't.

[PHP] Re: How serialize DOMDocument object?

2008-12-12 Thread Colin Guthrie
'Twas brillig, and Михаил Гаврилов at 12/12/08 06:23 did gyre and gimble: How serialize DOMDocument object? Easiest way is to save it to an XML string and then load it again. If you want a conveneinet way to store domdocuments in the session, then just extend the class and define __sleep and

RE: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Jay Blanchard
[snip] I guess, if people get more responses here, it shows that this mailing list is superior (no offence to the MySQL list :-P ). [/snip] Duh. Was there ever any question? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Chrome 1.0 released

2008-12-12 Thread Richard Heyes
Hi, Well it's not really related to PHP, but certainly web development in general. Personally, I was surprised by the jump from 0.4 to 1.0. Judging by other Google betas (eg Gmail) I was expecting it to be in beta for the next decade or so. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera

RE: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Jay Blanchard
[snip] It's Christmas... the season of giving and tolerance :| [/snip] We will return you to your regularly scheduled Robert Cummings Jan 2nd, 2009 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-12 Thread Terion Miller
On Thu, Dec 11, 2008 at 4:25 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Terion Miller at 11/12/08 14:56 did gyre and gimble: Hey Everyone, I am wondering if using a framework such as one of these may make my life easier, which do any of you use and what has been your

RE: [PHP] Re: Foreign Keys Question

2008-12-12 Thread Boyd, Todd M.
-Original Message- From: clive [mailto:clive_li...@immigrationunit.com] Sent: Friday, December 12, 2008 1:07 AM To: PHP LIST Subject: Re: [PHP] Re: Foreign Keys Question Colin Guthrie wrote: 'Twas brillig, and tedd at 11/12/08 18:46 did gyre and gimble: As for my Foreign Keys

Re: [PHP] Re: Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-12 Thread Peter Ford
Terion Miller wrote: On Thu, Dec 11, 2008 at 4:25 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Terion Miller at 11/12/08 14:56 did gyre and gimble: Hey Everyone, I am wondering if using a framework such as one of these may make my life easier, which do any of you use and

RE: [PHP] Re: Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-12 Thread Boyd, Todd M.
-Original Message- From: Terion Miller [mailto:webdev.ter...@gmail.com] Sent: Friday, December 12, 2008 7:55 AM To: Colin Guthrie Cc: php-general@lists.php.net Subject: Re: [PHP] Re: Poll of Sorts: Application Frameworks--Zend, Cake etc On Thu, Dec 11, 2008 at 4:25 PM, Colin

[PHP] Re: Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-12 Thread Colin Guthrie
'Twas brillig, and Terion Miller at 12/12/08 13:55 did gyre and gimble: Thanks for the responses, CakePhp was seemingly very easy for me to catch on to and get started in (which means its super super easy folks) unfortunately when I got to the viewing of my files (pretty important) I couldn't

Re: [PHP] Foreign Keys Question

2008-12-12 Thread tedd
At 4:25 PM -0500 12/11/08, Robert Cummings wrote: On Thu, 2008-12-11 at 16:24 -0500, Robert Cummings wrote: lock table check enrolment count no room unlock table generate error have room insert row unlock table Ba da boom. I should

[PHP] Re: Foreign Keys Question

2008-12-12 Thread tedd
At 10:24 PM + 12/11/08, Colin Guthrie wrote: 'Twas brillig, and tedd at 11/12/08 18:46 did gyre and gimble: As for my Foreign Keys Question, I think the answer is that it enforces rules upon the configuration (i.e., deleting, altering, and such), but does not provide any significant

[PHP] Re: Foreign Keys Question

2008-12-12 Thread Colin Guthrie
'Twas brillig, and tedd at 12/12/08 14:36 did gyre and gimble: That's neat and a lot more powerful than I thought. It's like following a linked list to it's end while removing all traces of the thread. Exactly And I understand the instructor delete was not intended. Yeah indeed. I had a db

RE: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread tedd
At 6:34 AM -0600 12/12/08, Jay Blanchard wrote: [snip] It's Christmas... the season of giving and tolerance :| [/snip] We will return you to your regularly scheduled Robert Cummings Jan 2nd, 2009 In either event, the answers are still good. As for MySQL questions on this list, as I said

[PHP] Re: Foreign Keys Question

2008-12-12 Thread tedd
At 2:50 PM + 12/12/08, Colin Guthrie wrote: 'Twas brillig, and tedd at 12/12/08 14:36 did gyre and gimble: That's neat and a lot more powerful than I thought. It's like following a linked list to it's end while removing all traces of the thread. Exactly And I understand the instructor

RE: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Robert Cummings
On Fri, 2008-12-12 at 06:34 -0600, Jay Blanchard wrote: [snip] It's Christmas... the season of giving and tolerance :| [/snip] We will return you to your regularly scheduled Robert Cummings Jan 2nd, 2009 Are you suggesting I'm not tolerant? Pfff. :) Cheers, Rob. --

Re: [PHP] Re: Foreign Keys Question

2008-12-12 Thread phphelp -- kbk
In my enrollment database, we keep historical information. My client is a big computer training organization (for which I also teach). The enrollment information is quite fluid -- people are always canceling or rescheduling. It is important for us to know a person's history. $.02 Ken On

[PHP] Question on if() priorities

2008-12-12 Thread Frank Stanovcak
I can't seem to find a reference to this in the manual, but is there an order of precedence for and or xor in an if statement? Kind of like PPMDAS or polish notation for math (PPMDAS = Powers. Parenthacies. Multiplication...) I ask because this seems to be working for me, but I want to make

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread ceo
I would set it up that a person could elect to work with one or more Departments. If they work on a College, they work on all Departments in that college. Another option is to just let them do one Dept at a time, and that's it. Kind of depends on what people actually DO in this work,

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Frank Stanovcak
Robert Cummings rob...@interjinn.com wrote in message news:1229096146.22284.27.ca...@localhost... On Fri, 2008-12-12 at 06:34 -0600, Jay Blanchard wrote: [snip] It's Christmas... the season of giving and tolerance :| [/snip] We will return you to your regularly scheduled Robert Cummings

[PHP] Re: Question on if() priorities

2008-12-12 Thread Maciek Sokolewicz
Frank Stanovcak wrote: I can't seem to find a reference to this in the manual, but is there an order of precedence for and or xor in an if statement? Kind of like PPMDAS or polish notation for math (PPMDAS = Powers. Parenthacies. Multiplication...) I ask because this seems to be working for

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Robert Cummings
On Fri, 2008-12-12 at 11:02 -0500, Daniel Brown wrote: On Fri, Dec 12, 2008 at 10:35, Robert Cummings rob...@interjinn.com wrote: Are you suggesting I'm not tolerant? Pfff. Not since you've let those crosses on the lawn burn out. ;-P Those aren't crosses... they're plus symbols, I

[PHP] Re: Question on if() priorities

2008-12-12 Thread Frank Stanovcak
Thanks. Don't know how I could have missed that. Maciek Sokolewicz tula...@php.net wrote in message news:49428d51.3090...@php.net... Frank Stanovcak wrote: I can't seem to find a reference to this in the manual, but is there an order of precedence for and or xor in an if statement? Kind of

[PHP] Re: Foreign Keys Question

2008-12-12 Thread Colin Guthrie
'Twas brillig, and tedd at 12/12/08 15:16 did gyre and gimble: My first tendency is to keep everything. After all, memory is cheap and access times are always reducing. While it's true that having a bunch of worthless data doesn't accomplish anything and slows the process of dealing with it.

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Daniel Brown
On Fri, Dec 12, 2008 at 10:35, Robert Cummings rob...@interjinn.com wrote: Are you suggesting I'm not tolerant? Pfff. Not since you've let those crosses on the lawn burn out. ;-P And yet, despite all of this, poor ol' php...@lists.php.net is left in the cold. -- /Daniel P. Brown

Re: [PHP] Chrome 1.0 released

2008-12-12 Thread Dotan Cohen
2008/12/12 Richard Heyes rich...@php.net: Well it's not really related to PHP, but certainly web development in general. Personally, I was surprised by the jump from 0.4 to 1.0. Judging by other Google betas (eg Gmail) I was expecting it to be in beta for the next decade or so. As seen on

[PHP] Re: Foreign Keys Question

2008-12-12 Thread tedd
At 4:34 PM + 12/12/08, Colin Guthrie wrote: 'Twas brillig, and tedd at 12/12/08 15:16 did gyre and gimble: My first tendency is to keep everything. After all, memory is cheap and access times are always reducing. While it's true that having a bunch of worthless data doesn't accomplish

Re: [PHP] Chrome 1.0 released

2008-12-12 Thread Richard Heyes
As seen on ./, it seems that Google may be pressing OEMs to include Chrome bundled on new computers. That cannot happen with a beta web browser. Great. Can't fault them. Even in its beta state, I think it's better than MSIE. I still use Firefox though... -- Richard Heyes HTML5 Graphing for

Re: [PHP] Chrome 1.0 released

2008-12-12 Thread Robert Cummings
On Fri, 2008-12-12 at 18:39 +0200, Dotan Cohen wrote: 2008/12/12 Richard Heyes rich...@php.net: Well it's not really related to PHP, but certainly web development in general. Personally, I was surprised by the jump from 0.4 to 1.0. Judging by other Google betas (eg Gmail) I was expecting it

[PHP] Credit Card processing: Chase PaymenTech

2008-12-12 Thread phphelp -- kbk
Hello - - --- -- - -- I need to develop Credit Card processing for my current application. We have our own shopping cart. We have been trying in vain to get technical information from PaymenTech for *months* -- but it seems that Chase sold part of it, or split it off into a separate

Re: [PHP] Chrome 1.0 released

2008-12-12 Thread Dotan Cohen
2008/12/12 Robert Cummings rob...@interjinn.com: Do you mean as seen on /. ? I do, at least.. at least I mean what I say... that's the same thing, you know. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

[PHP] question on parameter specification in href tag

2008-12-12 Thread Xaver Thum
Hi, I want to set a link like a href=http://www.anyurl.com?mypar=17color=red; ... into my HTML file; that works fine. But if I specify a hex color like #CC instead of red, a href=http://www.anyurl.com?mypar=17color=#CC; ... the color is ignored (probably because # starts a PHP

Re: [PHP] question on parameter specification in href tag

2008-12-12 Thread Robert Cummings
On Thu, 2008-12-11 at 11:30 +0100, Xaver Thum wrote: Hi, I want to set a link like a href=http://www.anyurl.com?mypar=17color=red; ... into my HTML file; that works fine. But if I specify a hex color like #CC instead of red, a href=http://www.anyurl.com?mypar=17color=#CC;

Re: [PHP] question on parameter specification in href tag

2008-12-12 Thread Daniel Brown
On Thu, Dec 11, 2008 at 05:30, Xaver Thum xaver.t...@t-online.de wrote: But if I specify a hex color like #CC instead of red, a href=http://www.anyurl.com?mypar=17color=#CC; ... the color is ignored (probably because # starts a PHP comment). Is there any workaround for this problem

[PHP] Re: question on parameter specification in href tag

2008-12-12 Thread Xaver Thum
Hi, thanks for the quick solutions ! Regards Xaver Xaver Thum xaver.t...@t-online.de schrieb im Newsbeitrag news:9b.01.31950.6dbe0...@pb1.pair.com... Hi, I want to set a link like a href=http://www.anyurl.com?mypar=17color=red; ... into my HTML file; that works fine. But if I

[PHP] Using a class inside of a class

2008-12-12 Thread Richard Kurth
Can I use another class inside of a function in a class this function process_queue below is inside of a class called class mailer I want to use the phpMailer class inside of this function so I can send email using smtp. Can this be done and is there any information out there on how to do

[PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Terion Miller
Hey there, okay I ran into these and need some tips, pointers etc... First I was getting the Resource ID#5 error with this query: $query=SELECT * FROM importimages WHERE Category='Obits'; $result = mysql_query($query); so then I read how mysql_query returns a resource, so I tried this: $query =

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Daniel P. Brown
On Fri, Dec 12, 2008 at 16:54, Terion Miller webdev.ter...@gmail.com wrote: $query = SELECT * FROM importimages WHERE Category='Obits' ; $result = mysql_query ($query); $arr = mysql_fetch_row($result); $result2 = $arr[0]; echo ($result2); Try this to get yourself started: ?php $sql =

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Terion Miller
On Fri, Dec 12, 2008 at 4:02 PM, Daniel P. Brown daniel.br...@parasane.netwrote: On Fri, Dec 12, 2008 at 16:54, Terion Miller webdev.ter...@gmail.com wrote: $query = SELECT * FROM importimages WHERE Category='Obits' ; $result = mysql_query ($query); $arr = mysql_fetch_row($result);

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Terion Miller
On Fri, Dec 12, 2008 at 4:52 PM, Terion Miller webdev.ter...@gmail.comwrote: On Fri, Dec 12, 2008 at 4:02 PM, Daniel P. Brown daniel.br...@parasane.net wrote: On Fri, Dec 12, 2008 at 16:54, Terion Miller webdev.ter...@gmail.com wrote: $query = SELECT * FROM importimages WHERE

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Daniel P. Brown
On Fri, Dec 12, 2008 at 18:03, Terion Miller webdev.ter...@gmail.com wrote: Well I did some changes and I must be learning because although I have the same error I don't have new ones... so now the code is like this: $sql = SELECT * FROM `importimages` WHERE `Category` = 'Obits'; $result =

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Terion Miller
On Fri, Dec 12, 2008 at 5:08 PM, Daniel P. Brown daniel.br...@parasane.netwrote: On Fri, Dec 12, 2008 at 18:03, Terion Miller webdev.ter...@gmail.com wrote: Well I did some changes and I must be learning because although I have the same error I don't have new ones... so now the code is

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Jim Lucas
Terion Miller wrote: On Fri, Dec 12, 2008 at 5:08 PM, Daniel P. Brown daniel.br...@parasane.netwrote: On Fri, Dec 12, 2008 at 18:03, Terion Miller webdev.ter...@gmail.com wrote: Well I did some changes and I must be learning because although I have the same error I don't have new ones...

[PHP] Instructions on compiling PHP 5.2.8 for Mac OS X Server 10.4.11

2008-12-12 Thread Rene Fournier
Since Marc Liyange hasn't updated his binary since 5.2.4, I've been looking for some instructions on building my own, specifically the latest 5.2.8 source for 10.4 Server. Google doesn't turn up anything for me. Anyone have a good link? ...Rene -- PHP General Mailing List

Re: [PHP] Using a class inside of a class

2008-12-12 Thread Robert Cummings
On Fri, 2008-12-12 at 13:21 -0800, Richard Kurth wrote: Can I use another class inside of a function in a class this function process_queue below is inside of a class called class mailer I want to use the phpMailer class inside of this function so I can send email using smtp. Can this be

Re: [PHP] Using a class inside of a class

2008-12-12 Thread Nathan Rixham
Robert Cummings wrote: On Fri, 2008-12-12 at 13:21 -0800, Richard Kurth wrote: Can I use another class inside of a function in a class this function process_queue below is inside of a class called class mailer I want to use the phpMailer class inside of this function so I can send email

[PHP] Re: Instructions on compiling PHP 5.2.8 for Mac OS X Server 10.4.11

2008-12-12 Thread Nathan Rixham
Rene Fournier wrote: Since Marc Liyange hasn't updated his binary since 5.2.4, I've been looking for some instructions on building my own, specifically the latest 5.2.8 source for 10.4 Server. Google doesn't turn up anything for me. Anyone have a good link? ...Rene