Profile_bird

Hey there! scriptastique is using Twitter.

Twitter is a free service that lets you keep in touch with people through the exchange of quick, frequent answers to one simple question: What's happening? Join today to start receiving scriptastique's tweets.

Already using Twitter
from your phone? Click here.

scriptastique

  1. HTML: Don't start ID-s and classes with numbers, some older browsers might have trouble with them.
  2. HTML: You can write you html code inside PHP files and use them on the web, even if the PHP file doesn't have any PHP code in it.
  3. Scrip just posted "Hiding Easter Eggs in your code" http://somurl.com/st/8xw
  4. You can get PhpMyAdmin themes at http://somurl.com/g4H0G, but watch the version number, as some won't work for you.
  5. If you have a big monitor you can open Notepad++ on the left and your browser on the right to get an almost instant preview of your work.
  6. CSS: Shorthand for margins can be written as "margin: 10px 1px 0 2px", where the values are top, right, botttom, left (clockwise)
  7. HTML: A table must contain at least the following (minimum): <table><tr><td></td></tr></table>
  8. MySQL: Add "or die(mysql_error())" after mysql queries to generate better error reports
  9. Scrip just posted "Updating values in a MySQL table" http://somurl.com/st/EOX
  10. You can refer to an element byits id in javascript using get.ElementById("the_id_here")
  11. You can write your own functions in the "functions.php" file in Wordpress, they will al be included into all the other files
  12. Scrip just posted! "Stop form submission if the input is invalid" http://somurl.com/st/V8Q
  13. Remember to start all your HTML files whith a doctype, find a nice list here http://somurl.com/Nj508
  14. HTML: Use <em> to create italic text
  15. Scrip just posted! "How to name your image files for quick reference" http://somurl.com/st/2As
  16. HTML: Remember, block level elements can contain inline AND block level elements, but inline elements can only contain other inline elements
  17. HTML: Use <strong> instead of <b> to create bold text, it is much more "semantic"
  18. HTML stands for HyperText Markup Language
  19. HTML: Use <acronym title="title here">Acronym Here</acronym> to define an acronym. The title will be shown
  20. PHP: the following code: $i++ increments the value contained in $i by one. You can also use $-- to decrement it