Re: [PHP] weeks revisited

2001-03-19 Thread Chris Worth
OK I did this below and it works just great. I had stumbled across the message earlier. my next question would be. I'm working on a list of meetings. I return a list for the current month, what I would like to do is make the current week meetings show in red. However, I'm not sure of

Re: [PHP] Simple PHP 4 and MySQL question about query

2001-03-21 Thread Chris Worth
To follow on, one thing this newbie learned is that it is usually best to build the query string and then pass it to the mysql_query funcion. i had some odd results when I had several ( ) in there for my where clause I made it a separate string and presto it works every time. chris On

[PHP] data entry validation

2001-03-27 Thread Chris Worth
I'm working with some forms that need the data validated. Dates, times etc. my question is, how do I "reset" the form back to the original screen with variables intact so they can make the changes? is there a code snippet some place i can work with? thanks, chris -- PHP General Mailing

Re: [PHP] breaking out of two loops

2002-02-06 Thread Chris Worth
Dang... That is so cool. i'd never noticed that before. well I've learned enough for today. maybe my boss'l let me go home. LOL On 04 Feb 2002 16:00:53 -0800, Lars Torben Wilson wrote: On Mon, 2002-02-04 at 15:54, Erik Price wrote: Short and sweet: If I have an if statement inside a

RE: [PHP] PHP_SELF

2001-08-01 Thread Chris Worth
LOL, Jon, you just made me realize the typo I had in my script. Thanks a bunch. I had some ==, but there were two = which was making my head hurt. thanks for the post. On Tue, 31 Jul 2001 09:16:26 +0100, Jon Haworth wrote: if ($post = 1 $Age = ) {echo NO;} else {echo YES;} Now here is

RE: [PHP] SQL syntax error in PHP script. dunno what's wrong

2001-08-03 Thread Chris Worth
] -Original Message- From: Chris Worth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 12:36 PM To:[EMAIL PROTECTED] Subject: [PHP] SQL syntax error in PHP script. dunno what's wrong hey gang. here is my sql statement from my php script. $sql = UPDATE TABLE

Re: [PHP] PHP_SELF

2001-08-14 Thread Chris Worth
Michael, I've got a program set up like you describe. the problem is I've noticed that my variables are NOT stable this is it in a nutshell 1) show 3 options with radio buttons for each 2) based on above query a database and show a list of the records (now it just dawned on my that I've

[PHP] check box help.

2001-09-10 Thread Chris Worth
Hey gang I'm using a checkbox in a form that has its values dumped into a mysql database. for some odd reason, the checkbox information is lost It worked earlier so I'm guessing I introduced a typo someplace. this is the code in the form. I figure if this looks ok to you all. I just need to

Re: [PHP] Free Database Design Program

2001-05-16 Thread Chris Worth
That's a good plan. promote THEFT. maybe somebody will think if they crack your front door they then realize all the stuff in your house is free? On Sun, 13 May 2001 17:18:45 -0300 (EST), Augusto Cesar Castoldi wrote: The software can be really a freeware (better) or... can be

[PHP] Groupwise calendar interface?

2001-07-10 Thread Chris Worth
Hello All, is there anyway to get a PHP script to talk to Groupwise? I'd like to be able to make some of my web info be able to be entered into a groupwise calendar. I really don't use Gwise but I've had people ask about this. any suggestions are appreciated. chris worth -- PHP

[PHP] Script FLOW-- branching and subroutines/functions

2001-04-09 Thread Chris Worth
Hello all. I'm relatively new to the world of PHP, but I've programmed in C, C++, Rexx, in the past. What I'm working on is this and I wanted to clarify some things about how PHP "runs" I've got a function that contains a form and depending on the entry to the form, which is then checked

Re: [PHP] Script FLOW-- branching and subroutines/functions

2001-04-09 Thread Chris Worth
Thanks, Michael You've reinforced how I've come learn that php does things. When I first tried the script it simply printed the first form over and over. it was kind of funny in a way. I'll restructure my program now to account for how PHP does things. thanks again, chris On Mon, 9

Re: [PHP] Supplied argument is not a valid MySQL result resource

2001-04-11 Thread Chris Worth
This happened to me when I used _affected_rows instead of _count make sure you're using the right function. that drove me nuts before I got it working, AND I followed the durn directions. chris On Tue, 10 Apr 2001 09:02:32 -0700, elias wrote: can you show me some code? basically when you

Re: [PHP] Want a Good Book for Ref on PHP

2001-04-24 Thread Chris Worth
I started with the Pro php programming book. very useful and well written. punt the baby book :) On Mon, 16 Apr 2001 07:53:16 +0200, Martin Skj”ldebrand wrote: Kath wrote: Professional PHP Programming: http://www.amazon.com/exec/obidos/ASIN/1861002963/qid=987388364/sr=1-12/ref=

Re: [PHP] dreading OOP

2003-01-21 Thread Chris Worth
On Tue, 21 Jan 2003 09:47:28 -0600, Chris Boget wrote: equates an object to a function You'd be better off trying to equate an object to a data type. Why is that? Please explain? my 2 cents are as follows. Objects have functions that return data types as many objects contain data. and the