Welcome Guest, Not a member yet? Register   Sign In
Help in fwrite
#1

[eluser]Techno Heart[/eluser]
Hi all,
I am trying to write a string data from data base to a word file using fwrite in my local disk. The string data from database is in HTML format.
Some data have image url Eg:
Code:
<img src="http://localhost/moodle/file.php/38/table.jpg" />
complete="true" complete="true" />. I can able to write all data properly but image is not written to that file. How to write an "image" in to that word file...? Any one help me ?
#2

[eluser]Narkboy[/eluser]
This isn't an issue with fwrite - if you can write text correctly, then that part is working.

Word embeds images; you need to know the correct strings to signal an embedded image, then you will probably need to read the image as a string into the file as well. Google for it and you'll probably find tutorials.




Theme © iAndrew 2016 - Forum software by © MyBB