Tutorial
Funcția substr() este folosită pentru a tăia o parte dintr-un șir, începând de la o poziție specificată.
Syntaxa:
substr(sirul, start, lungimea)
Syntaxa:
substr(sirul, start, lungimea)
Exemplu:
Exemplu:
<?php
echo substr("Romania Online",0,10)."<br>";
echo substr("Romania Online",1,8)."<br>";
echo substr("Romania Online",0,5)."<br>";
echo substr("Romania Online",6,6)."<br>";
echo substr("Romania Online",0,-1)."<br>";
echo substr("Romania Online",-10,-2)."<br>";
echo substr("Romania Online",0,-6)."<br>";
?>
Online Editor
This tool makes it easy to create, adjust, and experiment with custom colors for the web.
HTML Templates

Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.
CSS HTML Layout

Find here examples of creative and unique website layouts.
Free CSS HTML Menu

Find here examples of creative and unique website CSS HTML menu.