Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
bfanok #1
Calculated Value on HTML Page?
Please help...! I am in need of a solution that would allow me to display a
numberical value on the homepage of a site I'm developing - with that value
increasing by a given increment (e.g. x+24) each day.
I also am in need of a solution or script that would take the resulting value
from above and divide it by another value (e.g. result from above divided by 9)
- and display THAT result separately on the same HTML page.
Can this be done?? Any help would be greatly appreciated.
bfanok Guest
-
Flash .html Plays on Server but NOT on html page
Sorry for being so green. Running IIS Microsoft Server 1. Installed FMS 2. Installed Player 8 and 9 Uploaded .flv and .swf files to server.... -
How to update html page from another html page
I have developed one Real estate site for my client, now my client wants to update the CurrentOffers.html page himselves, where in he wants to... -
how to jump from html page to html page
Good Evening, I would like to know the way to jump from webpage to webpage, without the user pressing anything. For example, if the user... -
including html files in a .html page
4bb: Investigate Server-side includes. If your host supports them, they do just what you want. Be aware that the file included MUST BE AN... -
Calling a html page from an asp page then returning to the next statement on the original asp page
Hi! I have an ASP page that calls excel to create a report. This works fine. Now I need to call a html calendar page to filter what rows are... -
thlokey #2
Re: Calculated Value on HTML Page?
Here's one solution for you in PHP:
<?php
$days = -1*(strtotime("2005-08-17") - strtotime(date("Y-m-d"))) / (60 * 60 *
24); //First date is the start date; second is today's date
echo "The date 2005-08-17 was $days day(s) ago."; //Prints the number of days
since start date
$divisor = 9; //Number to divide days by
$dividend = $days/$divisor;
?>
<p>
If I divide the number of days by <?php echo $divisor; ?>, I get <?php echo
$dividend; ?>.
[url]http://www.lokeys.net/test[/url]
-tod
thlokey Guest
-
bfanok #3
Re: Calculated Value on HTML Page?
Thanks - I'll try this. Can I just plug this into my HTML? (I'm not familiar with PHP). Thanks again!
bfanok Guest
-
Murray *TMM* #4
Re: Calculated Value on HTML Page?
You can only use that script snippet if your host supports PHP. Do they?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"bfanok" <webforumsuser@macromedia.com> wrote in message
news:de29ik$db$1@forums.macromedia.com...> Thanks - I'll try this. Can I just plug this into my HTML? (I'm not
> familiar with PHP). Thanks again!
Murray *TMM* Guest
-
bfanok #5
Re: Calculated Value on HTML Page?
I use Omnis.com - I believe they do and I can request it be turned on for my site. You've been a big help...thanks!
bfanok Guest



Reply With Quote

