Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:syntax [2008-05-05 17:10]
127.0.0.1 external edit
wiki:syntax [2017-06-10 15:59]
pkoldham
Line 383: Line 383:
 <php> <php>
 echo 'A logo generated by PHP:'; echo 'A logo generated by PHP:';
-echo '<​img src="' ​$_SERVER['​PHP_SELF'​] ​'?​=' ​php_logo_guid() ​'" alt="PHP Logo !" />';​+echo '<​img src="https://www.the-hug.co.uk/​images/​clive.gif" alt="Big Clive" />';​
 echo '​(generated inline HTML)';​ echo '​(generated inline HTML)';​
 </​php>​ </​php>​
 <PHP> <PHP>
 echo '<​table class="​inline"><​tr><​td>​The same, but inside a block level element:</​td>';​ echo '<​table class="​inline"><​tr><​td>​The same, but inside a block level element:</​td>';​
-echo '<​td><​img src="' ​$_SERVER['​PHP_SELF'​] ​'?​=' ​php_logo_guid() ​'" alt="PHP Logo !" /></​td>';​+echo '<​td><​img src="https://www.the-hug.co.uk/​images/​clive.gif" alt="Big Clive" /></​td>';​
 echo '</​tr></​table>';​ echo '</​tr></​table>';​
 </​PHP>​ </​PHP>​
Line 395: Line 395:
 <php> <php>
 echo 'A logo generated by PHP:'; echo 'A logo generated by PHP:';
-echo '<​img src="' ​$_SERVER['​PHP_SELF'​] ​'?​=' ​php_logo_guid() ​'" alt="PHP Logo !" />';​+echo '<​img src="https://www.the-hug.co.uk/​images/​clive.gif" alt="Big Clive" />';​
 echo '​(inline HTML)';​ echo '​(inline HTML)';​
 </​php>​ </​php>​
 <PHP> <PHP>
 echo '<​table class="​inline"><​tr><​td>​The same, but inside a block level element:</​td>';​ echo '<​table class="​inline"><​tr><​td>​The same, but inside a block level element:</​td>';​
-echo '<​td><​img src="' ​$_SERVER['​PHP_SELF'​] ​'?​=' ​php_logo_guid() ​'" alt="PHP Logo !" /></​td>';​+echo '<​td><​img src="https://www.the-hug.co.uk/​images/​clive.gif" alt="Big Clive" /></​td>';​
 echo '</​tr></​table>';​ echo '</​tr></​table>';​
 </​PHP>​ </​PHP>​
 
wiki/syntax.txt · Last modified: 2017-06-10 15:59 by pkoldham
 
The Hug Recent changes RSS feed Powered by PHP Driven by DokuWiki