hi there,,
I searched b4 I submit this post.
so,
let say:
if I have a css data stored in mysql.
the data looks like :
OK ?
now, if I want to split this data into a form ..
the form contains of tow tables..
each table name will be ( the class name ).
the properties will break into <td>'s.
here is a picture of what I want but could'nt do ( I made it in MS Word ) :

how can i do that with php ?
is it about preg_match_all( ) ?
if so, what will be the table structure and php code ?
thank you even if you don't have an answer ..
your solutions helped me many times when I was a Guest.
I hope you help my as a Member.
I searched b4 I submit this post.
so,
let say:
if I have a css data stored in mysql.
the data looks like :
Code:
.name
{
background-color: #0000EE;
color: #0000EE
text-decoration: italic;
}
.age
{
background-color: #00FF00;
color: #0000FF
text-decoration: bold;
}
now, if I want to split this data into a form ..
the form contains of tow tables..
each table name will be ( the class name ).
the properties will break into <td>'s.
here is a picture of what I want but could'nt do ( I made it in MS Word ) :

how can i do that with php ?
is it about preg_match_all( ) ?
if so, what will be the table structure and php code ?
thank you even if you don't have an answer ..
your solutions helped me many times when I was a Guest.
I hope you help my as a Member.
Comment