Git + Eclipse + Php

The basic steps are: Install EGit Import Git project Create a new PHP project, based on existing code (ie, your Git clone)   1. Install EGit In the Help menu, go to Install New Software Select your main Update Site from the “Work with” drop-down menu (usually starts with http://download.eclipse.org/releases/ ) Where it says “type filter text”, … Leggi tutto

Install PostGreSql

In this exercise, we’ll go thru installing PostgreSQL 9.3 on a CentOS 6 64-bit box. We’ll cover upgrading in a later article. For the rest of this article, we’ll go over configuring yum to use the PostgreSQL PGDG Yum repository found at http://yum.postgresql.org , which has the latest and greatest of 9.3. It’s been a … Leggi tutto

Virgolette o apici? PHP

C’è una differenza fondamentale tra i due tipi di virgolette e, sul quando si dovrebbe usare l’una piuttosto che l’altra. In PHP, i valori racchiusi tra apici singoli (‘) saranno trattati come letterali, mentre quelli racchiusi tra doppi apici (“) saranno interpretati.