View Single Post
Old 10th August 2012, 08:40
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,389
Thanks: 833
Thanked 5,486 Times in 4,318 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