| | |
PHP
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
•
•
that above code doesnot working,,,
tell me any simple method so that it will display Your details , your business title ....
If you want a simpler method then first you may want to remove the foreach loop mentioned in my previous post from all your pages. Then place
session_start(); at the top of all of your pages if it does not allready exist. After that place the following code on the next line below session start on page 2: php Syntax (Toggle Plain Text)
foreach($_POST AS $keyzz => $valzz) { $_SESSION['aa1'][$keyzz]=$valzz; }
php Syntax (Toggle Plain Text)
foreach($_POST AS $keyzz => $valzz) { $_SESSION['aa2'][$keyzz]=$valzz; }
php Syntax (Toggle Plain Text)
foreach($_POST AS $keyzz => $valzz) { $_SESSION['aa3'][$keyzz]=$valzz; }
php Syntax (Toggle Plain Text)
foreach($_POST AS $keyzz => $valzz) { $_SESSION['aa4'][$keyzz]=$valzz; }
php Syntax (Toggle Plain Text)
$body="title1 \n"; foreach($_SESSION['aa1'] AS $keyaa => $valaa) { $body.="$keyaa : $valueaa \n"; } unset($keyaa); unset($valaa); $body="title2 \n"; foreach($_SESSION['aa2'] AS $keyaa => $valaa) { $body.="$keyaa : $valueaa \n"; } unset($keyaa); unset($valaa); $body="title3 \n"; foreach($_SESSION['aa3'] AS $keyaa => $valaa) { $body.="$keyaa : $valueaa \n"; } unset($keyaa); unset($valaa); $body="title4 \n"; foreach($_SESSION['aa4'] AS $keyaa => $valaa) { $body.="$keyaa : $valueaa \n"; }
Try not to bump 10 year old threads as it can be really annoying.
http://syntax.cwarn23.net/
My favourite PC. - MacGyver Fan
http://syntax.cwarn23.net/
Smilies: ^_* +_+ v_v -_- *~*` My favourite PC. - MacGyver Fan
![]() |
Similar Threads
- Project available for PHP Developer (Web Development Job Offers)
- PHP/MySQL Programmer Position (Web Development Job Offers)
- Are you a PHP and Javascript junkie? It's time you met Emma. (Software Development Job Offers)
- PHP MYSQL Developer Position Available (Web Development Job Offers)
- PHP Web Programmer (Post your Resume)
- PHP / My SQL Web developer (Web Development Job Offers)
Other Threads in the PHP Forum
- Previous Thread: Contact form
- Next Thread: Pizza ordering system
| Thread Tools | Search this Thread |
.htaccess ajax alerts apache api array autocomplete beginner binary broken cakephp checkbox class cms code convert cron curl database date display dynamic echo email emptydisplayvalue error errors file files folder form forms function functions google hack href htaccess html htmlspecialchars image include insert integration ip java javascript joomla limit link login loop mail menu methods mlm mod_rewrite multiple mysql network object oop paypal pdf php problem query radio random recursion recursive redirect regex remote script search securephp server sessions shot sms soap source space sql subscription syntax system table tutorial update upload url validation validator variable video web xml youtube






