[PHP] Calendar tutorial

2009-09-07 Thread Haig Davis
Dear PHP List Members, First off I am well aware that I can go online and download a PHP script to make a Calendar, it's not that I'm too cheap to buy the script it is that I want to work through and fully understand what I have so that I am intimately aware of every aspect of my project. What I

[PHP] Ckeckbox list populated from database

2009-09-19 Thread Haig Davis
Hello List, I'm relatively new to PHP although I do feel I've got a grasp of the basics. I have used php to draw up numerous selection lists populated from a mysql database and have had no trouble at all. However when it comes to the same concept yet using HTML check boxes I aM complety

[PHP] Creating file name with $variable

2009-09-20 Thread Haig Davis
Good Afternoon All, Thanks for the help with the checkbox issue the other day. Todays question: I want to create a filename.php from a variable more specifically the results if a mySQL query I.e. userID + orderNumber = filename. Is this possible? 'cause I've tried every option I can think

[PHP] Parse error: syntax error, unexpected ''

2009-09-23 Thread Haig Davis
Good morning Everyone, I'm have trouble with a simple HTML Checkbox list. I keep getting *Parse error*: syntax error, unexpected ''. I'm sure I'm doing something really simple and basic wrong I just cannot seem to see what it is, any assistance is appreciated. Script: form method=post

[PHP] foreach insert error

2009-10-07 Thread Haig Davis
Hello All, I have spent the entire day trying to get my calendar app to function correctly --- I have no problem with the actual functioning of the calendar. What is giving me trouble is for each calendar day the user has the option to check a checkbox requesting the day off and additionally the

[PHP] Form Validation filter - Regex Q

2009-11-10 Thread Haig Davis
Morning All, I've been figthing with this little problem for two days now, so far no luck with google and am beginning to question my own sanity. I have a application that has over one hundred forms some quite lengthy so what I'm trying to achieve rather than writing a bunch of individual

[PHP] Extracting a time zone from a latitude longitude

2009-11-21 Thread Haig Davis
Good Morning all, Having a look at the time zone functions in PHP you can enter a time zone city and get it's lat long. Does anybody know how you can run the function in reverse (or know of a similar function) i.e. get the time zone city from the geographic coordinates. Google maps was a thought

[PHP] Storing time in mysql prior to 1970

2010-01-27 Thread Haig Davis
Hi Everyone, I'm sure I'm missing something simple. I'm trying to store dates of birth prior to 1970 in mysql. I've tried mysql's date_format but am hitting a wall. I'm chasing my tail and was hoping for the best practice. Many Thanks Haig

[PHP] Best os shopping cart

2010-03-03 Thread Haig Davis
Hi, I apologise if this is not strictly php related. What Open Source Shopping cart system do you recommend between osCommerce and Zen-Cart for ease of use and a php guy with dangerously little javascript knowledge? This is not for a massive shopping site, simply a cart to power a subscription