| | |
Need Urgent help...
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
Hey i tried this :
I got the answer correctly..
But any other thougts with out sessions...will be appreciated..
php Syntax (Toggle Plain Text)
if(!empty($_GET['nid'])) { session_unregister(); session_register(); $_SESSION['prev'].=$_GET['nid']; $_SESSION['prev'].=","; print_r($_SESSION['prev']); }
I got the answer correctly..
But any other thougts with out sessions...will be appreciated..
faq.php
faqview.php
PHP Syntax (Toggle Plain Text)
<a href="faqview.php?faqpk=12">FAQ Title</a>
faqview.php
php Syntax (Toggle Plain Text)
<? if(!is_numeric($_GET['faqpk'])) { header("location: faq.php"); exit(); } $faqpk = $_GET['faqpk']; $query = "select title, description from faq where faqpk = " . $faqpk; $result = mysql_query($query); while ($row = mysql_fetch_assoc($result)) { echo "<p>".$row["title"]."</p>"; echo "<p>".$row["description"]."</p>"; } ?>
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” - Dr. Seuss
-- The documentation is inevitable, you may get away with it for a little while but eventually you too will have to do the deed.
-- The documentation is inevitable, you may get away with it for a little while but eventually you too will have to do the deed.
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” - Dr. Seuss
-- The documentation is inevitable, you may get away with it for a little while but eventually you too will have to do the deed.
-- The documentation is inevitable, you may get away with it for a little while but eventually you too will have to do the deed.
All the questions that you've viewed up to this point?
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” - Dr. Seuss
-- The documentation is inevitable, you may get away with it for a little while but eventually you too will have to do the deed.
-- The documentation is inevitable, you may get away with it for a little while but eventually you too will have to do the deed.
![]() |
Similar Threads
- pls heeeeeeeeelp its urgent. (C)
- Urgent! (C++)
- URGENT: Need help on I/O code! (Java)
- Urgent help (Networking Hardware Configuration)
- Homepage keeps switching back to a porn site (Web Browsers)
- Importing SQL Script File - Urgent !! (Database Design)
Other Threads in the PHP Forum
- Previous Thread: new folder
- Next Thread: Print setup in PHP
| Thread Tools | Search this Thread |
# .htaccess 5.2.10 ajax apache api array beginner binary broken cakephp checkbox class clean clients cms code cron curl database date directory display dissertation dynamic echo email error file files folder form forms function functions google href htaccess html image images include insert integration ip java javascript joomla ldap legislation limit link local login loop mail menu mlm mod_rewrite multiple mysql mysqlquery oop open paypal pdf persist php problem query radio random recursion regex remote script search server sessions sms soap sockets source space spam sql syntax system table tutorial update upload url validation validator variable video web xml youtube






