Hello Team PHP Members, A Task for all, Create a Text Area using HTML and store PHP Program in that Text area through any variable. Finally store the variable to mysql database to a single field name "program" of table name "package". if want to view field name "Program" in Mysql. Ouput should be PHP Program in displayed on the screen. Example: Screen Display & Mysql Display when click browse. Program: <?php include '../Include/config.php'; if(isset($_POST['Submit']) ) { $topic = $_POST["topic"]; $concept = $_POST["concept"]; $description = $_POST["description"]; $syntax = $_POST["syntax"]; $example = $_POST["example"]; $output = $_POST["output"]; $reference = $_POST["reference"]; $note = $_POST["note"]; $nm = "babu"; $ldate=date("Y-m-d H:i:s",time()); $ltime=date("Y-m-d H:i:s",time()); $sql = "INSERT INTO book (topic, concept, description, syntax,example,output,reference,note,status,user,ldate,ltime) VALUES ('$topic','$concept','$description','$syntax','$example','$output','$reference','$note','1','$nm','$ldate','$ltime')"; $result = mysql_query($sql); echo "One Record added Sucessfully"; } else { $result = mysql_query("SELECT * FROM book"); $id=mysql_num_rows($result); $id=$id+1; echo $id; } ?> Can any PHP Expert find a solution for this task. Babu.S M.Sc (Software Engineering).,M.C.P., R&D Engineer Alaap Advanced Telecommunication P Ltd, Bangalore. +91 97404 00636 ----- Original Message ---- From: Tarun <tarun.virgo@xxxxxxxxx> To: php-objects@xxxxxxxxxxxxxxx Sent: Wednesday, 26 March, 2008 7:28:24 PM Subject: Re: php5 and global variables hello Krishna, no issues, but distracting from the main questionary is not useful , this is my opinion. you are definately free to express your view. Kind Regards, Tarun ----- Original Message ----- From: Krishna Srikanth To: php-objects@ yahoogroups. com Sent: Wednesday, March 26, 2008 5:55 PM Subject: Re: php5 and global variables Hi, I can understand your frustration. I thought to say something good and useful. But it is ok if it is not acceptable. Any way, create a php.ini file in the directory where you need register_globals turned on then add: register_globals= on Regards, Manda Krishna Srikanth http://www.krishnas rikanth.com php-objects@ yahoogroups. com wrote on 03/26/2008 05:36:08 PM: > Why you all are distracting from the main issue. > > its my headache what i do with global variables or not. IF you donot > know than plz donot respond.. > > Regards, > > Tarun > =====-----== ===-----= ==== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] Explore your hobbies and interests. Go to http://in.promos.yahoo.com/groups [Non-text portions of this message have been removed]