Jump to content
Larry Ullman's Book Forums

guruje

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About guruje

  • Rank
    Newbie
  1. Thank you very much Mr.HartleySan and Mr. Conte for providing the code with explanatory notes. I am not a programmer but by studding the books and searching the net, little bit knowledge gained in HTML,CSS,JS & PHP. Due to the reason only, my questions seems silly in the codification part. The following part of code executed well: <?php echo file_get_contents('my_phone.csv'); ?> And the result: "james", cat, 26, 99567 "jhony", micy, 32, 986745 "albert" ,major,36,785665 "john" ,walrus,45,56565 Then coming to the PHP inside JavaScript of HTML; it is not
  2. Thank you Mr. Hartley, First of all I apologize for not presenting the question in a proper and readable manner. In a layman language, i furnish below the problem once again. I have a webpage that collects details of phone numbers and stores in a excel sheet file -"phone.csv". Now i like to put another UI webpage linking that excel sheet for searching the Phone numbers by submitting name so that the phone & other details will be appeared in that form it-self. with regards, GURUJE
  3. I really appreciate all the forum members including Mr.Larry for the cool & timely support for the newbie. That shows the effectiveness of the forum which I never seen any where. Then coming to the point, as asked by Mr. Hartley, I use the available of data of "phone.csv" in another HTML form where in the details will be shown on click and the HTML code for the search will be: <HTML> <HEAD> <TITLE>PHONE NUMBER FINDER</TITLE> </HEAD> <BODY> <div style="text-align=center; background-color: #C0C0C0; width:300px; height:350px; border:2px do
  4. Thank you Mr. Hartley. I have a CSV (coma separated value file )- "phone.csv" which stores the phone number details form a html file thorugh php file. There is no header for this file and it is append mode. The values looks - James Cat 26 99556745 Jhony Micy 32 8767565 Albert Major 44 6767656 The first value is for Name; second for Nick name, third for age and last value for phone number. Like that "phone.csv file have four columns and arround 60 rows - which is daily getting appended. Now I want to get the phone number & age details though
  5. I am aware of PHP & JavaScript but not Ajax / JSON. I seek proper guidance for this code though this forum.
  6. I have file "phone.csv" for Phone number details and want to get the required phone though forms. Please help me. "phone.csv" contains four columns without header name: like - "James", "Cat", "26", " 99556745" . The list contains around 60 rows. <html><head></head><body> <?php $file = fopen("phone.csv","r"); while(! feof($file)) { print_r(fgetcsv($file)); } fclose($file); ?> <form action="check.php" method="post"> <p>Enter Name: <br> <input type="text" name="username" size="10" /> <input type="submit" name="submit" value="Ente
×
×
  • Create New...