Hi Friends,
User logged in as: ankit.baphna@gmail.com
I am creating gif image by below line 1 code with name demo25_"email address of user"
ex: demo25_'ankit.baphna@gmail.com'.gif
it gets created in my folder with naming within single qoutes: 'ankit.baphna@gmail.com'.gif
but I am not able to read this file to display image on my page by using Line2. It seems I am using wrong syntax to read this file within IMG SRC. Can you suggest right code?
Line1: $chart->render("libchart-1.3\libchart\demo\generated\demo25_'$email'.gif");
Line2: echo '<img src="libchart-1.3\libchart\demo\generated\demo25_'$email'.gif">';
OR
Line1: $chart->render("libchart-1.3\libchart\demo\generated\demo25_'$email'.gif");
Line2: echo '<img src="libchart-1.3\libchart\demo\generated\demo25_<?php echo "$email".gif">';
Kindly suggest.
Thanks,
Regards,
Ankit Baphna
ankit.baphna 0 Newbie Poster
pzuurveen 90 Posting Whiz in Training
ankit.baphna 0 Newbie Poster
ankit.baphna 0 Newbie Poster
ankit.baphna 0 Newbie Poster
ankit.baphna 0 Newbie Poster
sftranna 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.