RE: [PHP] daily availability chart array

2003-05-27 Thread Jason Dulberg
Thank you for the response. I am not quite sure how that works, can you please give an example? Thanks. Jason > -Original Message- > From: Marek Kilimajer [mailto:[EMAIL PROTECTED] > Sent: May 27, 2003 8:13 AM > To: Jason Dulberg > Cc: [EMAIL PROTECTED] > Subjec

RE: [PHP] array insert help

2003-03-22 Thread Jason Dulberg
ess']['city'][$i]; } The form fields are as you suggested as well. Thanks again! Jason > -Original Message- > From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED] > Sent: March 22, 2003 4:05 PM > To: Jason Dulberg > Cc: [EMAIL PROTECTED] > S

[PHP] array insert help

2003-03-22 Thread Jason Dulberg
I need to create a form where work/home address details need to be entered. I'd like to have these listed as 2 entries in the mysql db so I'm assuming I need to create an array and loop through the array to do the insert. So I have an address[1] and address[2] for example for a total of 12 add

RE: [PHP] update query based on array

2002-12-10 Thread Jason Dulberg
Thanks Mike, that fixed the problem that I had! Jason > -Original Message- > From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]] > Sent: December 10, 2002 6:21 AM > To: 'Jason Dulberg' > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] update query based on array >

RE: [PHP] update query based on array

2002-12-09 Thread Jason Dulberg
Jason > -Original Message- > From: Jimmy Brake [mailto:[EMAIL PROTECTED]] > Sent: December 9, 2002 6:29 PM > To: Jason Dulberg > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] update query based on array > > > not real sure of the setup of the form but if you have mutiple grou

[PHP] update query based on array

2002-12-09 Thread Jason Dulberg
ere's what I'm using for the sql query: while(list($key,$val)=each($rankid)) { $upd=mysql_query("UPDATE ranking SET category='$category', rank='$rank' WHERE pid=$val"); } If anyone has any suggestions for fixing this problem, please let me know :

RE: [PHP] 1 session, 2 subdomains

2002-06-03 Thread Jason Dulberg
If you > have to have them login in one domain and then use the info in another, > building your own session handler is one way to do it. But if you have no > session info to pass, why is it a problem? > > =C= > > * > * Cal Evans > * Journeyman Programmer > * Techno-Ma

RE: [PHP] 1 session, 2 subdomains

2002-06-03 Thread Jason Dulberg
> * Journeyman Programmer > * Techno-Mage > * http://www.calevans.com > * > > > -Original Message- > From: Jason Dulberg [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 03, 2002 2:13 PM > To: [EMAIL PROTECTED] > Subject: [PHP] 1 session, 2 subdomains > > >

RE: [PHP] 1 session, 2 subdomains

2002-06-03 Thread Jason Dulberg
the authentication). > > cheers, > thalis > > > On Mon, 3 Jun 2002, Jason Dulberg wrote: > > > I am working on a sports website that will have a subdomain for > each major > > sport. There is a login panel on the main domain that routes > users to the >

[PHP] 1 session, 2 subdomains

2002-06-03 Thread Jason Dulberg
signs in on - if I allow users to login on their given sport subdomain, the session works ok, but this doesn't work the way I'd like. Any ideas on what I'm doing wrong? (I can post my login/session code if need be) Thanks for any suggestions!! ______ Jason Dulb

RE: [PHP] save html created by loop in variable

2002-04-17 Thread Jason Dulberg
ad Thanks again for your help on this. Jason > -Original Message- > From: Miguel Cruz [mailto:[EMAIL PROTECTED]] > Sent: April 17, 2002 8:28 PM > To: Jason Dulberg > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] save html created by loop in variable > > > On

[PHP] save html created by loop in variable

2002-04-17 Thread Jason Dulberg
ime something needs to be displayed but it didn't display anything. Any ideas how I could create such a thing? thanks in advance! :) ______ Jason Dulberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] get data from query before while loop

2002-03-10 Thread Jason Dulberg
xtract($row); echo $title.""; } Currently, I have everything in the while loop which prints things out more than what I'd like. Is there a way that I can get around this problem? Any suggestions are greatly appreciated thanks. :) __ Jason Dulberg Extreme MTB http://extrem

RE: [PHP] form submission error trapping

2002-02-20 Thread Jason Dulberg
to another page, or decide to use other templates and output > >something else. > > > >As for errors, I build an array of the messages such as: > >if (!empty($thatsThere)) { > >$errors[] = "Don't put $thatsThere in there"; > >} > >if (e

RE: [PHP] form submission error trapping

2002-02-17 Thread Jason Dulberg
, 2002 6:41 PM To: '[EMAIL PROTECTED]'; Steven Walker Cc: [EMAIL PROTECTED] Subject: RE: [PHP] form submission error trapping something like: not tested but should work - just expand on it Martin -Original Message- From: Jas

RE: [PHP] form submission error trapping

2002-02-17 Thread Jason Dulberg
> out. > > Steven J. Walker > Walker Effects > www.walkereffects.com > [EMAIL PROTECTED] > > On Sunday, February 17, 2002, at 02:22 PM, Jason Dulberg wrote: > > > I am working on some error trapping for several forms on my site. After > > visiting a bunch of w

[PHP] form submission error trapping

2002-02-17 Thread Jason Dulberg
play the form w/original contents and error messages 'without' having to code the entire form twice? I have about 5 forms with 50 fields or so each. What would be the best way to go about redrawing the form with the errors shown beside each field? Any suggestions are greatly appreciated.

RE: [PHP] IF in mysql query results problem

2002-01-06 Thread Jason Dulberg
join coach with co_bookmarks. I hope this helps. erisen SELECT p.id AS player_id, p.name, p.hs, c.id AS coach_id, co.cid AS college, IF(co.pid=31,1,0) AS is_bookmarked FROM player p, coach c, co_bookmarks co WHERE p.id=31 AND p.hs=c.id AND co.cid=2 Jason Dulberg <[EMAIL P

[PHP] IF in mysql query results problem

2002-01-06 Thread Jason Dulberg
s I'm tapped out on ideas. Thanks a TON!! __ Jason Dulberg Extreme MTB http://extreme.nas.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] php in css not working with IF's

2001-10-04 Thread Jason Dulberg
I just want to thank everyone who helped me get the css stuff to work. All of the IF statements are now working properly --- I've certainly learned a lot from all the messages. thanks again... Maxim Maletsky Rasmus Lerdorf and all others who responded to my message! __

RE: [PHP] php in css not working with IF's

2001-10-04 Thread Jason Dulberg
2001 2:48 AM > To: Jason Dulberg; Rasmus Lerdorf > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] php in css not working with IF's > > > On Thu, 4 Oct 2001 16:04, Jason Dulberg wrote: > > Should I stick with > > > > if (($site_styl

RE: [PHP] php in css not working with IF's

2001-10-03 Thread Jason Dulberg
ing included with the css src already in them) - do not need to use require() in styles.php Thanks to everyone for all the suggestions!! :) Jason > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: October 4, 2001 2:09 AM > To: Maxim Maletsky (PHPBegin

RE: [PHP] php in css not working with IF's

2001-10-03 Thread Jason Dulberg
Thanks for sticking with me here and for your examples!! So basically, I need to use AND instead of OR. if (($site_style!=="10") && ($site_style!=="9") && ($site_style!=="8")) { } elseif ($site_style=="10") { } hrm... it didn't work. Sorry for being such a dope about this :( Jason > O

RE: [PHP] php in css not working with IF's

2001-10-03 Thread Jason Dulberg
Theoretically, either/or I'm assuming. If A isn't 10 or A isn't 9... So I'm assumuming that my IF's are way off base? This is definitely something that'll be helpful for my other work as well. Thanks __ Jason Dulberg Extreme MTB http://extreme.na

RE: [PHP] php in css not working with IF's

2001-10-03 Thread Jason Dulberg
Thank you for your response. I changed my the code to the method that you suggested. Unfortunately, it still doesn't use the IF's properly. For instance, if I open a $site_style 10, the IF statement for that is the following: elseif (($BROWSER_PLATFORM == "Win") && ($site_style=="10")) {

[PHP] php in css not working with IF's

2001-10-03 Thread Jason Dulberg
gs. Is it a problem with my IF statements or is something else going over my head? Thanks again for any help - I've been trying to figure this out for days to no avail... ______ Jason Dulberg Extreme MTB http://extreme.nas.net -- PHP General Mailing List (http://www.php.net

RE: [PHP] mysql query for current id-1

2001-10-01 Thread Jason Dulberg
Awesome... Works perfectly!! Thanks for your help! __ Jason Dulberg Extreme MTB http://extreme.nas.net > -Original Message- > From: Maxim Maletsky (PHPBeginner.com) > [mailto:[EMAIL PROTECTED]] > Sent: October 2, 2001 1:03 AM > To: 'Jason Dulber

RE: [PHP] mysql query for current id-1

2001-10-01 Thread Jason Dulberg
Thank you for your lightning fast response!! I tried your query but it appears to be coming up with the current id rather than the users last login. __ Jason Dulberg Extreme MTB http://extreme.nas.net > -Original Message- > From: Maxim Maletsky (PHPBeginn

[PHP] mysql query for current id-1

2001-10-01 Thread Jason Dulberg
27;N' NOT NULL, KEY id (id) ); Did that make any sense? To sum it all up, I just want to remind people to click "logout" if they forgot the last time. Thanks for any suggestions!! __ Jason Dulberg Extreme MTB http://extreme.nas.net -- PHP General Mailing List

RE: [PHP] select based on time/date

2001-09-26 Thread Jason Dulberg
Awesome... Its all working perfectly now! Makes perfect sense why the update is like that. thanks again! __ Jason Dulberg Extreme MTB http://extreme.nas.net > -Original Message- > From: Sheridan Saint-Michel [mailto:[EMAIL PROTECTED]] > Sent: September 26,

RE: [PHP] select based on time/date

2001-09-26 Thread Jason Dulberg
u again for your time. I've learned alot from this. __ Jason Dulberg Extreme MTB http://extreme.nas.net > -Original Message- > From: Sheridan Saint-Michel [mailto:[EMAIL PROTECTED]] > Sent: September 26, 2001 9:38 AM > To: Jason Dulberg; [EMAIL PROTECTED] &

RE: [PHP] select based on time/date

2001-09-25 Thread Jason Dulberg
2001, 3:27 pm', ''); -- the fields correspond to the table structure quoted below Thanks again! __ Jason Dulberg Extreme MTB http://extreme.nas.net > -Original Message- > From: Jack Dempsey [mailto:[EMAIL PROTECTED]] > Sent: September 25, 2001 7:07 PM >

RE: [PHP] select based on time/date

2001-09-25 Thread Jason Dulberg
TE TABLE logged_in ( id tinyint(4) DEFAULT '0' NOT NULL auto_increment, session varchar(100) DEFAULT '0' NOT NULL, time_in varchar(50) NOT NULL, KEY id (id) ); Thanks again. __ Jason Dulberg Extreme MTB http://extreme.nas.net > The problem

RE: [PHP] select based on time/date

2001-09-25 Thread Jason Dulberg
, here is what I understand, please let me know whether or not I am correct: select * from sessions where (CURTIME() - EXTRACT(MINUTE FROM $timein) >= 60); //where 60 is the lifespan of the session Thanks for your suggestions and time! __ Jason Dulberg Extreme MTB h

[PHP] select based on time/date

2001-09-24 Thread Jason Dulberg
n X number of minutes old. My problem is that since I'm using the F j, Y, g:i a date/time format, how would I make the mysql select? Do I have to explode the $timein field? Any suggestions are appreciated. __ Jason Dulberg Extreme MTB http://extreme.nas.net -- PHP General Ma

[PHP] dumping a session

2001-09-12 Thread Jason Dulberg
newbieness". ______ Jason Dulberg Extreme MTB http://extreme.nas.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] RE: problem with $HTTP_POST_FILES

2001-08-22 Thread Jason Dulberg
Now I just feel like an idiot... that was the answer! I had all the other globals registered but that one. Thanks for your time! Jason. > If they're empty but phpinfo displays them you're probably inside > a function and haven't declared HTTP_POST_FILES as global. &g

[PHP] problem with $HTTP_POST_FILES

2001-08-21 Thread Jason Dulberg
;; I am attempting to get size/extension of the file to determine if its a valid extension and within the valid filesize range. Is this a server issue or just my php newbie-ness? If anyone has any ideas on how I can get this working, please let me know. Thanks. __ Jason Dul

RE: [PHP] bold current menu item

2001-08-16 Thread Jason Dulberg
t;".$title.""; } So basically there could be an unlimited # of links depending on how many products there are. I'm guessing that before I echo the link, I need to evaluate whether $id is in the current URL. How would I go about doing that? Thanks for your time. _

[PHP] bold current menu item

2001-08-15 Thread Jason Dulberg
I am dynamically creating a menu based on a "title" field from a database. ie item1 item2 etc. Is it possible that when I'm on the "item1" page to bold the title in the menu? Any suggestions are appreciated. ______ Jason Dulberg Extreme MTB http://extreme.

[PHP] evaluate data taken from db

2001-08-09 Thread Jason Dulberg
the link if the link is active in the browser. So if the url loaded in the browser is http://www.xyz.com/product.php?cid=1&page=1 for example, the link to that particular item is disabled in the menu. Is something like this possible? Any help is appreciated! Thanks. ___

[PHP] .inc location security

2001-04-24 Thread Jason Dulberg
mind. Any ideas to sort this out are greatly appreciated! Thanks. ______ Jason Dulberg Extreme MTB http://extreme.nas.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the li

[PHP] populating dropdown list problems

2001-04-09 Thread Jason Dulberg
{ printf(''.$a_row[owner].'', $a_row[owner], ($owner == $a_row[owner]) ? "selected" : "", $a_row[owner]); } print ""; What am I doing wrong in this code? Even when I take out the selected stuff, I still get a value of 1 in the list instead

RE: [PHP] framing search results

2001-02-06 Thread Jason Dulberg
re any way around this? Thanks again for your input! __ Jason Dulberg Extreme MTB http://extreme.nas.net > You can encode URLs with urlencode() and decode them by using > urldecode()... > > try read here: > > www.php.net/urlencode > www.php.net/urldecode >

[PHP] framing search results

2001-02-05 Thread Jason Dulberg
s kinda vague. If there's a better way of doing what I'm trying to above, please let me know! Thanks in advance for your help! __ Jason Dulberg Extreme MTB http://extreme.nas.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC