Advertisement
ujiajah1

store image ke variable php

Aug 25th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. <?php
  2. $var_holding_img = '<img src="http://hipster.comli.com/1.jpg"/>';
  3. $string = "This is an image:<br \>" . $var_holding_img . "<br \>displayed dynamically with PHP.";
  4. echo $string;
  5. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement