View Single Post
Old 10th August 2012, 09:40
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts

Singö quotes are fine. The difference between single and double quotes in PHP is that double quotes may contain variables that get replaces automatically, the above example does not contain any variables inside the strings, so single quotes are the right choice.

The error in my example is the =, it has to be =>

$zones = $client->dns_zone_get($session_id, array('xfer' => 'linode'));
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote