Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Handmade Character Soft Toy Bluey Bingo
anil1961
Updated:
Monday at 3:55 PM
Colombo
Dahua POE Switch 8 Ports (DH-PFS3010-8ET-65)
hashaz2012
Updated:
Monday at 11:56 AM
Ad icon
Singapore V2Ray VPN for Tunneling
hu KANNA
Updated:
Jul 31, 2026
Dating Website & Online Chat Room
hotvideo
Updated:
Jul 30, 2026
DJI Mini 4 Pro Drone Combo Plus
Hawaka
Updated:
Jul 30, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
PHP කාපරයෙක් වෙමුද?
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="P_Namal" data-source="post: 12642473" data-attributes="member: 54700"><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">මෙන්න මචන් rich text editor එකේ code එක. <img src="/styles/default/xenforo/smilies/default/cool.gif" class="smilie" loading="lazy" alt=":cool:" title="Cool :cool:" data-shortname=":cool:" /><img src="/styles/default/xenforo/smilies/default/cool.gif" class="smilie" loading="lazy" alt=":cool:" title="Cool :cool:" data-shortname=":cool:" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">[PHP]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></span></p><p><span style="font-size: 15px"><html xmlns="http://www.w3.org/1999/xhtml"></span></p><p><span style="font-size: 15px"><head></span></p><p><span style="font-size: 15px"><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></span></p><p><span style="font-size: 15px"><title>YUI Editor Test</title></span></p><p><span style="font-size: 15px"><!-- Skin CSS file --></span></p><p><span style="font-size: 15px"><link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/assets/skins/sam/skin.css"></span></p><p><span style="font-size: 15px"><!-- Utility Dependencies --></span></p><p><span style="font-size: 15px"><script src="http://yui.yahooapis.com/2.8.0r4/build/yahoo-dom-event/yahoo-dom-event.js"></script></span></p><p><span style="font-size: 15px"><script src="http://yui.yahooapis.com/2.8.0r4/build/element/element-min.js"></script></span></p><p><span style="font-size: 15px"><!-- Needed for Menus, Buttons and Overlays used in the Toolbar --></span></p><p><span style="font-size: 15px"><script src="http://yui.yahooapis.com/2.8.0r4/build/container/container_core-min.js"></script></span></p><p><span style="font-size: 15px"><!-- Source file for Rich Text Editor--></span></p><p><span style="font-size: 15px"><script src="http://yui.yahooapis.com/2.8.0r4/build/editor/simpleeditor-min.js"></script></span></p><p><span style="font-size: 15px"><script type="text/JavaScript"></span></p><p><span style="font-size: 15px"> var myEditor = new YAHOO.widget.SimpleEditor('msgpost', {</span></p><p><span style="font-size: 15px"> height: '300px',</span></p><p><span style="font-size: 15px"> width: '600px',</span></p><p><span style="font-size: 15px"> dompath: true, //Turns on the bar at the bottom</span></p><p><span style="font-size: 15px"> handleSubmit: true</span></p><p><span style="font-size: 15px"> });</span></p><p><span style="font-size: 15px"> myEditor.render();</span></p><p><span style="font-size: 15px"></script></span></p><p><span style="font-size: 15px"></head></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"><body class="yui-skin-sam"></span></p><p><span style="font-size: 15px"> <form method="post" action="index.php"></span></p><p><span style="font-size: 15px"> <textarea name="message" id="msgpost" cols="50" rows="10"></textarea></span></p><p><span style="font-size: 15px"> <input type="text" name="name" /><br /></span></p><p><span style="font-size: 15px"> <input type="submit" name="submit" value="Submit" /></span></p><p><span style="font-size: 15px"> </form></span></p><p><span style="font-size: 15px"></body></span></p><p><span style="font-size: 15px"></html>[/PHP]</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">උඹට මේ values මේ code එකෙන් ගන්න පුලුවන්. <img src="/styles/default/xenforo/smilies/default/happy.gif" class="smilie" loading="lazy" alt=":)" title="Happy :)" data-shortname=":)" /><img src="/styles/default/xenforo/smilies/default/happy.gif" class="smilie" loading="lazy" alt=":)" title="Happy :)" data-shortname=":)" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">[PHP]<?php</span></p><p><span style="font-size: 15px"> if (isset($_POST['submit'])) {</span></p><p><span style="font-size: 15px"> echo 'You entered: <br />';</span></p><p><span style="font-size: 15px"> echo 'name: ' . $_POST['name'] . '<br />'; </span></p><p><span style="font-size: 15px"> echo $_POST['message']; </span></p><p><span style="font-size: 15px"> }</span></p><p><span style="font-size: 15px">?>[/PHP]</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"><img src="/styles/default/xenforo/smilies/default/wink.gif" class="smilie" loading="lazy" alt=";)" title="Wink ;)" data-shortname=";)" /><img src="/styles/default/xenforo/smilies/default/wink.gif" class="smilie" loading="lazy" alt=";)" title="Wink ;)" data-shortname=";)" /><img src="/styles/default/xenforo/smilies/default/wink.gif" class="smilie" loading="lazy" alt=";)" title="Wink ;)" data-shortname=";)" /> <img src="/styles/default/xenforo/smilies/default/cool.gif" class="smilie" loading="lazy" alt=":cool:" title="Cool :cool:" data-shortname=":cool:" /><img src="/styles/default/xenforo/smilies/default/cool.gif" class="smilie" loading="lazy" alt=":cool:" title="Cool :cool:" data-shortname=":cool:" /><img src="/styles/default/xenforo/smilies/default/cool.gif" class="smilie" loading="lazy" alt=":cool:" title="Cool :cool:" data-shortname=":cool:" /><img src="/styles/default/xenforo/smilies/default/cool.gif" class="smilie" loading="lazy" alt=":cool:" title="Cool :cool:" data-shortname=":cool:" /></span></p></blockquote><p></p>
[QUOTE="P_Namal, post: 12642473, member: 54700"] [SIZE="4"] මෙන්න මචන් rich text editor එකේ code එක. :cool::cool: [PHP]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>YUI Editor Test</title> <!-- Skin CSS file --> <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/assets/skins/sam/skin.css"> <!-- Utility Dependencies --> <script src="http://yui.yahooapis.com/2.8.0r4/build/yahoo-dom-event/yahoo-dom-event.js"></script> <script src="http://yui.yahooapis.com/2.8.0r4/build/element/element-min.js"></script> <!-- Needed for Menus, Buttons and Overlays used in the Toolbar --> <script src="http://yui.yahooapis.com/2.8.0r4/build/container/container_core-min.js"></script> <!-- Source file for Rich Text Editor--> <script src="http://yui.yahooapis.com/2.8.0r4/build/editor/simpleeditor-min.js"></script> <script type="text/JavaScript"> var myEditor = new YAHOO.widget.SimpleEditor('msgpost', { height: '300px', width: '600px', dompath: true, //Turns on the bar at the bottom handleSubmit: true }); myEditor.render(); </script> </head> <body class="yui-skin-sam"> <form method="post" action="index.php"> <textarea name="message" id="msgpost" cols="50" rows="10"></textarea> <input type="text" name="name" /><br /> <input type="submit" name="submit" value="Submit" /> </form> </body> </html>[/PHP] උඹට මේ values මේ code එකෙන් ගන්න පුලුවන්. :):) [PHP]<?php if (isset($_POST['submit'])) { echo 'You entered: <br />'; echo 'name: ' . $_POST['name'] . '<br />'; echo $_POST['message']; } ?>[/PHP] ;););) :cool::cool::cool::cool:[/SIZE] [/QUOTE]
Insert quotes…
Verification
Payakata winadi keeyak tibeda?
Post reply
Top
Bottom