deansaddigh Posted November 19, 2009 Share Posted November 19, 2009 How can i actually submit html to the db because i want to copy an embed code and store it in db? Link to comment https://forums.phpfreaks.com/topic/182217-submitting-hmtl-to-db/ Share on other sites More sharing options...
FaT3oYCG Posted November 19, 2009 Share Posted November 19, 2009 That is more of a php and mysql question really: HTML = Content, CSS = Styles and Formatting, Java Script = Client Side Functionality, PHP = Server Side Functionality. Link to comment https://forums.phpfreaks.com/topic/182217-submitting-hmtl-to-db/#findComment-961534 Share on other sites More sharing options...
roopurt18 Posted November 20, 2009 Share Posted November 20, 2009 HTML is text so you store it the same way you store any other text value to the database, such as first names, titles, or descriptions. You just have to decide if a varchar(x) or large-text field type is more appropriate. Link to comment https://forums.phpfreaks.com/topic/182217-submitting-hmtl-to-db/#findComment-961576 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.