Re: New PHP Coder - needs advice

From: Date: Mon, 26 Mar 2001 15:29:30 +0000
Subject: Re: New PHP Coder - needs advice
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45625@lists.php.net to get a copy of this message
Im not quite sure what kind of advise your looking for... you want to know how todo this? use a form, save the contents in the db. echo the contents to the screen to view them. table category field category_id field category_date field category_name I like to store dates as a unix time stamp , time(), you can play with them using getdate() and mktime() those two functions will provide all the date verification you need. -- Chris Lee lee@mediawaveonline.com ""Rob McMahan, Jr."" <rob.mcmahan@ilg.com> wrote in message news:D1D178FE21D7D2118F4E00805FBBDAB802AB04F2@denexc1.ilg.com... All, I am new coder of PHP and I love it. I have completed all the tutorials for PHP 101 on Devshed.com . I have PHP and MYSql up and running. I have a problem that I'm sure is is a very simple problem to solve for many of you. I am looking at the best way to write this simple PHP script and I'm hoping as an experienced coder out there can point me in the right direction. I am experienced programmer in other languages such as C, ASP and VB. So if you could just help me get started on my problem with some high level comments it would certainly be appreciated. Also, don't about worry security I can handle that part of it. Here is what I want to solve: I have a HTML page with categories and dates, the categories will remain stagnate. Only date field will change. I need a PHP script that will: 1. Read in the HTML page. 2. Provide all the dates in editable format. 3. Allow the user to change the date. 4. Save the date change. 5. Write out the page with changed dates in HTML format. If you could provide me some high level guidance on this or point to some code snippets performing this type of task it would be wonderful. Thank you in advance for you help. I'm new to the open source community and looking forward to getting involved in PHP. Rob McMahan, Jr. Interlink Group Inc. rob.mcmahan@ilg.com (Ph) 480-894-6008 (Cell) 602-284-2385 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#45625) next »