ghacks Technology News

Creating a simple multi-lingual website

If you want to create a simple webpage for yourself, listing who you are, how you can be contected and what you do, you might want to add a few languages in there. You could use Google Translate, but that does not yield the best (and professional) results, so it would be best to translate [...]

Tags: , , ,
Categories: Web Development

Web development roundup

Last week was a bit less active in web development terms, but here’s a roundup of what you can find on Scriptastique if you haven’t been taking a look recently.
We had a look at how a mysql query basically works, which will come in handy if you’re just learning about MySQL and PHP. The [...]

Tags: , ,
Categories: Web Development

Identifying each page using body tags and CSS

If you are building a large website, chances are you have a great little CSS stylesheet linked to every document which governs all the pages. But what do you do if you want just one of the pages to be completely different? You could of course go into your code and ad separate id-s and [...]

Tags: , , ,
Categories: Web Development

Scriptastique web development roundup

As you all know, we started a web development section here on gHacks. After asking for your opinion and talking about it with Martin, we decided to keep writing 1-2 posts a week here, but move most of the material into a new site called Scriptastique.
Right now we only have the blog, but tutorial [...]

Tags: , , , , ,
Categories: Web Development

Passing variables using in the URL

If you’ve seen some Wordpress blogs or online stores you’ve probably seen url-s in the form of http://somepage.com/product.php?id=4. These sites pass variables to scripts using the url. The script will scan the url for these and you can use them in a database query for example. This is the technology that allows Wordpress templates to [...]

Tags: , , ,
Categories: Web Development

How echo works in PHP

The most basic command, and probably the first you’ll learn when taking a look at PHP is “echo”. The first example in many books and online tutorials is the following. Create a file, give it an extension of “.php”, upload it to your server, and edit it like so:
<?php
echo ‘Hello World’;
?>
I hate Hello World examples, [...]

Tags: , , , ,
Categories: Web Development

  • Author: Jeremiah
  • Published: Feb 16th, 2009
  • Comments: 4

PHP – what it does and what it doesn’t

PHP is a Server side scripting language. Its primary competitors are ASP (Microsoft), JSP (Sun), CFM (Adobe), and Perl (often called cgi by hosting companies, although it is not the only cgi language).
PHP was originally created in 1995, so as a technology it is fairly mature. Version 5.x is the latest stable version and 6 [...]

Tags: , , , , , , ,
Categories: Tutorials Basic, Web Development

© 2005-2009 Ghacks.net. All Rights Reserved. Privacy Policy - About Us