{"id":835,"date":"2019-07-10T19:19:14","date_gmt":"2019-07-10T16:19:14","guid":{"rendered":"http:\/\/www.hawlast.com\/blog\/?p=835"},"modified":"2021-09-05T18:27:06","modified_gmt":"2021-09-05T15:27:06","slug":"how-to-start-with-php","status":"publish","type":"post","link":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/","title":{"rendered":"How to start with PHP"},"content":{"rendered":"<p>This is a quick guide to help you write your first PHP code.<\/p>\n<pre><span style=\"color: #800000;\">&lt; ?php echo \"My first PHP code\"; ?&gt;<\/span><\/pre>\n<blockquote><p>PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.- <strong><em>php.net<\/em><\/strong><\/p><\/blockquote>\n<p><strong>Knowledge:<\/strong><br \/>\nYou need some basic knowledge of HTML and CSS. PHP outputs results to the browser&#8230;in HTML \/ CSS format&#8230;<br \/>\n<!--more--><\/p>\n<p><strong>Software:<\/strong><\/p>\n<ol>\n<li>PHP needs a <a href=\"https:\/\/www.hawlast.com\">web server that has PHP installed<\/a>, or use install a free Wamp server on your machine. My favorite is <a href=\"https:\/\/www.uwamp.com\/en\/\">UwAmp<\/a><\/li>\n<li><a href=\"https:\/\/www.pnotepad.org\/\">Programmer&#8217;s Notepad <\/a><em>(It numbers your code. You can see the line number with an error for example)<\/em><\/li>\n<li>Notepad<\/li>\n<\/ol>\n<p><strong>How to install a Wampserver on your machine<\/strong><\/p>\n<p>Go to uwamp.com and download and install the software. The beauty with UwAmp is that you can run it in any drive on your machine or on a flash disk \/ USB stick.<\/p>\n<p>Once you install, click on the UwAmp icon. You should have the below user interface.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-838\" src=\"http:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/php-uwamp-server.png\" alt=\"UwAmp Server\" width=\"273\" height=\"350\" srcset=\"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/php-uwamp-server.png 273w, https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/php-uwamp-server-234x300.png 234w\" sizes=\"auto, (max-width: 273px) 100vw, 273px\" \/><\/p>\n<p>Click on www folder and inside it, create your first PHP project folder. You can name the folder PHP.<\/p>\n<p><strong>Write your first line of PHP code<\/strong><br \/>\nInstall <a href=\"https:\/\/www.pnotepad.org\/\">Programmer&#8217;s Notepad<\/a>, and launch it. Type in the below text.<\/p>\n<pre><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-843\" src=\"http:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/first-php-code-live.jpg\" alt=\"first PHP code\" width=\"953\" height=\"424\" srcset=\"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/first-php-code-live.jpg 953w, https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/first-php-code-live-300x133.jpg 300w, https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/first-php-code-live-768x342.jpg 768w\" sizes=\"auto, (max-width: 953px) 100vw, 953px\" \/><\/p>\n<p>Go to <strong>File<\/strong> and<strong> Save As&#8230;<\/strong>and look for the PHP folder that you created.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-844\" src=\"http:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/Save-php-file.jpg\" alt=\"\" width=\"862\" height=\"539\" srcset=\"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/Save-php-file.jpg 862w, https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/Save-php-file-300x188.jpg 300w, https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/Save-php-file-768x480.jpg 768w\" sizes=\"auto, (max-width: 862px) 100vw, 862px\" \/><\/p>\n<p>Write index. Your first index.php file.<\/p>\n<p>Now you can go to your browser and type localhost\/PHP\/ in the browser address.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-845\" src=\"http:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/php-is-live.jpg\" alt=\"PHP code is live\" width=\"764\" height=\"439\" srcset=\"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/php-is-live.jpg 764w, https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/php-is-live-300x172.jpg 300w\" sizes=\"auto, (max-width: 764px) 100vw, 764px\" \/><\/p>\n<p>That above is your first PHP code &#8230; live!<\/p>\n<p><strong>Some PHP resources online:<\/strong><br \/>\n&gt; <a href=\"https:\/\/www.php.net\/manual\/en\/getting-started.php\">PHP official site\u00a0<\/a><br \/>\n&gt; <a href=\"https:\/\/phptherightway.com\/\">PHP the right way\u00a0<\/a><br \/>\n&gt; <a href=\"https:\/\/www.codecademy.com\/learn\/learn-php\">PHP Course at Code Academy\u00a0<\/a><br \/>\n&gt; <a href=\"https:\/\/jobtensor.com\/Tutorial\/PHP\/en\/Introduction\">Job Tensor &#8211; Introduction to PHP<\/a><\/p>\n<p><strong>Advanced database manipulation using PHP<\/strong><br \/>\n&gt; <a href=\"https:\/\/phpdelusions.net\/articles\">PHP Delusions<\/a><\/p>\n<p><strong>Questions and answers<\/strong><\/p>\n<p>Google or go to <a href=\"https:\/\/stackoverflow.com\/questions\/tagged\/php\">Stack Overflow<\/a>.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>This is a quick guide to help you write your first PHP code. &lt; ?php echo &#8220;My first PHP code&#8221;;&hellip;<!-- AddThis Advanced Settings generic via filter on wp_trim_excerpt --><!-- AddThis Share Buttons generic via filter on wp_trim_excerpt --><\/p>\n","protected":false},"author":375,"featured_media":843,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,3],"tags":[103,104],"class_list":["post-835","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hosting-kenya","category-web-design-tips","tag-php","tag-uwamp"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"This is a quick guide to help you write your first PHP code. &lt; ?php echo &quot;My first PHP code&quot;; ?&gt; PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.- php.net Knowledge:\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"Richard\"\/>\n\t<meta name=\"google-site-verification\" content=\"YZPXJE-6W2iSvgrFkQPcGRTh3md86Qv7PnNa0DTcA2g\" \/>\n\t<meta name=\"keywords\" content=\"php,uwamp,hosting kenya,web design\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Hawlast Ventures Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to start with PHP\" \/>\n\t\t<meta property=\"og:description\" content=\"This is a quick guide to help you write your first PHP code. &lt; ?php echo &quot;My first PHP code&quot;; ?&gt; PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.- php.net Knowledge:\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/first-php-code-live.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/first-php-code-live.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"953\" \/>\n\t\t<meta property=\"og:image:height\" content=\"424\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-07-10T16:19:14+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-09-05T15:27:06+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hawlast\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@hawlast\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to start with PHP\" \/>\n\t\t<meta name=\"twitter:description\" content=\"This is a quick guide to help you write your first PHP code. &lt; ?php echo &quot;My first PHP code&quot;; ?&gt; PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.- php.net Knowledge:\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@hawlast\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/first-php-code-live.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#article\",\"name\":\"How to start with PHP\",\"headline\":\"How to start with PHP\",\"author\":{\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/author\\\/richard\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/first-php-code-live.jpg\",\"width\":953,\"height\":424,\"caption\":\"first PHP code\"},\"datePublished\":\"2019-07-10T19:19:14+03:00\",\"dateModified\":\"2021-09-05T18:27:06+03:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#webpage\"},\"articleSection\":\"Hosting Kenya, Web design, PHP, UwAmp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hawlast.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/category\\\/web-design-tips\\\/#listItem\",\"name\":\"Web design\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/category\\\/web-design-tips\\\/#listItem\",\"position\":2,\"name\":\"Web design\",\"item\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/category\\\/web-design-tips\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#listItem\",\"name\":\"How to start with PHP\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#listItem\",\"position\":3,\"name\":\"How to start with PHP\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/category\\\/web-design-tips\\\/#listItem\",\"name\":\"Web design\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/#organization\",\"name\":\"Hawlast Ventures\",\"description\":\"All you need to succeed online\",\"url\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/\",\"telephone\":\"+254720401869\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/domain-registration1.gif\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#organizationLogo\",\"width\":246,\"height\":60},\"image\":{\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.twitter.com\\\/hawlast\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/author\\\/richard\\\/#author\",\"url\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/author\\\/richard\\\/\",\"name\":\"Richard\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/68458a40806103ae8150824d23408159b97dfd267f7f091d13036964a95b3355?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Richard\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#webpage\",\"url\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/\",\"name\":\"How to start with PHP\",\"description\":\"This is a quick guide to help you write your first PHP code. < ?php echo \\\"My first PHP code\\\"; ?> PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.- php.net Knowledge:\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/author\\\/richard\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/author\\\/richard\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/first-php-code-live.jpg\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#mainImage\",\"width\":953,\"height\":424,\"caption\":\"first PHP code\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/how-to-start-with-php\\\/#mainImage\"},\"datePublished\":\"2019-07-10T19:19:14+03:00\",\"dateModified\":\"2021-09-05T18:27:06+03:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/\",\"name\":\"Hawlast Blog\",\"description\":\"All you need to succeed online\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hawlast.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to start with PHP","description":"This is a quick guide to help you write your first PHP code. < ?php echo \"My first PHP code\"; ?> PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.- php.net Knowledge:","canonical_url":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"php,uwamp,hosting kenya,web design","webmasterTools":{"google-site-verification":"YZPXJE-6W2iSvgrFkQPcGRTh3md86Qv7PnNa0DTcA2g","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#article","name":"How to start with PHP","headline":"How to start with PHP","author":{"@id":"https:\/\/www.hawlast.com\/blog\/author\/richard\/#author"},"publisher":{"@id":"https:\/\/www.hawlast.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/first-php-code-live.jpg","width":953,"height":424,"caption":"first PHP code"},"datePublished":"2019-07-10T19:19:14+03:00","dateModified":"2021-09-05T18:27:06+03:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#webpage"},"isPartOf":{"@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#webpage"},"articleSection":"Hosting Kenya, Web design, PHP, UwAmp"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.hawlast.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.hawlast.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.hawlast.com\/blog\/category\/web-design-tips\/#listItem","name":"Web design"}},{"@type":"ListItem","@id":"https:\/\/www.hawlast.com\/blog\/category\/web-design-tips\/#listItem","position":2,"name":"Web design","item":"https:\/\/www.hawlast.com\/blog\/category\/web-design-tips\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#listItem","name":"How to start with PHP"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.hawlast.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#listItem","position":3,"name":"How to start with PHP","previousItem":{"@type":"ListItem","@id":"https:\/\/www.hawlast.com\/blog\/category\/web-design-tips\/#listItem","name":"Web design"}}]},{"@type":"Organization","@id":"https:\/\/www.hawlast.com\/blog\/#organization","name":"Hawlast Ventures","description":"All you need to succeed online","url":"https:\/\/www.hawlast.com\/blog\/","telephone":"+254720401869","logo":{"@type":"ImageObject","url":"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2022\/05\/domain-registration1.gif","@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#organizationLogo","width":246,"height":60},"image":{"@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#organizationLogo"},"sameAs":["https:\/\/www.twitter.com\/hawlast"]},{"@type":"Person","@id":"https:\/\/www.hawlast.com\/blog\/author\/richard\/#author","url":"https:\/\/www.hawlast.com\/blog\/author\/richard\/","name":"Richard","image":{"@type":"ImageObject","@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/68458a40806103ae8150824d23408159b97dfd267f7f091d13036964a95b3355?s=96&d=mm&r=g","width":96,"height":96,"caption":"Richard"}},{"@type":"WebPage","@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#webpage","url":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/","name":"How to start with PHP","description":"This is a quick guide to help you write your first PHP code. < ?php echo \"My first PHP code\"; ?> PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.- php.net Knowledge:","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.hawlast.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#breadcrumblist"},"author":{"@id":"https:\/\/www.hawlast.com\/blog\/author\/richard\/#author"},"creator":{"@id":"https:\/\/www.hawlast.com\/blog\/author\/richard\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/first-php-code-live.jpg","@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#mainImage","width":953,"height":424,"caption":"first PHP code"},"primaryImageOfPage":{"@id":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/#mainImage"},"datePublished":"2019-07-10T19:19:14+03:00","dateModified":"2021-09-05T18:27:06+03:00"},{"@type":"WebSite","@id":"https:\/\/www.hawlast.com\/blog\/#website","url":"https:\/\/www.hawlast.com\/blog\/","name":"Hawlast Blog","description":"All you need to succeed online","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.hawlast.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Hawlast Ventures Blog","og:type":"article","og:title":"How to start with PHP","og:description":"This is a quick guide to help you write your first PHP code. &lt; ?php echo &quot;My first PHP code&quot;; ?&gt; PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.- php.net Knowledge:","og:url":"https:\/\/www.hawlast.com\/blog\/how-to-start-with-php\/","og:image":"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/first-php-code-live.jpg","og:image:secure_url":"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/first-php-code-live.jpg","og:image:width":953,"og:image:height":424,"article:published_time":"2019-07-10T16:19:14+00:00","article:modified_time":"2021-09-05T15:27:06+00:00","article:publisher":"https:\/\/www.facebook.com\/hawlast","twitter:card":"summary_large_image","twitter:site":"@hawlast","twitter:title":"How to start with PHP","twitter:description":"This is a quick guide to help you write your first PHP code. &lt; ?php echo &quot;My first PHP code&quot;; ?&gt; PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.- php.net Knowledge:","twitter:creator":"@hawlast","twitter:image":"https:\/\/www.hawlast.com\/blog\/wp-content\/uploads\/2019\/07\/first-php-code-live.jpg"},"aioseo_meta_data":{"post_id":"835","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"Article","defaultPostTypeGraph":""},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":{"locations":{"business":{"name":"","businessType":"","image":"","areaServed":"","urls":{"website":"","aboutPage":"","contactPage":""},"address":{"streetLine1":"","streetLine2":"","zipCode":"","city":"","state":"","country":"","addressFormat":"#streetLineOne\n#streetLineTwo\n#city, #state #zipCode"},"contact":{"email":"","phone":"","phoneFormatted":"","fax":"","faxFormatted":""},"ids":{"vat":"","tax":"","chamberOfCommerce":""},"payment":{"priceRange":"","currenciesAccepted":"","methods":""}}},"openingHours":{"useDefaults":true,"show":true,"alwaysOpen":false,"use24hFormat":false,"timezone":"","labels":{"closed":"","alwaysOpen":""},"days":{"monday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"tuesday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"wednesday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"thursday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"friday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"saturday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"sunday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"}}}},"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-04-17 13:12:58","updated":"2025-06-04 07:25:59","seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/www.hawlast.com\/blog\/wp-json\/wp\/v2\/posts\/835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hawlast.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hawlast.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hawlast.com\/blog\/wp-json\/wp\/v2\/users\/375"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hawlast.com\/blog\/wp-json\/wp\/v2\/comments?post=835"}],"version-history":[{"count":3,"href":"https:\/\/www.hawlast.com\/blog\/wp-json\/wp\/v2\/posts\/835\/revisions"}],"predecessor-version":[{"id":876,"href":"https:\/\/www.hawlast.com\/blog\/wp-json\/wp\/v2\/posts\/835\/revisions\/876"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hawlast.com\/blog\/wp-json\/wp\/v2\/media\/843"}],"wp:attachment":[{"href":"https:\/\/www.hawlast.com\/blog\/wp-json\/wp\/v2\/media?parent=835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hawlast.com\/blog\/wp-json\/wp\/v2\/categories?post=835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hawlast.com\/blog\/wp-json\/wp\/v2\/tags?post=835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}