{"id":531,"date":"2019-09-18T11:18:39","date_gmt":"2019-09-18T11:18:39","guid":{"rendered":"https:\/\/www.webhozz.com\/code\/?p=531"},"modified":"2019-09-18T11:42:16","modified_gmt":"2019-09-18T11:42:16","slug":"php-mysql-limit-clause","status":"publish","type":"post","link":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/","title":{"rendered":"PHP MySQL : Limit Clause"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">Limiting Result Set<\/h5>\n\n\n\n<p>Klausa <strong><em>LIMIT<\/em><\/strong> digunakan untuk membatasi\njumlah baris yang dikembalikan oleh pernyataan <strong><em>SELECT<\/em><\/strong>. Fitur ini sangat\nmembantu untuk mengoptimalkan waktu pemuatan halaman serta agar situs web dapat\nlebih terbaca. Misalnya, kalian dapat membagi sejumlah besar record dalam\nbeberapa halaman menggunakan pagination, di mana jumlah record yang terbatas\nakan dimuat pada setiap halaman dari database ketika pengguna meminta halaman\nitu dengan mengklik tautan pagination.<\/p>\n\n\n\n<p>Sintaks dasar klausa <strong><em>LIMIT<\/em><\/strong> dapat diberikan dengan:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"787\" height=\"78\" src=\"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-30.jpg\" alt=\"\" class=\"wp-image-532\" srcset=\"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-30.jpg 787w, https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-30-300x30.jpg 300w, https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-30-768x76.jpg 768w\" sizes=\"(max-width: 787px) 100vw, 787px\" \/><\/figure>\n\n\n\n<p>Klausa <strong><em>LIMIT<\/em><\/strong> menerima satu atau dua\nparameter yang harus berupa bilangan bulat negatif:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Ketika dua parameter ditentukan, parameter pertama menentukan offset dari baris pertama untuk mengembalikan yaitu titik awal, sedangkan parameter kedua menentukan jumlah baris yang akan dikembalikan. Offset baris pertama adalah 0 (bukan 1).<\/li><li>Sedangkan, ketika hanya satu parameter yang diberikan, itu menentukan jumlah maksimum baris untuk kembali dari awal result set.<\/li><\/ul>\n\n\n\n<p>Misalnya, untuk mengambil tiga baris pertama, kalian dapat menggunakan kueri berikut:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"790\" height=\"68\" src=\"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-31.jpg\" alt=\"\" class=\"wp-image-533\" srcset=\"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-31.jpg 790w, https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-31-300x26.jpg 300w, https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-31-768x66.jpg 768w\" sizes=\"(max-width: 790px) 100vw, 790px\" \/><\/figure>\n\n\n\n<p>Untuk mengambil baris 2-4 (inklusif) dari rangkaian hasil, kalian dapat menggunakan kueri berikut:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"783\" height=\"63\" src=\"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-2-3.jpg\" alt=\"\" class=\"wp-image-534\" srcset=\"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-2-3.jpg 783w, https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-2-3-300x24.jpg 300w, https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-2-3-768x62.jpg 768w\" sizes=\"(max-width: 783px) 100vw, 783px\" \/><\/figure>\n\n\n\n<p>Mari kita membuat query SQL menggunakan klausa <strong><em>LIMIT<\/em><\/strong> dalam pernyataan <strong><em>SELECT<\/em><\/strong>, setelah itu kita akan mengeksekusi query ini dengan mengirimkannya ke fungsi PHP <strong><em>mysqli_query()<\/em><\/strong> untuk mendapatkan jumlah record yang terbatas. Pertimbangkan tabel <em>persons<\/em> berikut di dalam basis data <em>demo<\/em>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">+----+------------+-----------+----------------------+\n| id | first_name | last_name | email                |\n+----+------------+-----------+----------------------+\n|  1 | Peter      | Parker    | peterparker@mail.com |\n|  2 | John       | Rambo     | johnrambo@mail.com   |\n|  3 | Clark      | Kent      | clarkkent@mail.com   |\n|  4 | John       | Carter    | johncarter@mail.com  |\n|  5 | Harry      | Potter    | harrypotter@mail.com |\n+----+------------+-----------+----------------------+<\/pre>\n\n\n\n<p>Kode PHP dalam contoh berikut hanya akan menampilkan tiga baris dari tabel <em>persons<\/em>.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;?php\n\/* Attempt MySQL server connection. Assuming you are running MySQL\nserver with default setting (user 'root' with no password) *\/\n$link = mysqli_connect(&quot;localhost&quot;, &quot;root&quot;, &quot;&quot;, &quot;demo&quot;);\n \n\/\/ Check connection\nif($link === false){\n    die(&quot;ERROR: Could not connect. &quot; . mysqli_connect_error());\n}\n \n\/\/ Attempt select query execution\n$sql = &quot;SELECT * FROM persons LIMIT 3&quot;;\nif($result = mysqli_query($link, $sql)){\n    if(mysqli_num_rows($result) &gt; 0){\n        echo &quot;&lt;table&gt;&quot;;\n            echo &quot;&lt;tr&gt;&quot;;\n                echo &quot;&lt;th&gt;id&lt;\/th&gt;&quot;;\n                echo &quot;&lt;th&gt;first_name&lt;\/th&gt;&quot;;\n                echo &quot;&lt;th&gt;last_name&lt;\/th&gt;&quot;;\n                echo &quot;&lt;th&gt;email&lt;\/th&gt;&quot;;\n            echo &quot;&lt;\/tr&gt;&quot;;\n        while($row = mysqli_fetch_array($result)){\n            echo &quot;&lt;tr&gt;&quot;;\n                echo &quot;&lt;td&gt;&quot; . $row&#x5B;'id'] . &quot;&lt;\/td&gt;&quot;;\n                echo &quot;&lt;td&gt;&quot; . $row&#x5B;'first_name'] . &quot;&lt;\/td&gt;&quot;;\n                echo &quot;&lt;td&gt;&quot; . $row&#x5B;'last_name'] . &quot;&lt;\/td&gt;&quot;;\n                echo &quot;&lt;td&gt;&quot; . $row&#x5B;'email'] . &quot;&lt;\/td&gt;&quot;;\n            echo &quot;&lt;\/tr&gt;&quot;;\n        }\n        echo &quot;&lt;\/table&gt;&quot;;\n        \/\/ Close result set\n        mysqli_free_result($result);\n    } else{\n        echo &quot;No records matching your query were found.&quot;;\n    }\n} else{\n    echo &quot;ERROR: Could not able to execute $sql. &quot; . mysqli_error($link);\n}\n \n\/\/ Close connection\nmysqli_close($link);\n?&gt;\n<\/pre><\/div>\n\n\n<p>Setelah membatasi hasil yang telah diset, output akan terlihat seperti ini:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">+----+------------+-----------+----------------------+\n| id | first_name | last_name | email                |\n+----+------------+-----------+----------------------+\n|  1 | Peter      | Parker    | peterparker@mail.com |\n|  2 | John       | Rambo     | johnrambo@mail.com   |\n|  3 | Clark      | Kent      | clarkkent@mail.com   |\n+----+------------+-----------+----------------------+<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Limiting Result Set Klausa LIMIT digunakan untuk membatasi jumlah baris yang dikembalikan oleh pernyataan SELECT. Fitur ini sangat membantu untuk mengoptimalkan waktu pemuatan halaman serta<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-531","post","type-post","status-publish","format-standard","hentry","category-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Belajar PHP MySQL : Limit Clause - WebHozz Code<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Belajar PHP MySQL : Limit Clause - WebHozz Code\" \/>\n<meta property=\"og:description\" content=\"Limiting Result Set Klausa LIMIT digunakan untuk membatasi jumlah baris yang dikembalikan oleh pernyataan SELECT. Fitur ini sangat membantu untuk mengoptimalkan waktu pemuatan halaman serta\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHozz Code\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-18T11:18:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-09-18T11:42:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-30.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"787\" \/>\n\t<meta property=\"og:image:height\" content=\"78\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/php-mysql-limit-clause\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/php-mysql-limit-clause\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#\\\/schema\\\/person\\\/3b2b79dc317236b0dde4b1fda37263e1\"},\"headline\":\"PHP MySQL : Limit Clause\",\"datePublished\":\"2019-09-18T11:18:39+00:00\",\"dateModified\":\"2019-09-18T11:42:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/php-mysql-limit-clause\\\/\"},\"wordCount\":225,\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/php-mysql-limit-clause\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/Untitled-1-30.jpg\",\"articleSection\":[\"PHP\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/php-mysql-limit-clause\\\/\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/php-mysql-limit-clause\\\/\",\"name\":\"Belajar PHP MySQL : Limit Clause - WebHozz Code\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/php-mysql-limit-clause\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/php-mysql-limit-clause\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/Untitled-1-30.jpg\",\"datePublished\":\"2019-09-18T11:18:39+00:00\",\"dateModified\":\"2019-09-18T11:42:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#\\\/schema\\\/person\\\/3b2b79dc317236b0dde4b1fda37263e1\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/php-mysql-limit-clause\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webhozz.com\\\/code\\\/php-mysql-limit-clause\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/php-mysql-limit-clause\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/Untitled-1-30.jpg\",\"contentUrl\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/Untitled-1-30.jpg\",\"width\":787,\"height\":78},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/php-mysql-limit-clause\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP MySQL : Limit Clause\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#website\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/\",\"name\":\"WebHozz Code\",\"description\":\"Tutorial Web &amp; Pemrograman Indonesia\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#\\\/schema\\\/person\\\/3b2b79dc317236b0dde4b1fda37263e1\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/author\\\/dody\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Belajar PHP MySQL : Limit Clause - WebHozz Code","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/","og_locale":"en_US","og_type":"article","og_title":"Belajar PHP MySQL : Limit Clause - WebHozz Code","og_description":"Limiting Result Set Klausa LIMIT digunakan untuk membatasi jumlah baris yang dikembalikan oleh pernyataan SELECT. Fitur ini sangat membantu untuk mengoptimalkan waktu pemuatan halaman serta","og_url":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/","og_site_name":"WebHozz Code","article_published_time":"2019-09-18T11:18:39+00:00","article_modified_time":"2019-09-18T11:42:16+00:00","og_image":[{"width":787,"height":78,"url":"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-30.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/#article","isPartOf":{"@id":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/"},"author":{"name":"admin","@id":"https:\/\/www.webhozz.com\/code\/#\/schema\/person\/3b2b79dc317236b0dde4b1fda37263e1"},"headline":"PHP MySQL : Limit Clause","datePublished":"2019-09-18T11:18:39+00:00","dateModified":"2019-09-18T11:42:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/"},"wordCount":225,"image":{"@id":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-30.jpg","articleSection":["PHP"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/","url":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/","name":"Belajar PHP MySQL : Limit Clause - WebHozz Code","isPartOf":{"@id":"https:\/\/www.webhozz.com\/code\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/#primaryimage"},"image":{"@id":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-30.jpg","datePublished":"2019-09-18T11:18:39+00:00","dateModified":"2019-09-18T11:42:16+00:00","author":{"@id":"https:\/\/www.webhozz.com\/code\/#\/schema\/person\/3b2b79dc317236b0dde4b1fda37263e1"},"breadcrumb":{"@id":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/#primaryimage","url":"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-30.jpg","contentUrl":"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/09\/Untitled-1-30.jpg","width":787,"height":78},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhozz.com\/code\/php-mysql-limit-clause\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhozz.com\/code\/"},{"@type":"ListItem","position":2,"name":"PHP MySQL : Limit Clause"}]},{"@type":"WebSite","@id":"https:\/\/www.webhozz.com\/code\/#website","url":"https:\/\/www.webhozz.com\/code\/","name":"WebHozz Code","description":"Tutorial Web &amp; Pemrograman Indonesia","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhozz.com\/code\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.webhozz.com\/code\/#\/schema\/person\/3b2b79dc317236b0dde4b1fda37263e1","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.webhozz.com\/code\/author\/dody\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts\/531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/comments?post=531"}],"version-history":[{"count":2,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts\/531\/revisions"}],"predecessor-version":[{"id":536,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts\/531\/revisions\/536"}],"wp:attachment":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/media?parent=531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/categories?post=531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/tags?post=531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}