- WebDev
- What is CSS?
- What is Javascript?
- What is HTML?
- What is PHP?
- Class
- $_SERVER
- JWT
- PHP Email
- REST API
- OAuth
- Configuration Files
- PHP Strings
- Youtube Templates
- Session - MySQL Handler
- PHP Router
- function keygen()
- MySQL
- Daemon Process
- Symbolic Links
- Date & Time
- Timezone
- File Upload
- What is XML?
- What is HTTP?
- What is SEO?
- What is the Internet?
- What is Java?
- What is RSS?
- What is a vCard?
- UKRAINE
- What is RFC?
- What is Apache?
<object width="{$width}" height="{$height}">
<param name="movie" value="http://www.youtube.com/{$path}"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/{$path}"
type="application/x-shockwave-flash"
allowscriptaccess="always"
allowfullscreen="true"
width="{$width}" height="{$width}">
</embed>
</object>
$template_path = 'templates/youtube_vid.tpl';
$template_data = file_get_contents($template_path);
$old = array('{$width}', '{$height}', '{$path}');
$new = array(425, 344, 'v/zuZB2O6orV0&hl=en_US&fs=1&');
echo str_replace($old, $new, $template_data);
https://stackoverflow.com/questions/1827933/mysql-php-store-html-templates-within-the-a-database