Jump to content

newbie5050

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

newbie5050's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hi guys, i have tried many different ways to do this and havent been getting anywhere, so any help will be much appreciated, i am simply reading text from a .txt file using the following code $search= $_POST["search"]; $file= $search . ".txt"; if(file_exists($file)){ $handle = fopen($search . ".txt", 'r'); $data = fread($handle, $file) or error("The file you requested is empty"); } else{ error ("The file you requested does not exist"); } and then just printing $data for the results, but the output doesnt present all of the information in the .txt, usualy just printing the first half. thanks in advance for any help!!
  2. hi guys, for a simple project i have to save some form data to a .txt file, using one of the form variables ( #studentid ) as the file name, e.g. if the #studentid submitted was 123 then the file would save as 123.txt. I have tried a number of different ways to do this but am stuck!!1 any help will be much appreciated!!
  3. hey guys, im very new to php so please bare with me! i want to store some values into a mysql database and convert them into xml using php, i was storing the values as a xml file but it was starting to become to large and hard to organise! i have no idea how to go about doing this and i hope a have posted this in the right section!! sorry if a haven't!! any help will be much appreciated!! thanks in advance!!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.