Posted by "dino@php.co.ba" on 08/14/05 11:01
Just use some text as "delimiter string". Merge all fields together with
delimiter and than insert it into db table.
Something like
<?php
$separator_string = '||__||';//or something else
//u can use foreach($_POST..) here or merge all one by one
$tekst=$separator_string.$_POST['field1'].$separator_string.$_POST['field1']....
//than insert it into db
?>
<?php
//mysql connect & select query
$separator_string = '||__||';
while ($a=mysql_fetch_row($query))
$myfields= split($separator_string,$a[2]);
?>
Hope this could help
[Back to original message]
|