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
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
Saturday at 11:44 PM
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 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="විල්සන් මාමා" data-source="post: 16674784" data-attributes="member: 397789"><p>ඔයා වෙන page එකකට යන්නෙ ඇයි ? එකට හෙතුවක් තියෙනවා නේ </p><p> ඔයාට මොකක් හරි images ටිකක් පෙන්නන්න ඔනේ කියලා හිතන්න. එ images වලට අදාල විස්තර database table එකක තියෙනවා. ඔයා එ විස්තර table එකෙන් අරන් ඊලග page එකෙ පෙන්නනවා. </p><p>මේකට ඔයාට select query එකක් ලියන්නimage id එක හරි image name එක වගෙ ඩෙයක් ඔනා වෙනවා </p><p>&#133;අන්න එක තමයි URL එකෙන් යවන්නේ. ID එක විතරක් නෙමයි ඔනම දෙයක් යවන්න පුලුවන් </p><p>& දදා ලියන්න තියෙන්නේ</p><p></p><p>index.php?id=47&name=mypic.jpg&size=56&type=img/jpg</p><p>&#133;</p><p>&#133;</p><p>&#133;උදා</p><p></p><p>Page1.php</p><p><a href="page2.php?id="<?php echo $image_id?>>Click Here</a></p><p></p><p>Page2.php</p><p>if(isset($_GET["id"]){//id is set</p><p></p><p>$id=$_GET["id"];//Getting ID passed from the URL</p><p></p><p>//Now you have the image id</p><p>//Pull the relevant record from the table and display it</p><p></p><p></p><p>}&#133;else{</p><p>//id is not set</p><p>echo "Sorry nothing to display";</p><p>}</p></blockquote><p></p>
[QUOTE="විල්සන් මාමා, post: 16674784, member: 397789"] ඔයා වෙන page එකකට යන්නෙ ඇයි ? එකට හෙතුවක් තියෙනවා නේ ඔයාට මොකක් හරි images ටිකක් පෙන්නන්න ඔනේ කියලා හිතන්න. එ images වලට අදාල විස්තර database table එකක තියෙනවා. ඔයා එ විස්තර table එකෙන් අරන් ඊලග page එකෙ පෙන්නනවා. මේකට ඔයාට select query එකක් ලියන්නimage id එක හරි image name එක වගෙ ඩෙයක් ඔනා වෙනවා …අන්න එක තමයි URL එකෙන් යවන්නේ. ID එක විතරක් නෙමයි ඔනම දෙයක් යවන්න පුලුවන් & දදා ලියන්න තියෙන්නේ index.php?id=47&name=mypic.jpg&size=56&type=img/jpg … … …උදා Page1.php <a href="page2.php?id="<?php echo $image_id?>>Click Here</a> Page2.php if(isset($_GET["id"]){//id is set $id=$_GET["id"];//Getting ID passed from the URL //Now you have the image id //Pull the relevant record from the table and display it }…else{ //id is not set echo "Sorry nothing to display"; } [/QUOTE]
Insert quotes…
Verification
Payakata winadi keeyak tibeda?
Post reply
Top
Bottom