Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
| Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 11th, 2006, 11:55 AM
Registered User
 
Join Date: Dec 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default I need a echo wizard

Hi, how to echo this please. Trying to learn how to use
echo on php code itself. Thank you very much.
<?php
echo "<?php
$getfile = rand(1,15);
$imagefile = "file" . $getfile . ".jpg";
echo "<img src='/$imagefile'>";
?>";
?>
  #2 (permalink)  
Old December 16th, 2006, 04:20 AM
Authorized User
 
Join Date: Sep 2006
Location: , Kerala, India.
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to aneesh_sunu@yahoo.co.in Send a message via Yahoo to aneesh_sunu@yahoo.co.in
Default

Hai
<?php
//echo is used to print strings
echo "Anne1 <br>Starting Member";
?>
<img src='image name'>
<?
print("My Image");
?>

Reagards
Aneesh


Similar Threads
Thread Thread Starter Forum Replies Last Post
search data echo urbanaccess Access 7 January 23rd, 2007 10:54 AM
echo "\n" problem jun99 PHP How-To 4 November 29th, 2005 01:01 PM
echo "\n" problem jun99 Beginning PHP 0 November 27th, 2005 05:12 PM
Problem with echo from query result Steve Newbie MySQL 2 August 16th, 2004 11:48 AM
using echo command to display "$" Tachyon PHP How-To 3 March 1st, 2004 09:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.