Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

undefined variable in php script

  • 22-03-2011 8:27pm
    #1
    Closed Accounts Posts: 5,824 ✭✭✭


    having a small problem here with some php that i cant figure out why its happening.
    when i run this script, it works fine, except in the input field for the dob_day i get
    <br /> <b>Notice</b>: Undefined variable: dob_day in <b>C:\xampp\htdocs\project\register.php</b> on line <b>164</b><br /> DD

    If i enter some details and leave a few bits blank, and click register, then it works, but when i first load the page i get the above text in the input box..

    any ideas? ive highlighted the line of code thats giving me problems.

    think i solved it by putting dob_day = ''; at top of script... :p


Advertisement