Jump to content

Difficulty and where best to start?


dreampho

Recommended Posts

Hi All.

 

I am new to PHP, but am learning. I have set myself a mini project to learn some new php and to have some fun!

 

I was hoping that someone would be kind enough to tell me how difficult this would be to achieve, and how they would best suggest to approach it.

 

I want to create a 'availability checker'. I want to create a field where I can input a date. If the date exists in my mysql database then it returns NO, if the date isn't in the database it returns YES. For a admin area I want to have a place to add dates, and maybe some details about these dates.

 

I don't think its overly complicated, but it should still be quite a challenge for me.

 

Any guidance would be greatly appreciated.

 

Thanks

Link to comment
Share on other sites

how difficult this would be to achieve

That is really dependent upon one's ability to learn, to try and to not give up.

Some people are 'gifted' and learn quickly, other are not 'gifited' (ME LOL ) and learn more slowly.

 

suggest to approach it

IMHO start with paper and pencil. Create psuedo code and a flow chart. Build your code in 'modules' that you can easily test as separate pieces. Then start to integrate them one 'module' at a time. That way when an error occurs, you can quickly isolate the 'offending' code.

 

Just my 2 cents.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.