Click here for AnswerPool.com Home page


Google

    AnswerPool.com  Hop To Forum Categories  Computers  Hop To Forums  Computer Resources    PHP WYSIWYG Template program

Moderators: Dwight
Go
Post
Find
Notify
Tools
Reply
  
  Login/Join 
Vix
Posted
Can anyone recommend a WYSIWYG template program that uses PHP?

I don't know PHP. The majority of my experience with PHP involved doing code modifications on existing scripts, but only by following very specific scripts.

What I WANT to be able to do is create a web-interface form, and when data is submitted to the form it will populate the data to a new page based on a pre-determined template. I know it can be done using ASP but due to circumstances beyond my control I have to use PHP. Any advice would be welcome.
 
Posts: 9 | Location: Nowheresville | Registered: 10-12-04Reply With QuoteReport This Post
Posted Hide Post
Well, PHP is a server-side language, therefore it's not going to be rendered client-side.. and furthermore cannot be represented in a WYSIWYG program.

The complexity of your coding will depend on what is being done with the data once it is submitted. I'll show you a nice example of printing the information that was submitted via a form.

PREREQUISITE FORM (form.php)

<form action="name_of_processing.php" method="post">
<input type="text" name="first_field"><br />
<input type="text" name="second_field"><br />
<input type="submit" value="Submit Form">
</form>


PHP HANDLER (name_of_processing.php):

<?php

if ($_POST["first_field"]) {

echo "The value of the first field is " . $_POST["first_field"] . "<br />";
echo "The value of the second field is " . $_POST["second_field"] . "<br />";

}

?>
 
Posts: 195 | Location: Illinois | Registered: 06-05-04Reply With QuoteReport This Post
  Powered by Social Strata  
 

    AnswerPool.com  Hop To Forum Categories  Computers  Hop To Forums  Computer Resources    PHP WYSIWYG Template program

© 2002-2010 AnswerPool.com
All Rights Reserved
Using This Site Means You Accept Its Terms of Service and Privacy Policy
Close Cover Before Striking
3D Glasses Required for Optimal Viewing
Now in HD and Surround Sound
Offer Void Where Prohibited by Law
There's a Bathroom on the Right
Caution - Objects May Be Closer Than They Appear
Anything You Post May Be Used Against You in the Court of Public Opinion
Notice: All Employees and Customers Are Required to Wash Their Hands and Feet Before Posting by the Board of Health



Visit DiscussionPool.com!