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
Ad icon
Singapore V2Ray VPN for Tunneling
hu KANNA
Updated:
Yesterday at 9:03 PM
Plan your Crypto & Forex entries before you take the trade
romeshnonis
Updated:
Yesterday at 3:20 AM
RHCSA, RHCE, AWS, Docker, Kubernetes Training
Sanjeewani95
Updated:
Sep 8, 2026
🛡️ Kaspersky Antivirus – 1 Year / 1 Device | Rs. 2,300 | Only 9 Left
KSPathirana
Updated:
Sep 7, 2026
Ad icon
Professional CCTV Installation Service
Techguy231
Updated:
Sep 6, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
Ok lets start learning 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="lionsIT" data-source="post: 1701380" data-attributes="member: 89624"><p>From today onwards I will post small php tutorials for all you IT lovers <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></p><p></p><p>if you don't know about php please go to w3schools its the best place to learn.</p><p></p><p>Today I will show you how to revearse a string without using inbuilt php functions.</p><p></p><p>try alone before looking at he code.</p><p></p><p>[PHP]</p><p><?php</p><p></p><p>$my_string = "make this reverse";</p><p>$i = 0;</p><p>$output ="";</p><p>while($c = $my_string[$i]) // you can accesses each character this way</p><p>{</p><p> $output = $c.$output; //concatinate $c infront of $output</p><p> $i++;</p><p>}</p><p></p><p>echo $output; //esrever siht ekam</p><p>?></p><p></p><p>[/PHP]</p><p></p><p><img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="lionsIT, post: 1701380, member: 89624"] From today onwards I will post small php tutorials for all you IT lovers :D if you don't know about php please go to w3schools its the best place to learn. Today I will show you how to revearse a string without using inbuilt php functions. try alone before looking at he code. [PHP] <?php $my_string = "make this reverse"; $i = 0; $output =""; while($c = $my_string[$i]) // you can accesses each character this way { $output = $c.$output; //concatinate $c infront of $output $i++; } echo $output; //esrever siht ekam ?> [/PHP] :D [/QUOTE]
Insert quotes…
Verification
Asuwa dahayen wadi kalama keeyada?
Post reply
Top
Bottom