Jump to content

portia

Members
  • Posts

    21
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

portia's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi there, It's probably not the most appropriate section of the forum, but I didn't know where else to put it. What's the easiest way of implementing a quiz on a page. What I mean is the following: 1. A learner visits a page and answers a number of language questions. 2. If they don't pass the test, they get redirected to a page with some information 3. If they pass, they are redirected to another page asking questions about eligibility for a course 4. If they are not eligible for the course, they get redirected to a page with some information 5. If they are eligible, they fill in the registration form 6. all the details (their quiz answers, eligibility answers, registration details) should get stored in the database (and possibly emailed to a certain email address) Obviously, I'm not asking here about the code. My php skills are too low to write it myself, so perhaps someone knows some ready made package that would do it? Thank you for your time. regards Portia
  2. Thanks a lot for your replies. I'll look at the links. On a separate note, I think you're right about thinking it over first before coding anything. The more I analyse it (with my limited knowledge of PHP and programming in general), the more I realise that I actually have no idea how to place those words on a grid among random letters.
  3. Hi there, I'm learning PHP and decided that I'll try to create a word search generator for my own use. I know there are hundreds of them out there but it's just for learning purposes. I'd like to enter a number of words and then the script should generate a pdf containing a box filled with random letters (among which there will be my words). My question is what keywords/functions should I look at to get started? I'm a php beginner but would like to make my learning more interesting by doing this project. The form with words should be easy, it's the next bit where it's supposed to generate a pdf containing words that I have no idea about. thank you
  4. Thanks a lot - I'm starting work through it right now and sorry for posting it in a wrong section.
  5. Hi I'm a PHP newbie - so far I've been looking at the official php documentation. I've just noticed a sticky with resources TO AVOID. Can anyone then recommend some good tutorials? thank you.
  6. Thanks guys, I'm aware of that difference between heredoc and nowdoc. Just wasn't sure about the general idea of it.
  7. I'm a newbie reading php documentations. I have a hard time grasping the idea/use of heredoc strings. That's an example from the php website $str = <<<EOD Example of string spanning multiple lines using heredoc syntax. EOD; I understand it is useful when you have multiline string variables. Is that it? Is this the only advantage of heredoc strings or there's more to it? thanks
  8. portia

    css3

    thanks for your advice.
  9. Thanks for your replies. I knew it's not going to be that easy Ok, I am not sure what you mean. I have not modified my php.ini in any way. I don't run a mail server on that computer. Do I really have to do so in order to use php to send emails? I really suspected that it's too good to be true:) I have no idea how to do it, but I guess it's not a problem at the moment. The most important thing is to get it up and running. It's a server running in a virtual machine. I haven't linked any domain to it yet (it's just: http://localhost at the moment)
  10. Hi, I'm playing with a feedback form that needs to be email to an email address. I'm running it on an apache webserver on CentOS. The relevant bit of index.php is as follows: <form method="post" action="sendmail.php"> Email: <input name="email" type="text" /><br /> Message:<br /> <textarea name="message" rows="15" cols="40"> </textarea><br /> <input type="submit" /> </form> The contents of the sendmail.php file: <?php $email = $_REQUEST['email'] ; $message = $_REQUEST['message'] ; mail( "yourname@example.com", "Feedback Form Results", $message, "From: $email" ); header( "Location: http://www.example.com/thankyou.html" ); ?> I changed the email address to my gmail account, but it doesn't seem to email any feedback. The sendmail.php script gets executed as after I click on the submit button, I get redirected to example.com/thankyou.html (It doesn't exist, but it doesn't matter) As you can see I'm a php newbie. Can you tell me what I'm doing wrong. thank you for your time.
  11. portia

    tables or css?

    Thanks. Ok, so I'll use tables only when I've got a 'table' with some sort of data to be shown on a website. Or can css do it as well?
  12. portia

    tables or css?

    I've read some old articles that one should avoid tables and concentrate on css (div) to organise the layout of a website. Is that true? Why is that? thank you
  13. portia

    css3

    Thanks for your replies. I'll probably then concentrate on css2. After all, IE has a huge share of the browser market. regards portia
  14. portia

    css3

    Hi all, I've seen some references and websites about css3 online. According to wikipedia it's still under development. Are there going to be any fundamental differences between css3 and 2? I'm asking because I decided to improve my skills and am not sure which one should I follow? Also, will css3 work with xhtml strict 1.0? thank you for your time
×
×
  • 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.