hello i wanted to insert data into database like html format i mean i text wich contain html tag like H1 H2 OR P, and any basic other i must use BLOB OR LONGTEXT, if i uses BLOB i must enter that directly in database or upluad that file ?? is not really cleary, i dont know how to explain: so i want to store an html page in database with images
chrisschristou
0
Posting Whiz
Recommended Answers
Jump to Postif you are using PHP then you can probably use file_get_contents and store the output into your mysql database. Before doing that make sure to use base64_encode the html source to prevent any complications. Use LONGTEXT, Others may have different ways of doing this.
All 3 Replies
Reply to this topic
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.