php-general Digest 28 Jan 2009 14:59:37 -0000 Issue 5927

2009-01-28 Thread php-general-digest-help
php-general Digest 28 Jan 2009 14:59:37 - Issue 5927 Topics (messages 287258 through 287268): Re: Hidden costs of PHP arrays? 287258 by: Nathan Rixham Installation of php-5.2.8-win32-installer.msi 287259 by: Jerry Foote 287260 by: Chris 287262 by: Chris

[PHP] unlink file rights problem

2009-01-28 Thread Merlin Morgenstern
Hi there, I am trying to unlink a file which is inside a folder that is not writable to phps user www. Of course this failes, but I need to find a solution for it. Backgroud is following: I have pure-ftpd installed where user directories get created by pure-ftpd. Unfortunatelly there seems

[PHP] Re: Programming general question

2009-01-28 Thread Ondrej Kulaty
Depends on what for you want to use that. Array is simple data structure, it holds data, like variable, but objects has methods and properties, it acts as someting which can do some sort of task and you access it via it's interface (you call it's methods). You can use array for example to hold

[PHP] Re: unlink file rights problem

2009-01-28 Thread Shawn McKenzie
Merlin Morgenstern wrote: Hi there, I am trying to unlink a file which is inside a folder that is not writable to phps user www. Of course this failes, but I need to find a solution for it. Backgroud is following: I have pure-ftpd installed where user directories get created by

Re: [PHP] Global Changes With Loop To Allow Nulls In A Table...

2009-01-28 Thread Andrew Ballard
On Tue, Jan 27, 2009 at 5:24 PM, Boyd, Todd M. tmbo...@ccis.edu wrote: -Original Message- From: Chris [mailto:dmag...@gmail.com] Sent: Tuesday, January 27, 2009 4:04 PM To: Boyd, Todd M. Cc: php-general@lists.php.net Subject: Re: [PHP] Global Changes With Loop To Allow Nulls In A

[PHP] Re: [PROJECT HELP] - JotBug - A Project Management Issue Tracker written 100% with Zend Framework

2009-01-28 Thread Colin Guthrie
'Twas brillig, and rcastley at 27/01/09 23:26 did gyre and gimble: I am looking (begging!) for help/testing/feedback etc etc etc on my JotBug project Looks interesting. I do hack a bit on Trac, but much prefer PHP (and ZF) to Python (just what I know etc.) That said I've got too much

Re: [PHP] Re: [PROJECT HELP] - JotBug - A Project Management Issue Tracker written 100% with Zend Framework

2009-01-28 Thread Thorsten Suckow-Homberg
Colin Guthrie schrieb: 'Twas brillig, and rcastley at 27/01/09 23:26 did gyre and gimble: I am looking (begging!) for help/testing/feedback etc etc etc on my JotBug project A few years ago we had similiar in mind with phrac - it's over at phrac.tigris.org. I put a lot of effort into writing

Re: [PHP] Coding for email response forms

2009-01-28 Thread Tom
Clancy clanc...@cybec.com.au wrote in message news:c77vn4pri9tsbaqg9avv3i7dnfb8nvk...@4ax.com... On Mon, 26 Jan 2009 17:57:29 -0600, obeli...@comcast.net (Tom) wrote: .. Also make sure there aren't line returns or any nonsense like that in the to subjects. Look up email header

Re: [PHP] Coding for email response forms

2009-01-28 Thread Shawn McKenzie
Tom wrote: Clancy clanc...@cybec.com.au wrote in message news:c77vn4pri9tsbaqg9avv3i7dnfb8nvk...@4ax.com... On Mon, 26 Jan 2009 17:57:29 -0600, obeli...@comcast.net (Tom) wrote: .. Also make sure there aren't line returns or any nonsense like that in the to subjects. Look up email

[PHP] validating directory and file name with preg_match

2009-01-28 Thread Frank Stanovcak
I'm limiting access to certain proceedures based on the file trying to use them, and the directory they are located in on my server. Right now I am using two preg_match statments as you will see. What I want to know is this. Is there a way to write a single regex for this that will supply

Re: [PHP] Re: unlink file rights problem

2009-01-28 Thread Michael Kubler
http://au2.php.net/cli PHP via command line. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Shawn McKenzie wrote: Merlin Morgenstern wrote: Hi there, I am trying to unlink a file which is inside a folder that is not writable to phps user www. Of course this

Re: [PHP] Kinda 0.T... php site and maintenance

2009-01-28 Thread Ryan S
@Bastien, Stuart: Thanks for your input guys, was very useful and appreciate it. cheers! R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Connection error on URI

2009-01-28 Thread Skip Evans
Hey all, I'm working on someone else's code that tries to read an XML transaction from a remote server with the following code. $url=http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNumSNum=.$user_sass; // $url = urlencode($url); $xml_response =

Re: [PHP] Connection error on URI

2009-01-28 Thread Jan G.B.
2009/1/28 Skip Evans s...@bigskypenguin.com: Hey all, $url=http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNumSNum=.$user_sass; $xml_response = file_get_contents($url, true); But this transaction times out and returns an empty transaction, even with the call to

Re: [PHP] Connection error on URI

2009-01-28 Thread Skip Evans
Here's the output with the call to error_reporting(255); in place. Calling Sassnet... Warning: file_get_contents(http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNumSNum=59) [function.file-get-contents]: failed to open stream: Connection timed out in

[PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Al
Frank Stanovcak wrote: I'm limiting access to certain proceedures based on the file trying to use them, and the directory they are located in on my server. Right now I am using two preg_match statments as you will see. What I want to know is this. Is there a way to write a single regex

[PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Frank Stanovcak
Frank Stanovcak blindspot...@comcast.net wrote in message news:a8.d6.08436.5cf80...@pb1.pair.com... I'm limiting access to certain proceedures based on the file trying to use them, and the directory they are located in on my server. Right now I am using two preg_match statments as you will

RE: [PHP] validating directory and file name with preg_match

2009-01-28 Thread Boyd, Todd M.
-Original Message- From: Frank Stanovcak [mailto:blindspot...@comcast.net] Sent: Wednesday, January 28, 2009 11:08 AM To: php-general@lists.php.net Subject: [PHP] validating directory and file name with preg_match I'm limiting access to certain proceedures based on the file trying

RE: [PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Boyd, Todd M.
-Original Message- From: Frank Stanovcak [mailto:blindspot...@comcast.net] Sent: Wednesday, January 28, 2009 1:04 PM To: php-general@lists.php.net Subject: [PHP] Re: validating directory and file name with preg_match Frank Stanovcak blindspot...@comcast.net wrote in message

Re: [PHP] Connection error on URI

2009-01-28 Thread Jim Lucas
Skip Evans wrote: Hey all, I'm working on someone else's code that tries to read an XML transaction from a remote server with the following code. $url=http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNumSNum=.$user_sass; // $url = urlencode($url); The

[PHP] New to PHP question

2009-01-28 Thread Don Collier
I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the script from the command line it works great. When I run the same code in a browser it does not put

Re: [PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Frank Stanovcak
Boyd, Todd M. tmbo...@ccis.edu wrote in message news:33bde0b2c17eef46acbe00537cf2a19003bb9...@exchcluster.ccis.edu... -Original Message- From: Frank Stanovcak [mailto:blindspot...@comcast.net] Sent: Wednesday, January 28, 2009 1:04 PM To: php-general@lists.php.net Subject: [PHP] Re:

[PHP] Re: New to PHP question

2009-01-28 Thread Frank Stanovcak
Don Collier dcoll...@collierclan.com wrote in message news:4980ac7e.2080...@collierclan.com... I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the

Re: [PHP] New to PHP question

2009-01-28 Thread Per Jessen
Don Collier wrote: First, when I use the \n and run the script from the command line it works great. When I run the same code in a browser it does not put the newline in and the text runs together. I know that I can use br/ to do the same thing, but why is it this way? That's how HTML

Re: [PHP] New to PHP question

2009-01-28 Thread Stephen
Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the script from the command line it works great. When I run the same code in a

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the script from the command line it works

Re: [PHP] Re: unlink file rights problem

2009-01-28 Thread Ashley Sheridan
On Thu, 2009-01-29 at 03:49 +1030, Michael Kubler wrote: http://au2.php.net/cli PHP via command line. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Shawn McKenzie wrote: Merlin Morgenstern wrote: Hi there, I am trying to unlink a file which is

Re: [PHP] New to PHP question

2009-01-28 Thread Stephen
Paul M Foster wrote: If you want exact layout (columns lined up, etc.), the simplest solution is to use HTML tables. 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.

Re: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 14:40 -0500, Stephen wrote: Especially now that Microsoft, just this week, is sending out IE 8 which seems to be fully CCS standards compliant. *snigger* I'll believe that when I see it, rather I give it to you oh web developers everywhere, that this is just a new M$

Re: [PHP] Re: New to PHP question

2009-01-28 Thread Jim Lucas
Frank Stanovcak wrote: Don Collier dcoll...@collierclan.com wrote in message news:4980ac7e.2080...@collierclan.com... I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I

Re: [PHP] New to PHP question

2009-01-28 Thread Don Collier
Paul M Foster wrote: On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the script from

Re: [PHP] New to PHP question

2009-01-28 Thread Bastien Koert
On Wed, Jan 28, 2009 at 2:58 PM, Don Collier dcoll...@collierclan.comwrote: Paul M Foster wrote: On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it

Re: [PHP] New to PHP question

2009-01-28 Thread Stuart
2009/1/28 Stephen stephe...@rogers.com: Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the script from the command line it works

Re: [PHP] Re: Programming general question

2009-01-28 Thread Terion Miller
On Wed, Jan 28, 2009 at 3:54 AM, Ondrej Kulaty kopyto...@gmail.com wrote: Depends on what for you want to use that. Array is simple data structure, it holds data, like variable, but objects has methods and properties, it acts as someting which can do some sort of task and you access it via

Re: [PHP] New to PHP question

2009-01-28 Thread Per Jessen
Don Collier wrote: From what I am seeing in the responses if I plan on using php for command line scripts things get written one way. If, on the other hand, the php is written for a web page it gets written a slightly different way inserting html where necessary for formatting. No, the

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 02:40:55PM -0500, Stephen wrote: Paul M Foster wrote: If you want exact layout (columns lined up, etc.), the simplest solution is to use HTML tables. The horror. Do not use tables for layout. Use CSS. Especially now that Microsoft, just this week, is sending

[PHP] Making a Variable from different tables with Matching Db fields?

2009-01-28 Thread Terion Miller
Not sure if I'm wording this right, what I am trying to do is look in two tables, match the ID to use to pull information Here's my code but it's not right, although it is picking up the user from the session, I will also post what my variable debugging lists: $query = SELECT

[PHP] Re: Making a Variable from different tables with Matching Db fields?

2009-01-28 Thread Terion Miller
Wow I got it !! Well I now have the AdminID variable to work with!! If I wasn't so tired and brain dead from marathoning this project because I'm so so So SICK of it, I would get up and do the happy dance On Wed, Jan 28, 2009 at 2:18 PM, Terion Miller webdev.ter...@gmail.comwrote: Not sure

Re: [PHP] Making a Variable from different tables with Matching Db fields?

2009-01-28 Thread Andrew Ballard
On Wed, Jan 28, 2009 at 3:18 PM, Terion Miller webdev.ter...@gmail.com wrote: Not sure if I'm wording this right, what I am trying to do is look in two tables, match the ID to use to pull information Here's my code but it's not right, although it is picking up the user from the session, I

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 03:06:36PM -0500, Bastien Koert wrote: On Wed, Jan 28, 2009 at 2:58 PM, Don Collier dcoll...@collierclan.comwrote: On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a

Re: [PHP] New to PHP question

2009-01-28 Thread Ernie Kemp
Is there any advantage to using CSS over table and would it be idea to go to past website and change them. /Ernie - Original Message - From: Stephen stephe...@rogers.com Newsgroups: php.general To: Paul M Foster pa...@quillandmouse.com Cc: php-general@lists.php.net Sent: Wednesday,

Re: [PHP] New to PHP question

2009-01-28 Thread Bastien Koert
On Wed, Jan 28, 2009 at 3:28 PM, Paul M Foster pa...@quillandmouse.comwrote: On Wed, Jan 28, 2009 at 03:06:36PM -0500, Bastien Koert wrote: On Wed, Jan 28, 2009 at 2:58 PM, Don Collier dcoll...@collierclan.com wrote: On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote:

Re: [PHP] New to PHP question

2009-01-28 Thread Don Collier
Paul M Foster wrote: See? This is what I'm talking about. *I* understand what you're saying, Don, and I agree. But this guy is just learning PHP from what is arguably not one of the best books on PHP (IMO). And you're throwing MVC at him. Let him master the subtleties of the language first,

Re: [PHP] New to PHP question

2009-01-28 Thread Frank Stanovcak
Don Collier dcoll...@collierclan.com wrote in message news:4980c3d3.8040...@collierclan.com... Paul M Foster wrote: See? This is what I'm talking about. *I* understand what you're saying, Don, and I agree. But this guy is just learning PHP from what is arguably not one of the best books

Re: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 13:45 -0700, Don Collier wrote: Paul M Foster wrote: See? This is what I'm talking about. *I* understand what you're saying, Don, and I agree. But this guy is just learning PHP from what is arguably not one of the best books on PHP (IMO). And you're throwing MVC

Re: [PHP] Making a Variable from different tables with Matching Db fields?

2009-01-28 Thread Terion Miller
Well I'm stuck I have the AdminID but now I can't seem to use it to pull workorders with that AdminID . I couldn't get your block to work Andrew :( I think I'm just not using it right now that I have it...lol On Wed, Jan 28, 2009 at 2:26 PM, Andrew Ballard aball...@gmail.com wrote: On Wed,

Re: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 15:17 -0500, Paul M Foster wrote: On Wed, Jan 28, 2009 at 02:40:55PM -0500, Stephen wrote: Paul M Foster wrote: If you want exact layout (columns lined up, etc.), the simplest solution is to use HTML tables. The horror. Do not use tables for layout.

Re: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 15:33 -0500, Ernie Kemp wrote: Is there any advantage to using CSS over table and would it be idea to go to past website and change them. /Ernie - Original Message - From: Stephen stephe...@rogers.com Newsgroups: php.general To: Paul M Foster

Re: [PHP] New to PHP question

2009-01-28 Thread mike
On Wed, Jan 28, 2009 at 1:26 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: I use CSS as much as possible, and it's second nature to me now to design with CSS rather than tables, but the only area I find it quicker to use tables is when I design forms. I know I'm going to browser hell,

Re: [PHP] Making a Variable from different tables with Matching Db fields?

2009-01-28 Thread Christoph Boget
Well I'm stuck I have the AdminID but now I can't seem to use it to pull workorders with that AdminID . I couldn't get your block to work Andrew :( I think I'm just not using it right now that I have it...lol Because there is ambiguity w/r/t the columns you are selecting, you'll need to use

Re: [PHP] Making a Variable from different tables with Matching Db fields?

2009-01-28 Thread Terion Miller
I just read it 3 times and I don't understand it. On Wed, Jan 28, 2009 at 3:22 PM, Christoph Boget christoph.bo...@gmail.comwrote: Well I'm stuck I have the AdminID but now I can't seem to use it to pull workorders with that AdminID . I couldn't get your block to work Andrew :( I think

Re: [PHP] Making a Variable from different tables with Matching Db fields?

2009-01-28 Thread Andrew Ballard
On Wed, Jan 28, 2009 at 4:22 PM, Christoph Boget christoph.bo...@gmail.com wrote: Well I'm stuck I have the AdminID but now I can't seem to use it to pull workorders with that AdminID . I couldn't get your block to work Andrew :( I think I'm just not using it right now that I have it...lol

Re: [PHP] Making a Variable from different tables with Matching Db fields?

2009-01-28 Thread Andrew Ballard
On Wed, Jan 28, 2009 at 4:31 PM, Terion Miller webdev.ter...@gmail.com wrote: On Wed, Jan 28, 2009 at 3:22 PM, Christoph Boget christoph.bo...@gmail.com wrote: Well I'm stuck I have the AdminID but now I can't seem to use it to pull workorders with that AdminID . I couldn't get your block

Re: [PHP] Making a Variable from different tables with Matching Db fields?

2009-01-28 Thread Shawn McKenzie
Terion Miller wrote: Well I'm stuck I have the AdminID but now I can't seem to use it to pull workorders with that AdminID . I couldn't get your block to work Andrew :( I think I'm just not using it right now that I have it...lol On Wed, Jan 28, 2009 at 2:26 PM, Andrew Ballard

Re: [PHP] Making a Variable from different tables with Matching Db fields?

2009-01-28 Thread Christoph Boget
Because there is ambiguity w/r/t the columns you are selecting, you'll need to use aliases. http://dev.mysql.com/doc/refman/5.1/en/identifiers.html In your code, when you are referencing the column, do so using the alias. That should solve your problem. I just read it 3 times and I

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Shawn McKenzie
Shawn McKenzie wrote: Terion Miller wrote: Well I'm stuck I have the AdminID but now I can't seem to use it to pull workorders with that AdminID . I couldn't get your block to work Andrew :( I think I'm just not using it right now that I have it...lol On Wed, Jan 28, 2009 at 2:26 PM,

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Terion Miller
On Wed, Jan 28, 2009 at 3:43 PM, Shawn McKenzie nos...@mckenzies.netwrote: Shawn McKenzie wrote: Terion Miller wrote: Well I'm stuck I have the AdminID but now I can't seem to use it to pull workorders with that AdminID . I couldn't get your block to work Andrew :( I think I'm just

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Shawn McKenzie
Terion Miller wrote: On Wed, Jan 28, 2009 at 3:43 PM, Shawn McKenzie nos...@mckenzies.netwrote: Shawn McKenzie wrote: Terion Miller wrote: Well I'm stuck I have the AdminID but now I can't seem to use it to pull workorders with that AdminID . I couldn't get your block to work Andrew :( I

RE: [PHP] New to PHP question

2009-01-28 Thread Boyd, Todd M.
-Original Message- From: Stephen [mailto:stephe...@rogers.com] Sent: Wednesday, January 28, 2009 1:41 PM To: Paul M Foster Cc: php-general@lists.php.net Subject: Re: [PHP] New to PHP question Paul M Foster wrote: If you want exact layout (columns lined up, etc.), the simplest

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Terion Miller
On Wed, Jan 28, 2009 at 4:00 PM, Shawn McKenzie nos...@mckenzies.netwrote: Terion Miller wrote: On Wed, Jan 28, 2009 at 3:43 PM, Shawn McKenzie nos...@mckenzies.net wrote: Shawn McKenzie wrote: Terion Miller wrote: Well I'm stuck I have the AdminID but now I can't seem to use it to

Re: [PHP] New to PHP question

2009-01-28 Thread Shawn McKenzie
Boyd, Todd M. wrote: -Original Message- From: Stephen [mailto:stephe...@rogers.com] Sent: Wednesday, January 28, 2009 1:41 PM To: Paul M Foster Cc: php-general@lists.php.net Subject: Re: [PHP] New to PHP question Paul M Foster wrote: If you want exact layout (columns lined up,

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Terion Miller
On Wed, Jan 28, 2009 at 4:12 PM, Terion Miller webdev.ter...@gmail.comwrote: On Wed, Jan 28, 2009 at 4:00 PM, Shawn McKenzie nos...@mckenzies.netwrote: Terion Miller wrote: On Wed, Jan 28, 2009 at 3:43 PM, Shawn McKenzie nos...@mckenzies.net wrote: Shawn McKenzie wrote: Terion

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Shawn McKenzie
Here are my variables when I reveal them, I am picking up the right adminID I can't figure out why it's returning random orders though: $querySELECT admin.AdminID, workorders.AdminID FROM admin, workorders WHERE admin.UserName = 'tmiller' $result Resource id #5 $row key

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Chris
Here are my variables when I reveal them, I am picking up the right adminID I can't figure out why it's returning random orders though: $querySELECT admin.AdminID, workorders.AdminID FROM admin, workorders WHERE admin.UserName = 'tmiller' Please please please trim your posts to relevant

Re: [PHP] Re: Programming general question

2009-01-28 Thread Usamah M. Ali
On Wed, Jan 28, 2009 at 11:07 PM, Terion Miller webdev.ter...@gmail.com wrote: On Wed, Jan 28, 2009 at 3:54 AM, Ondrej Kulaty kopyto...@gmail.com wrote: Thanks for all the information, I was asking because I inherited thousands of lines of code that had used mysql_fetch_object(), yet I kept

Re: [PHP] New to PHP question

2009-01-28 Thread Stephen
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

[PHP] Mailing list rules?

2009-01-28 Thread Daniel Kolbo
Hello, Is it okay for me to post a message looking for programmers willing to help out with a php project? Thanks, dK

RE: [PHP] New to PHP question

2009-01-28 Thread Boyd, Todd M.
-Original Message- From: Stephen [mailto:stephe...@rogers.com] Sent: Wednesday, January 28, 2009 4:40 PM Cc: php-general@lists.php.net Subject: Re: [PHP] New to PHP question Boyd, Todd M. wrote: Finally, just because IE8 is (supposed to be) fully CSS standards compliant

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Terion Miller
I'm not sure what you mean by trim the posts, please explain so I can spare folks from redundant text. Your post made perfect sense to me about the INNER JOIN , I looked it up but it is not returning the AdminID, maybe my syntax is wrong? $query = SELECT admin.AdminID , workorders.AdminID

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Chris
Terion Miller wrote: I'm not sure what you mean by trim the posts, please explain so I can spare folks from redundant text. Before you post, remove any text that you're not referencing (in this case I removed my suggestion). Your post made perfect sense to me about the INNER JOIN , I

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 01:45:07PM -0700, Don Collier wrote: On that note, what would be a better book to learn from? I have always been a fan of the O'Reilly books, but I am open to differing flavors of kool-aid. One can never have too many resources. The book that sits on my desk and is

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 03:33:19PM -0500, Ernie Kemp wrote: Is there any advantage to using CSS over table and would it be idea to go to past website and change them. If it works, don't fix it. If you want to take the time to figure out how to get those same layouts in CSS, have a blast. But

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 09:26:10PM +, Ashley Sheridan wrote: snip I use CSS as much as possible, and it's second nature to me now to design with CSS rather than tables, but the only area I find it quicker to use tables is when I design forms. I know I'm going to browser hell, but meh,

RE: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 16:05 -0600, Boyd, Todd M. wrote: -Original Message- From: Stephen [mailto:stephe...@rogers.com] Sent: Wednesday, January 28, 2009 1:41 PM To: Paul M Foster Cc: php-general@lists.php.net Subject: Re: [PHP] New to PHP question Paul M Foster wrote:

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Terion Miller
Your post made perfect sense to me about the INNER JOIN , I looked it up but it is not returning the AdminID, maybe my syntax is wrong? $query = SELECT admin.AdminID , workorders.AdminID FROM admin INNER JOIN workorders ON AdminID(admin,

Re: [PHP] New to PHP question

2009-01-28 Thread Nathan Rixham
Paul M Foster wrote: On Wed, Jan 28, 2009 at 09:26:10PM +, Ashley Sheridan wrote: snip I use CSS as much as possible, and it's second nature to me now to design with CSS rather than tables, but the only area I find it quicker to use tables is when I design forms. I know I'm going to

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Chris
Well I tried both ways and still cannot get it to pick up the AdminID, $query SELECT admin.AdminID , workorders.AdminID FROM admin INNER JOIN workorders on AdminID WHERE admin.UserName = 'tmiller' $result $row $SortBy WorkOrderID DESC $Page 1 $PerPage30 $StartPage 0 $sql

Re: [PHP] Mailing list rules?

2009-01-28 Thread Daniel Brown
On Wed, Jan 28, 2009 at 17:52, Daniel Kolbo kolb0...@umn.edu wrote: Hello, Is it okay for me to post a message looking for programmers willing to help out with a php project? Absolutely, Dan, go right ahead. As long as you don't bump the thread or post strictly to advertise any kind of

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Shawn McKenzie
Terion Miller wrote: Your post made perfect sense to me about the INNER JOIN , I looked it up but it is not returning the AdminID, maybe my syntax is wrong? $query = SELECT admin.AdminID , workorders.AdminID FROM admin

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Chris
The main problem is that you've never explained what you want to get from the query. The replies have used your code as an example and I'm pretty sure that's not what you want. Unless I totally mis-understand what you want, you have 2 options: 1. Use the 2 queries that I gave you in a

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Shawn McKenzie
Chris wrote: The main problem is that you've never explained what you want to get from the query. The replies have used your code as an example and I'm pretty sure that's not what you want. Unless I totally mis-understand what you want, you have 2 options: 1. Use the 2 queries that I

[PHP] help with require/includes pathing frustration

2009-01-28 Thread Daevid Vincent
At the very top of my login.php page I have this: ?php require_once('./includes/gui/gui_setup.inc.php'); ... ? (I've tried with and without the ./ prefix as if that might make a difference) When I try to load the URL: https://example.com/vincentd/mydart/login.php I get this error: Warning:

Re: [PHP] help with require/includes pathing frustration

2009-01-28 Thread Edmund Hertle
2009/1/29 Daevid Vincent dae...@daevid.com At the very top of my login.php page I have this: ?php require_once('./includes/gui/gui_setup.inc.php'); ... ? (I've tried with and without the ./ prefix as if that might make a difference) When I try to load the URL:

Re: [PHP] help with require/includes pathing frustration [SOLVED]

2009-01-28 Thread Daevid Vincent
OMFG! I'm an idiot. This is what happens when you work long hours and refactor code without eating/sleeping properly.. so... it's gui_setup.inc.php I'm trying to include, yet the file is named gui_setup.php. What a newb mistake!!! UGH. Sorry for wasting everyone's bandwidth. Is there a way to

Re: [PHP] help with require/includes pathing frustration

2009-01-28 Thread Daniel Brown
On Wed, Jan 28, 2009 at 22:15, Daevid Vincent dae...@daevid.com wrote: At the very top of my login.php page I have this: ?php require_once('./includes/gui/gui_setup.inc.php'); ... ? (I've tried with and without the ./ prefix as if that might make a difference) Not that it will make a

Re: [PHP] help with require/includes pathing frustration [SOLVED]

2009-01-28 Thread Daniel Brown
On Wed, Jan 28, 2009 at 22:23, Daevid Vincent dae...@daevid.com wrote: What a newb mistake!!! UGH. Sorry for wasting everyone's bandwidth. Is there a way to have this email deleted from the archives -- I am embarrassed by it! HAHAH! You wish. Just be glad the PostTrack isn't running

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 11:41:31PM +, Nathan Rixham wrote: Paul M Foster wrote: On Wed, Jan 28, 2009 at 09:26:10PM +, Ashley Sheridan wrote: snip I use CSS as much as possible, and it's second nature to me now to design with CSS rather than tables, but the only area I find it

Re: [PHP] New to PHP question

2009-01-28 Thread Don Collier
Paul M Foster wrote: On Wed, Jan 28, 2009 at 01:45:07PM -0700, Don Collier wrote: On that note, what would be a better book to learn from? I have always been a fan of the O'Reilly books, but I am open to differing flavors of kool-aid. One can never have too many resources. The