Jump to content
Larry Ullman's Book Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About jemmm

  • Rank
  1. Thanks for your help. It worked but only when I realised I had closed off the main while loop before this section of code so it couldn't read the $info['checklist_timeframe_id'] so I moved the closing curly bracket to the end of the above section of code and it worked (I had it placed before the above section). A silly mistake on my part! thanks
  2. Hi there, I have an edit details page on my website (php with a mysql database). It contains text boxes which display the information which the user has submitted at an earlier date. If they edit the information in the textbox and click on the submit button, it will update in the database. These work fine without any problems. I now want to add a pulldown menu which will work in the same way by displaying the information that the user saved on a previous visit (but obviously they can choose other options and click submit to save). My problem is that I am only able to show eithe
  3. Hi there, I am trying to allow users download a csv file from my website. This is the code I've been trying to use but it just opens a blank page and doesn't download anything. Any advice? <?php require_once (MYSQL); require_once ('mysqli_connect.php'); $q="SELECT * FROM table_name"; $r = @mysqli_query($dbc, $q); $html = "<table>"; $html .= "<tr><td>Song</td>"; $html .= "</tr>"; while ($row = mysqli_fetch_array($r, MYSQLI_ASSOC)) { $html .= "<tr><td>".$row['music_song']."</td>"; $html .= "</tr>"; } $html .= "</table>
  4. Hi all, I'm am wondering if anyone can give me any pointers in the right direction for my current issue. I have three search fields on a page, 'keyword', 'county' and 'supplier_type' with a submit button below. The keyword field is a text box and the other two fields are drop down menus which take the data from the mysql database. When searching users have the option to enter nothing, one field, two fields or three fields. Following this I have determined that there are 8 possible ways that users can search: 1). keyword only 2). county only 3). supplier_type only 4). keyword an
  5. Thanks so much for sending that link. I had to play around with it to use it with my email provider but in the end..it worked!! It's made my week! Thanks again!! Your help is much appreciated!
  6. Hi there, I'm new to php and I was wondering if it is possible to send the account activation email referred to in chapter 16 of the book using localhost and if so if anyone has any information on how to go about doing this. I am using Wamp Server and Php MyAdmin. Many Thanks
  • Create New...