Jump to content

cbolton74

New Members
  • Posts

    5
  • Joined

  • Last visited

cbolton74's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for that I think I know what Ive done wrong now. The . is used to concatenate two strings so it has treat $pupilID as text instead of a variable. Don't even know why I had them in there, must have been late at night! Thanks for all your help Christian! Chris
  2. Sorry I realise I missed the " after .$pupilID. Ive added it and still the same problem. The lad in this forum seems to be having the same problem as me http://answers.yahoo.com/question/index?qid=20090202113421AAALF0A Ive tried all the answers but none of them fills the column with the pupil names. I just get $pupilName repeated down the column instead. Thanks Again
  3. Ok I added the following code to my dynamically built table <tr> <td><font face="Arial, Helvetica, sans-serif"><?php echo $pupilID; ?></font></td> <td><font face="Arial, Helvetica, sans-serif"><?php echo '<a href="startTest.php?link=' .$pupilID. '>$pupilName</a>';?></font></td> <td><font face="Arial, Helvetica, sans-serif"><?php echo $pupilSurname; ?></font></td> </tr The link works and send across the correct info to the startTest.php page but the table does not dynamically fill in the $pupilName any more. I have tried echo $pupilName but still no joy. Any ideas? Thanks Chris
  4. Ok Thanks a lot, I will start looking up links and how to add variables. Thanks Again Chris
  5. Hi, I have just started to learn html and php. I have a webpage which retrieves a list of names from a table and adds them to a drop down list within a form. When a user selects a name and presses submit the name is then passed onto the the next php page which displays all the details. I wanted to make it a little more fancy and so changed the drop down list to a table. The question, is it possible to make the names or rows selectable so the program carries out the same task but instead the user selects a name in the table or a row? The table is dynamic as more users are added or deleted from the system. If any one could point me in the right direction please. Thanks Chris
×
×
  • 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.