Jump to content

Eddy_J1

Members
  • Posts

    7
  • Joined

  • Last visited

Eddy_J1's Achievements

Newbie

Newbie (1/5)

1

Reputation

  1. Look over your header line again... You are closing the quotes and a bracket after get dept, also I may be wrong buy I'm pretty sure global vars should be out of quotes.
  2. Have a look at asort, just run that on your array and it should sort it out http://php.net/manual/en/function.asort.php Edit: Except, what Abra said above, wheres the query because what he said before will sort it in the query, but if you want to sort it after fetching them then use asort.
  3. Ok then post some more of your code so we can see what values you are setting in your config for example Remember to put it in code tags too so its formatted better on the forum
  4. Have you really? What's wrong with the first link then? CSS Tricks is a brilliant site, he guides you through and explains it all, and if you are too lazy he even provides the files. http://css-tricks.com/sending-nice-html-email-with-php/
  5. Have a look at this http://php.net/manual/en/function.mail.php Also you should really comment your code more and remove all those test echos
  6. For number 2 I'd look around the line that says: function get_files($images_dir,$exts = array('jpg'))Note that $exts is an array
  7. Sorry if the answer isn't brilliant, it's my first post Try using fopen to get the file contents and then use fgetcsv to parse the fields into an array, you can then loop through the array and change the rows for your particular id. http://php.net/manual/en/function.fopen.php http://www.php.net/manual/en/function.fgetcsv.php It may be really resource hungry but i'm an amateur myself so I'm not sure, this is just how I would go about it, the PHP manual is very handy.
  8. Hi everyone, my name is Edward(Ed or Eddy, whichever you prefer), I'm 20 and did previously have a job as a junior developer a few years ago but for the past 2 years haven't been doing much PHP at all since i lost my job, so recently I've decided I want to get practising again and currently attempting to create a simple lightweight CMS designed for small websites, my coding is very basic so a lot of the stuff I'm having to google . In my spare time I also enjoy stargazing, when the weather permits of course and I also enjoy gaming on my PC. I'm hoping by joining up to this forum I'll be able to maybe make new contacts with like minded people, and possibly try help where I can, but the main reason for joining is to develop my skills to I can hopefully get a job again Sorry if I rambled on a lot, looking forward to see what this forum has to offer. Eddy
×
×
  • 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.