Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 05:19:28 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155555
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Archive (posts up to 2007)
(Moderator:
Argos
)
PHP HTML Form in WB
Pages: [
1
]
Go Down
Author
Topic: PHP HTML Form in WB (Read 1175 times)
POPDUM
Offline
Posts: 23
PHP HTML Form in WB
«
on:
December 11, 2007, 04:55:31 PM »
Hi,
I had a Loan Calculator written in PHP/HTML, which I now need to integrate into a WB page. This page has two WYSIWYG sections; now, for the calculator I don't know what to use. I cannot use a code section as I have HTML with embedded PHP, so I can't do an echo or print.
Is there a way I could modify the Form section so that when the user presses "Submit", my calculation module will be called, and then the calculated monthly payment with all the fields the user entered are displayed? If not, how can I implement this functionality?
Thanks a lot for your time and help.
Logged
pcwacht
Guest
Re: PHP HTML Form in WB
«
Reply #1 on:
December 11, 2007, 08:59:17 PM »
make a code section
in it echo your html and don't echo your php and remove the php tags
(simple) example
Code:
<b>Hello
<?php
echo
$username
;
?>
</b>
would become
Code:
echo '<b>Hello ';
echo $username;
echo '</b>";
It is really that easy!!
John
Logged
POPDUM
Offline
Posts: 23
Re: PHP HTML Form in WB
«
Reply #2 on:
December 12, 2007, 06:51:18 AM »
Thank you very much John! I will do as you sai.
Logged
POPDUM
Offline
Posts: 23
Re: PHP HTML Form in WB
«
Reply #3 on:
December 12, 2007, 01:31:04 PM »
Thaynks again, John. The form's working great!
Logged
pcwacht
Guest
Re: PHP HTML Form in WB
«
Reply #4 on:
December 12, 2007, 04:30:10 PM »
No problem
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...