PDA

View Full Version : need help with save function



pixeldude
March 15th, 2006, 11:15 AM
Aii guys ..
.Okay I know very well how to save data into dtbase.....using php.mysql..okay my problem is how to save user formatting textfield content text into dtbase...like this..


id | contentText | typefont | color font | size font

0 | some text | arial |0xffffff | 22


I have no issue with save only text data. but for formatting text ..still find the formula to it...and also needs you guys big help...maybe it's so challenging to people novice like me...hope I'll get some shed on light on how to this...

herein I attach my working file

http://fifin04.propertyaccess.com.my/teststuff/needhelp.zip

c yaa tq...

JoshuaJonah
March 15th, 2006, 11:18 AM
umm... there really isn' any difference. It's all just text. It's a matter of what you do with that tex after you pull it out of the database.

pixeldude
March 15th, 2006, 07:23 PM
umm... there really isn' any difference. It's all just text. It's a matter of what you do with that tex after you pull it out of the database.

Hi Defective thanks for ur reply..

I think u still don't get the big pic of what I after is...Okay u can test it here..

http://www.propertyaccess.com.my/savetext/thetextfield.html

ok you can try type some text then u just format it..I mean change it's solor ,it's font type...then click save...

ok it'll save in dtbase the text u just typing...but "this is what I after is.." How to save it format as well...(font type,font color)..so that when u hit load save btn..it will load from dtbase the text as well as it 's formatting property...

is there any method I could experiment it...pls guys...

tq in advanced...