The Laon Application Form Script
Step 1:
<html> <head><title></title></head> <body> <b>Namllu Credit Bank Loan Application Form</b> <form method="POST" action="loan.php"> First Name: <input name="FirstName" type="text"/> Last Name: <input name="LastName" type="text"/> Age: <input name="Age" type="text" size="3"/> <br /> <br /> Address: <textarea name="Address" rows="4" cols="40"> </textarea> <br /> <br /> What is your current salary? <select name="Salary"> <option value=0>Under $10000</option> <option value=10000>$10,000 to $25,000</option> <option value=25000>$25,000 to $50,000</option> <option value=50000>Over $50,000</option> </select> <br /> <br /> How much do you want to borrow?<br /><br /> <input name="Loan" type="radio" value="1000"/>Our $1,000 package at 8.0% interest <br /> <input name="Loan" type="radio" value="5000"/>Our $5,000 package at 11.5% interest <br /> <input name="Loan" type="radio" value=" 10000"/>Our $10,000 package at 15.0% interest <br /> <br /> <input type="submit" value="Click here to Submit application"/> <input type="reset" value="Reset application form"/> </form> </body> </html>
Step 2:
<html> <head><title></title></head> <body> <b>Namllu Credit Bank Loan Application Form</b> <br /> <br /> < ?php $SalaryAllowance = $_POST['Salary']/5; $AgeAllowance = ($_POST['Age']/10 - ($_POST['Age']%10)/10)-1; $LoanAllowance = $SalaryAllowance * $AgeAllowance; echo "Loan wanted:$_POST[Loan]<br>"; echo "Loan amount we will allow:$LoanAllowance<br /><br />"; if ($_POST['Loan'] < - $LoanAllowance) echo "Yes, $_POST[FirstName] $_POST[LastName], we are delighted to accept your application"; if ($_POST['Loan'] > $LoanAllowance) echo "Sorry, $_POST[FirstName] $_POST[LastName], we cannot accept your application at this time"; ?> </body> </html>
no comments yet
I am using Arisesoft Winsyntax 2.0
Short Description:
Arisesoft Winsyntax - is a PHP-code editor, with the syntax highlighting and the context help for professional scripting.
Features:
- Support of brackets: highlighting, search of match, select of the enclosed text.
- Drag’n'Drop for the page tabs.
- The search and replacing of the text in external files with different encoding.
- Code explorer for PHP-scripts - tree of the classes with variables and functions.
- Highlighting of syntax by different colors and styles of a font.
- Highlighting of syntax for several script languages in one document.
- Opportunities for customizing of highlighting and the addition of new languages.
- Multiple history of ‘Undo-Redo’ for the edited documents.
- Selection of the text by columns-lines-symbols.
- Conversion of tabulators to a series of spaces.
- Supporting of the line kinds for PC/UNIX and encoding between ANSI-UTF8-KOI8.
- Gutter with numbering of lines of the text.
- Moving by mouse of the selected block of the text.
- Moving the cursor with ignoring of the line carry - for all width of line.
- Autoindent of the input line by start position of the previous line.
- Integrated File Manager for rapid access to the documents.
- Multi-document interface.
- Opening files at dragging by mouse from Explorer.
- History of last ten open documents.
- Alerts for external change of open documents.
- XWindows-like minimization of tool windows.
- Resizing of windows with snap to desktop.
- Context help for any PHP keyword, when clicked [F1] on cursor position.
Hot Tips
- [Ctrl] + [Shift] + [I] - indent for selection
- [Ctrl] + [Shift] + [U] - unindent
- [Alt] + Mouse Drag - fast selection for the column mode
- [Ctrl] + [Shift] + [Z] - unlimited redo
- [Alt] + [F6] - switch between editor and file manager
You will get more info about this mini editor on Arisesoft <http://www.winsyntax.com/>
Use Of List Box
Step 1 :
<html>
<head><title></title></head>
<body>
<form method="POST" action="listbox.php">
What price of car are you looking to buy?
<br />
<br />
<select name="Price">
<option>Under $5,000</option>
<option>$5,000-$10,000</option>
<option>$10,000-$25,000</option>
<option>Over $25,000</option>
</select>
<br />
<br />
What size of engine would you consider?
<br />
<br />
<select name="EngineSize[]" multiple>
<option>1.0L</option>
<option>1.4L</option>
<option>1.6L</option>
<option>2.0L</option>
</select>
<br />
<br />
<input type="submit" value="Submit"/>
</form>
</body>
</html>
Step 2 :
<html> <head><title></title></head> <body> < ?php echo "Price Range: $_POST[Price]"; $Choice0 = $_POST['EngineSize'][0]; $Choice1 = $_POST['EngineSize'][1]; $Choice2 = $_POST['EngineSize'][2]; $Choice3 = $_POST['EngineSize'][3]; echo "<br>Engine Size(s): $Choice0"; echo "$Choice1"; echo "$Choice2"; echo "$Choice3"; ?> </body> </html>
Text [PHP, HTML and State]
1st step:<html> <head> <title> </title> </head> <body> <form method="GET" action="text.php"> Who is your favorite author? <input name="Author" typ="text"/> <br /> <br /> <input type="submit" value="submit"/> </form> </body> </html>2nd Step
<html> <head><title></title></head> <body> Your favorite author is: < ?php echo $_GET['Author']; ?> </body> </html>
Simple JavaScript Has Great Power : RSS Feed
Copy and Paste on your site. This will show the most recent activities of any websites. enjoy
<script language=”JavaScript” src=”http://itde.vccs.edu/rss2js/feed2js.php?src=http%3A%2F%2Fsakib.wordpress.com%2Ffeed&chan=n&num=50&desc=0&date=y&targ=y” type=”text/javascript”></script> <noscript> <a href=”http://itde.vccs.edu/rss2js/feed2js.php?src=http%3A%2F%2Fsakib.wordpress.com%2Ffeed&chan=n&num=50&desc=0&date=y&targ=y&html=y”>View RSS feed</a> </noscript>