Yukarı daki hatayı alıyorum, 21. satırda aşağıki kod var koddaki hata nedir?
$kalas=$_GET['sayfa'];
class Google{
private $googleUrl="http://www.google.com/search?&start=".$kalas."&q=";yardım ederseniz sevinirim...
8
●614
$kalas=$_GET['sayfa'];
class Google{
private $googleUrl="http://www.google.com/search?&start=".$kalas."&q=";yardım ederseniz sevinirim...
class Google {
private $keyword="xxx";
private $lyricsWebsite="www.xxxx.com";
private $googleUrl="http://www.google.com/search?&start=".$kalas."&q=";
private $regpattern1='/<h1 class=r\>(.*)\<\/h1>/Us';
private $regpattern2='/<h2 class=r\>(.*)\<\/h2>/Us'; <?php
$kalas=$_GET['sayfa'];;
class Google {
private $keyword="xxx";
private $lyricsWebsite="www.xxxx.com";
private $googleUrl="http://www.google.com/search?&start=".$kalas."&q=";
private $regpattern1='/<h1 class=r\>(.*)\<\/h1>/Us';
private $regpattern2='/<h2 class=r\>(.*)\<\/h2>/Us';
function Google()
{
$this->googleUrl ="http://www.google.com/search?&start=".$kalas."&q=";
}
?>Parse error: syntax error, unexpected ';', expecting T_FUNCTION in Line 8