Formatted text to HTML table
Posted: Thu Aug 19, 2010 9:50 am
HI, I've done a bit if php programming but am still pretty new..
Does anyone know of a script that can convert formatted text to a html table ?
I'm hoping to have a web site user paste in some text ( say a column from an excel sheet) into my page - I then convert it into a html table ( with borders etc ) and display it - then ask the user to confirm it.
There is a website that does this ( Google "Tableizer") .... I just need to understand how this is done so I can include it in my code.
Any help anyone could offer on this would be most greatful !
I'm hoping after the user confirms the data to write this to a database ... but thats for another day.
Does anyone know of a script that can convert formatted text to a html table ?
I'm hoping to have a web site user paste in some text ( say a column from an excel sheet) into my page - I then convert it into a html table ( with borders etc ) and display it - then ask the user to confirm it.
There is a website that does this ( Google "Tableizer") .... I just need to understand how this is done so I can include it in my code.
Any help anyone could offer on this would be most greatful !
I'm hoping after the user confirms the data to write this to a database ... but thats for another day.