Help please :)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

influenceuk
Forum Commoner
Posts: 42
Joined: Tue May 08, 2007 7:48 am
Location: London, UK

Help please :)

Post by influenceuk »

Afternoon,
I am currently in need of a hand with some coding. I am new to PHP but would like to know a few things.

Scripts i am after...
- A script to display "this weeks releases" So to pick out titles from the database with a specific release date.
- How to display items from the database (MySQL)

I am sure i will have many other questions, so all help would be much appreciated.

Regards,
Alan
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

Please don't make posts with subjects like that. Use something more informative.

What you're asking of is probably the most commonly written code in PHP. There are thousands of tutorials on the internet about it, thousands of books about it and thousands of threads already posted on here about it.
User avatar
ptrpan
Forum Commoner
Posts: 81
Joined: Tue Apr 03, 2007 5:09 am
Location: Cape Town, South Africa

Post by ptrpan »

Read this and I think all your questions should be answered.

http://www.hudzilla.org/phpbook/
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
influenceuk
Forum Commoner
Posts: 42
Joined: Tue May 08, 2007 7:48 am
Location: London, UK

Post by influenceuk »

Thanks for your help ptrpan.

Much appreciated, unlike the other 2 replies.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Considering this is a community forum, we help people in hopes that it will benefit many others. Vague titles and such make it much more difficult for others to find posts on the subject.

In the spirit of which this forum was built, all we ask if you abide certain guidelines, and we believe that is not a lot of task.
influenceuk
Forum Commoner
Posts: 42
Joined: Tue May 08, 2007 7:48 am
Location: London, UK

Post by influenceuk »

So i get moaned at seeing as its my first post?!

Yeah i see how helpful that is, granted if i constantly did it then i could see why it could be annoying, but my first post!

tbh, i was in a rush, i was at work, and need to try get answers asap and was unsure what to put as a subject.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

Give him a break guys; maybe his lunchtime enema went badly.
influenceuk
Forum Commoner
Posts: 42
Joined: Tue May 08, 2007 7:48 am
Location: London, UK

Post by influenceuk »

i see the maturity in here!

i shall direct you to this post - viewtopic.php?t=67439

did exactly what i did, but did not get bitched at!!
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

@iUK: if by "did exactly what i did" you mean he was a jerk, then yes...

You'll find we're generally a helpful and friendly bunch, but we tend to be weary of people who don't seem to appreciate the time and experience we volunteer. If it's not wanted, I welcome you to try Google, the PHP manual, and/or other forums.

Please don't take all this too seriously, and for our sake, please try your best to follow the rules - they really do help reduce our workload.
influenceuk
Forum Commoner
Posts: 42
Joined: Tue May 08, 2007 7:48 am
Location: London, UK

Post by influenceuk »

how the f**k have i been a jerk!? i simply asked a question?

As you can see by my 2nd post in this forum i have "followed the rules", i would say its you who has been a jerk to treat a new comer to the forum the way you have.

Out of all the replies on thie thread only one person offered any help and guidance... ptrpan

Of which i thanked him for, so how am i not appreciating the help?

Granted the subject was rubbish, but the onslaught of bitching provided, to me is not using your so called "experience" to its best abilities!

A simple, "here's a link that may help, oh btw, please make the subject better" would have surficed! Not the bombardment of negative replies, mainly by yourself!
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

I believe it is a sticky somewhere but will post again...
How To Ask Questions The Smart Way

to quote some passages from this...
It sometimes looks like we're reflexively rude to newbies and the ignorant. But this isn't really true.

What we are, unapologetically, is hostile to people who seem to be unwilling to think or to do their own homework before asking questions. People like that are time sinks — they take without giving back, and they waste time we could have spent on another question more interesting and another person more worthy of an answer.
Ok this wasn't written for this forum but it is reasonably true of any forum and we are not "hostile" unless people start being hostile first. Language issues may also play a part.
Never assume you are entitled to an answer. You are not; you aren't, after all, paying for the service. You will earn an answer, if you earn it, by asking a substantial, interesting, and thought-provoking question — one that implicitly contributes to the experience of the community rather than merely passively demanding knowledge from others.
You should also bear in mind that most answers on these forums are from people with many years of experience. The latest online tutorials are not necessarily in their heads. Why should they do a Google search when you could have to begin with? Googling for "PHP MySQL Tutorial" returns approx 22,000,000 entries.

As for comparing with other topics please bear in mind it does depend a lot on who answers the topic. If a solution is given before a "mod" looks at it they are unlikely to comment further (unless it's a problem with syntax tags :wink:). Moderators often get a lot of stick for no return but they help any forum to run smoothly.
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

influenceuk wrote:how the f**k have i been a jerk!? i simply asked a question?
Can you either ban him or take the 'uk' away from his name?
I'm ashamed to come from the same country.

[edit]Oh Lord, I'm from the same city.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

Grim... wrote:
influenceuk wrote:how the f**k have i been a jerk!? i simply asked a question?
Can you either ban him or take the 'uk' away from his name?
I'm ashamed to come from the same country.

[edit]Oh Lord, I'm from the same city.
:(
influenceuk
Forum Commoner
Posts: 42
Joined: Tue May 08, 2007 7:48 am
Location: London, UK

Post by influenceuk »

what the heck?! seriously this is just getting pathetic!

Is it the fact
- the ones who are still moaning dont know the answer to the questions?
or
- they just like to moan?
or
- they just have nothing better to do!?

I aldready have the answers i needed, i don't even know why people are still be so pathetic!
Last edited by influenceuk on Wed May 09, 2007 8:36 am, edited 1 time in total.
Locked