Reply to Re: Large forms to Mysql table...

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация