[PHP] Connection string and Monday Morning blues

2002-11-24 Thread Paul Dionne
Ug, I hate Mondays. stretches must drink more coffee./stretches Anyway, got a problem I hope someone can help with or at least jumpstart my brain. I wrote a few web pages, work fine on my machine. Uploaded them on Friday and they don't seem to work. Looks like I am not connecting to the

[PHP] url - self

2002-11-21 Thread Paul Dionne
hello, I have three tables with similar formats but different information. So, I wrote one function to deal with all three. Problem is that originally this was done with one form, so I had an add button at the bottom (and delete beside each record). But the form took too long to load now I

RE: [PHP] url - self

2002-11-21 Thread Paul Dionne
Yep, that is what I was looking for. thanks, paul Jon Haworth wrote: Hi Paul, I just need to know how to get the url of the page calling the function so I can delete the information from the appropriate table. Does $PHP_SELF not give you what you're after? Cheers Jon -- PHP

Re: [PHP] addslashes/stripslashes

2002-11-06 Thread Paul Dionne
thanks guys, got it working now. Removed Addslashes and it works fine. 1lt John W. Holmes wrote: I am trying to develop a search for my database. I used addslashes when entering the data, and then use addslashes with the search but nothing comes up: Select * from tblContacts,

[PHP] addslashes/stripslashes

2002-11-05 Thread Paul Dionne
Hey, I am trying to develop a search for my database. I used addslashes when entering the data, and then use addslashes with the search but nothing comes up: Select * from tblContacts, tblCountries WHERE (tblContacts.CountryCode=tblCountries.CountryID) AND (Organization LIKE '%o\'mallies%' )

Re: [PHP] Scheduler, Staff Directory, Work tracker

2002-08-13 Thread Paul Dionne
Um yes, well the issue is not learning it is time. I am on an assignment here for only 4 more months and I have another project to do. There is no point in starting from scratch. I will check the web sites you suggested. Paul Justin French wrote: on 12/08/02 5:59 PM, Paul Dionne ([EMAIL

[PHP] Scheduler, Staff Directory, Work tracker

2002-08-12 Thread Paul Dionne
Good morning everyone! Our organization is in need of a Scheduling program for meeting rooms. The program doesn't need to be very complicated...five or six rooms, outputs a list of rooms available for the time the user enters. We would put it on our intranet. We could also use a basic

Re: [PHP] Linux PHP editor

2002-08-09 Thread Paul Dionne
I am using Quanta 2.0 and loving it. http://quanta.sourceforge.net Oh My Gosh they have a new verison out.. 3.0 Time to upgrade. Paul @ Edwin wrote: I use vim most of the time... but how 'bout some bluefish? http://bluefish.openoffice.nl/ Or, try using your fav editor with

Re: [PHP] More ???s on passing variables

2002-08-01 Thread Paul Dionne
Jason Wong wrote: On Wednesday 31 July 2002 22:40, Paul Dionne wrote: I have a class in my script which has information on specific tables such as standard queries, tablenames, Index field... Then there is a function called StandardDropDown($ItemNum, $Name) which gets the info from

[PHP] Re: More ???s on passing variables

2002-08-01 Thread Paul Dionne
Help still needed. I just went back to the code and looked. Making $ItemNum does not make a difference. And the object which is passed to it is part of the class which is global anyway. Paul Paul Dionne wrote: Hello everyone, I have a class in my script which has information

[PHP] Re: using Cascading style sheet

2002-07-31 Thread Paul Dionne
I am confident nearly all browsers support CSS. Only the oldest still lingering out there will not. But keep in mind your site is still readable if someone is still using an outdated browser. Advantages - many But the most important is consistency and centralization. You can change the

[PHP] More ???s on passing variables

2002-07-31 Thread Paul Dionne
Hello everyone, I have a class in my script which has information on specific tables such as standard queries, tablenames, Index field... Then there is a function called StandardDropDown($ItemNum, $Name) which gets the info from the appropriate table you want and displays a dropdown menu

[PHP] Re: ORDER BY from 2 tables

2002-07-30 Thread Paul Dionne
I am not sure what exactly you mean. If you are talking about a regular query then: SELECT tblTable1.hits, tblTable2.hits FROM tblTable1, tblTable2 ORDER BY tblTable1.hits; If you are talking about combining the two tables so that all your 'hits' are in one column then there are a

[PHP] PHP counterpart to 4GuysFromRolla?

2002-07-29 Thread Paul Dionne
Is there a PHP counterpart to this site: http://www.4GuysFromRolla.com/ I always thought it was a great resource, easy to use, and full of information. I have not found anything nearly as comparable for PHP so far. Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: OO Programming - get practical

2002-07-24 Thread Paul Dionne
Thanks Richard, actually your comments really help. As I said to a few others who replied directly, I feel like it is something I ought to be doing. But most of my development is small-scale and I work alone. There is no external pressure to do so. Furthermore, I fear that if I were to

[PHP] OO Programming - get practical

2002-07-23 Thread Paul Dionne
Hey all, I want to point something out to aspiring authors. The truth is, that few books and web pages out there show examples using OO methods. For example, the book I use as my primary reference has one chapter on OO PHP and that is it. The rest of the examples in the book are in regular

Re: [PHP] Multiple Tables -add, edit, delete

2002-07-17 Thread Paul Dionne
Thanks Dan Paul Analysis Solutions wrote: Oh, yes! I forgot about deleting countries that have been unchecked! Hmm... Lock the table to prevent people from reading from it, delete all records for that company, then loop through and insert the new data, then unlock the table. --Dan

[PHP] Multiple Tables -add, edit, delete

2002-07-13 Thread Paul Dionne
Hello all. Hope you are doing well. I would like some guidance here, meat of problem is in all caps: tblContacts -basic contact information on companies/non-government organizations/media outlets... tblCountriesOfOperation (tblContactsID, CountryID) -countries that tblContacts operate in.