How To Print Images with php print function

Please help me out. I av a form that collect picture from an upload field in a client form and they want the picture to be printed out in the user page. this work perfectly well on localhost and it looks like the below
Ilamini Ayebatonye Thanks A lot

      image is not permited for me now   

NAME: Ilamini Ayebatonye

EMAIL ADDRESS: [email protected]

HOME ADDRESS: Behind Maccoba WareHouse

PHONE NUMBER: 08132841856

QUALIFICATION: I.C.T Certificate

SECTOR: CCNA

INTEREST: please put in your interest

Please Print this slip, attached your C.V and photocopies of your credentials and come with it to the day of the seminar.
Print

but the problem with is that we i uploaded the site and i try registring the picture wont show again,

wot i see is the below

ECO9JA-CREATING JOBS IN ICT
Backgrounds_15670_zps11bc080d.png

NAME: Ilamini Ayebatonye

EMAIL ADDRESS: [email protected]

HOME ADDRESS: Behind Maccoba WareHouse

PHONE NUMBER: 08132841856

QUALIFICATION: I.C.T Certificate

SECTOR: CCNA

INTEREST: please put in your interest

Please Print this slip, attached your C.V and photocopies of your credentials and come with it to the day of the seminar.

THANKS FOR REGISTERING
Print

the script is below for the image variable the form upload and the print fxn are as follows:

VARIABLE

[php]<?php
$file= "file.csv";
$name = $_POST['name'];
$email = $_POST['email'];
$address = $_POST['address'];
$phone = $_POST['phone'];
$qualification = $_POST['qualification'];
$sector = $_POST['sector'];
$interest = $_POST['interest'];
$image= $_POST['image'];[/php[b]]

FORM CODE[/b]

[code]


[/code]

PRINT FXN CODE ON USERPAGE

[php]<?php print"";?>[/php]

pls help me i need the urgently u r my main hope google cant help me to rubbish

[php]
echo ‘<img src="".$image."" width=“100px” height=“100px” alt=“Don’t Forget Your Alt Tag, Help Blind People Out!!!” />’;[/php]

alt="Don't Forget Your Alt Tag, Help Blind People Out!!!!"

I’m going to have to steal that one from you!

It annoys me when people don’t use it. It annoys me even more when people misuse it. The alt tag is to describe the image, not only for blind people but for people who may have images switched off by default. It’s for accessibility, readers will read the alt tag to people with impaired vision so what use is spamming it with keywords that don’t even count towards SEO anyway?!

I think that has been lost in translation with modern designs/developments. People want to abuse their websites as much as possible in the name of SEO. I want to provide my users with a quality website, that is optimized for them in order to get them to come back. I want to facilitate for the visually impaired and I want to keep things simple for my older audiences rather than have this fancy flashy all singing website that doesn’t even stand up to IE6 lol.

it not work syntax error , “”

That’s because of the ’ in the alt tag, you are suppose to replace it… Try this.

[php]echo ‘<img src="".$image."" width=“100px” height=“100px” alt=“Image description for blind people” />’;
[/php]

still showing error

Parse error: syntax error, unexpected '&' in C:\wamp\www\New folder\userpage.php on line 33

i did sme correction n it show only the alt n nt d picture i tinking d error is d variable

Image description for blind people

I don’t know what line 33 is.

Sponsor our Newsletter | Privacy Policy | Terms of Service