Re: [PHP] Reading Form Buttons

2003-09-25 Thread Dan J. Rychlik
Oh, so its the same as reading post data from form fields. Cool. That makes it easy. Thank you - Original Message - From: "Jeff McKeon" <[EMAIL PROTECTED]> To: "Dan J. Rychlik" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, Septem

[PHP] Reading Form Buttons

2003-09-25 Thread Dan J. Rychlik
Hello, I cant figure this one out. In one form I have two button that needs to trigger their respective functions. In php, how would I read the values or the names of the buttons pressed? -Dan

[PHP] Pause Timer ()

2003-09-25 Thread Dan J. Rychlik
Is their a pause timer or timer function in PHP to pause a script for a certain amount of seconds? -Dan

Re: [PHP] rename variables

2003-09-24 Thread Dan J. Rychlik
Global works... - Original Message - From: "Jennifer Goodie" <[EMAIL PROTECTED]> To: "Boyd Pearson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, September 24, 2003 3:44 PM Subject: RE: [PHP] rename variables > > I'm trying to rename some variables. > > > > first I have a fun

Re: [PHP] SQL statement

2003-09-23 Thread Dan J. Rychlik
M custlogon; not as formatted_ts. It worked fine even on zeus it tested fine. Thanks for your help Sincerely, Daniel - Original Message - From: "Dan J. Rychlik" <[EMAIL PROTECTED]> To: "Cody Phanekham" <[EMAIL PROTECTED]>; <[EMAIL PROT

Re: [PHP] SQL statement

2003-09-23 Thread Dan J. Rychlik
I tried this, and it failed. Thank you for the suggestion! - Original Message - From: "Cody Phanekham" <[EMAIL PROTECTED]> To: "Dan J. Rychlik" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Chris W. Parker" <[EMAIL PROTECTED]>; <[EM

Re: [PHP] SQL statement

2003-09-23 Thread Dan J. Rychlik
drychlik Host Info 127.0.0.1 Status OK Time Stamp Notice: Undefined index: timestamp in C:\Program Files\Apache Group\Apache2\htdocs\Ameriforms\admintool\includes\getlogonhist.php on line 44 - Original Message - From: "Jennifer Goodie" <[EMAIL PROTECTED]> To: "Da

Re: [PHP] SQL statement

2003-09-23 Thread Dan J. Rychlik
This didnt work as well. SELECT username, password, DATE_FORMAT(timestamp, '%d%m%y') as formatted_ts FROM custlogon; It caused my script to die and not execute at all - Original Message - From: "Jennifer Goodie" <[EMAIL PROTECTED]> To: "Dan J. Rychlik

Re: [PHP] SQL statement

2003-09-23 Thread Dan J. Rychlik
. I know its got to be problem with the string terminators and or the way the fetch_array reads the elements of a record in my database. - Original Message - From: "Jennifer Goodie" <[EMAIL PROTECTED]> To: "Dan J. Rychlik" <[EMAIL PROTECTED]>; "Chris W.

Re: [PHP] SQL statement

2003-09-23 Thread Dan J. Rychlik
Jennifer, you're right, I am using fetch_array... I tried to use your suggestion, and it failing as well, It wont even execute Do you have a better method of looping through all these records?? - Original Message - From: "Jennifer Goodie" <[EMAIL PROTECTED]>

Re: [PHP] SQL statement

2003-09-23 Thread Dan J. Rychlik
Ive used this $query = ("SELECT username, password, DATE_FORMAT(timestamp, '%d%m%y') FROM custlogon"); But I recieve unknown index timestamp. *shrug* - Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> To: "Dan J. Rychlik"

Re: [PHP] Re: SQL statement

2003-09-23 Thread Dan J. Rychlik
Tried that, it failed. I recieve undefined index timestamp. when executing. - Original Message - From: "Ney André de Mello Zunino" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 23, 2003 7:04 PM Subject: [PHP] Re: SQL statement

[PHP] SQL statement

2003-09-23 Thread Dan J. Rychlik
Hello, Im having a bit of trouble with the DATE_FORMAT function in mysql. $query = ('SELECT username, password, DATE_FORMAT(timestamp, '%d%m%y') FROM custlogon'); I know its failing because php doesnt like the quotation before the format parameters. Ive tried to fix this without any luck.

Re: [PHP] Reading URL is changed

2003-09-19 Thread Dan J. Rychlik
That seems to work pretty good. Thank you for this technique. -Dan - Original Message - From: "Vail, Warren" <[EMAIL PROTECTED]> To: "Dan J. Rychlik" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, September 19, 2003 7:32 PM Subject: RE: [PH

[PHP] Reading URL is changed

2003-09-19 Thread Dan J. Rychlik
I am trying to figure out the best way to accomplish this task. I have one file that performs a certain amount of functions based on a user link choice. All the links point to the same document. I know I need a control structure that reads what link was read but Im not sure how to do this.

[PHP] Flash Chat

2003-09-18 Thread Dan J. Rychlik
Hello, I was wondering if my solution would work in theory in providing a Flash chat application. I would use the AMFPHP to interface with the flash object. I would use a class to describe the chat room and creat new objects for private rooms. Do you think that this will truly work, In th

[PHP] Control Structure problem

2003-09-16 Thread Dan J. Rychlik
This doesnt work as expected. if ( $var === "TEST ONE" || "TEST TWO" || "TEST THREE") { do something; } It returns true on all strings. Ive tried using the or operator and the == but these fail as well. Any Ideas? -Dan

Re: [PHP] Control Structure problem

2003-09-16 Thread Dan J. Rychlik
1 PM Subject: Re: [PHP] Control Structure problem > try > > if ( $var == "TEST ONE" || $var == "TEST TWO" || $var == "TEST THREE") { > > do something; > > } > > luke > - Original Message - > From: "Dan J. Rychlik&qu

Re: [PHP] Whats wrong with my code?

2003-09-16 Thread Dan J. Rychlik
Your missing your default for your case switch statement And you ; at the end of line on your last include statement.. -Dan - Original Message - From: "Stevie D Peele" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 16, 2003 4:10 PM Subject: [PHP] Whats wrong with

[PHP] Calling functions from Button actions

2003-09-12 Thread Dan J. Rychlik
Is their an easy way to call a function based upon a button action? -Dan

[PHP] Dynamic Drill down menus

2003-09-11 Thread Dan J. Rychlik
Hello, I have created a db that holds specific information ie a business name. I am running into a problem on a form when you choose the business name another list is suppossed to populate the address or addresses, if multiple occur, and you can select the address. I am not able to sucessfu

Re: [PHP] The stupidest question of the month.

2003-08-14 Thread Dan J. Rychlik
I wrote a similiar IO Socket script by what you are describing. I used perl and the IO::Socket module. It was pretty straight forward and their is plenty of docs out there on that module. Just a thought Good Luck! Daniel - Original Message - From: "René Fournier" <[EMAIL PROTECTED]

[PHP] Is their a flash and php mailing list?

2003-07-26 Thread Dan J. Rychlik
Is their a flash and php mailing list? or PHP for Flash mailing list?

[PHP] Passing value back to SWF

2003-07-19 Thread Dan J. Rychlik
I have a swf file that I have created with a appropriate loadvarnum() function. I have created a $statusmsg dynamic text field. When I execute my script with a button action I am able to This works fine. print "&statusmsg="."Passing value"; But when I print "&statusmsg=". $testvariable; Re

Re: [PHP] Re: Code and Good Design Methods

2003-07-12 Thread Dan J. Rychlik
hmm.. ill have a look. Thanks again. - Original Message - From: "zbranigan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 12, 2003 9:15 PM Subject: [PHP] Re: Code and Good Design Methods > >>>>> "Dan" == Dan J Rych

[PHP] Code and Good Design Methods

2003-07-12 Thread Dan J. Rychlik
I am reading PHP and MySQL web development 2nd edition book. Chapter 6 talks about displaying dynamic web content using class objects. For the type of project that I am building, this is not optimal. How do I keep my self from having html mixed with my PHP code? In other words how do I serpe