{"id":4514,"date":"2020-09-18T01:09:07","date_gmt":"2020-09-17T22:09:07","guid":{"rendered":"https:\/\/www.margarit.com.tr\/?p=4514"},"modified":"2020-12-18T20:51:53","modified_gmt":"2020-12-18T17:51:53","slug":"mysql-php-ve-html-hizli-cozumler","status":"publish","type":"post","link":"https:\/\/www.margarit.com.tr\/en\/mysql-php-ve-html-hizli-cozumler\/","title":{"rendered":"MYSQL, PHP and HTML Quick Solutions"},"content":{"rendered":"<p>As a webmaster in general, we are happy to write to you with a few questions and solution suggestions from the code archive, which contains our short notes on MYSQL, PHP and HTML terms that are familiar to the individual who dominates the virtual world.<\/p>\n\n\n\n<p>It is very important for WordPress users to have a strong command of PHP and MYSQL, and to have a web experience reinforced with HTML and CSS. If you&#039;ve turned to us from the search results, you&#039;re looking for quick solutions to a few issues in this article. Here, don&#039;t forget to take a look.<\/p>\n\n\n\n<h3>How to clear data in specific column in MYSQL?<\/h3>\n\n\n\n<p>Although it is normally a process that can be done individually, collective moves can sometimes make it easy.<\/p>\n\n\n\n<p>In this little informative article, we will talk about how we can easily clean the data in a specific column in MYSQL.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-sql\" data-lang=\"SQL\"><code>UPDATE myTable SET myColumn = NULL<\/code><\/pre><\/div>\n\n\n\n<p>When you make a SQL query with the codes we specified, you can clear a single column in a table.<\/p>\n\n\n\n<p>Let&#039;s try the template with a sample text.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-sql\" data-lang=\"SQL\"><code>UPDATE members SET last name = NULL<\/code><\/pre><\/div>\n\n\n\n<p>Do not forget to take a database backup before mass update activities, changes made to thousands, maybe even millions of rows, can hurt database services such as MYSQL.<\/p>\n\n\n\n<h3>Adding Special Characters to PHP and HTML pages, Special Character Codes<\/h3>\n\n\n\n<p>I usually add the codes that can be used directly in the php editor in wordpress to the site so that they can be easily accessed from my own site and to share them with you in the search results.<\/p>\n\n\n\n<p>You can access the entire list below, it is also available for copy-paste.<\/p>\n\n\n\n<p><strong>Use:<\/strong>\u00a0I gave the icons in the middle part of the php or html page.\u00a0<strong>\u2665<\/strong>\u00a0When you copy and paste, it appears as a direct icon on your page.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>left single quote &#039; &#039; right single quote &#039; &#039; single low-9 quote \u201a \u201a left double quote \u201c \u201c \u201c right double quote \u201d \u201d double low-9 quote \u201e \u201e dagger \u2020 \u2020 double dagger \u2021 \u2021 per mill sign \u2030 \u2030 single left-pointing angle quote \u2039 \u2039 single right-pointing angle quote \u203a \u203a black spade suit \u2660 \u2660 black club suit \u2663 \u2663 black heart suit \u2665 \u2665 black diamond suit \u2666 \u2666 overline, = spacing overscore \u203e \u203e leftward arrow \u2190 \u2190 upward arrow \u2191 \u2191 rightward arrow \u2192 \u2192 downward arrow \u2193 \u2193 trademark sign \u2122 \u2122 \u2122 exclamation mark ! ! double quotation mark &quot; &quot; \u201c number sign # # dollar sign $ $ percent sign % % ampersand &amp; &amp; &amp; apostrophe &#039; &#039; left parenthesis ( ( right parenthesis ) ) asterisk * * plus sign + + comma , , hyphen - \u2013 period. . slash \/ \u2044 \/ digits 0-9 0-9 colon : : semicolon ; ; less-than sign &lt; &lt; &lt; equals sign == greater-than sign &gt; &gt; &gt; question mark ? ? at sign @ @ uppercase letters AZ A- Z left square bracket [ [ backslash \\ right square bracket ] ] caret ^ ^ horizontal bar (underscore) _ _ left curly brace { { vertical bar | | right curly brace } } tilde ~ ~ ellipses \u2026 \u2026 \u2026 en dash \u2013 \u2013 \u2013 em dash \u2014 \u2014 \u2014 unused \u02dc- \u0178 nonbreaking space inverted exclamation \u00a1 \u00a1 cent sign \u00a2 \u00a2 \u00a2 pound sterling \u00a3 \u00a3 \u00a3 general currency sign \u00a4 \u00a4 yen sign \u00a5 \u00a5 \u00a5 broken vertical bar \u00a6 \u00a6 or &amp;brkbar; \u00a6 section sign \u00a7 \u00a7 umlaut \u00a8 \u00a8 or \u00a8 copyright \u00a9 \u00a9 \u00a9 feminine ordinal \u00aa \u00aa \u00aa left angle quote \u00ab \u00ab \u00ab not sign \u00ac \u00ac \u00ac soft hyphen registered \u00ae \u00ae \u00ae \u00ae macron accent \u00af \u00af or &amp;hibar trademark; \u00af degree sign \u00b0 \u00b0 \u00b0 plus or minus \u00b1 \u00b1 \u00b1 superscript two \u00b2 \u00b2 \u00b2 superscript three \u00b3 \u00b3 \u00b3 acute accent \u00b4 \u00b4 \u00b4 micro sign \u00b5 \u00b5 \u00b5 paragraph sign \u00b6 \u00b6 middle dot \u00b7 \u00b7 \u00b7 \u00b7 cedilla \u00b8 \u00b8 superscript one \u00b9 \u00b9 \u00b9 masculine ordinal \u00ba \u00ba \u00ba right angle quote \u00bb \u00bb \u00bb one-fourth \u00bc \u00bc \u00bc one-half \u00bd \u00bd \u00bd three-fourths \u00be \u00be \u00be inverted question mark \u00bf \u00bf \u00bf uppercase A, grave accent \u00c0 \u00c0 uppercase A, acute accent \u00c1 \u00c1 \u00c1 uppercase A, circumflex accent \u00c2 \u00c2 \u00c2 uppercase A, tilde \u00c3 \u00c3 \u00c3 \u00c2 uppercase A, umlaut \u00c4 \u00c4 \u00c4 uppercase A, ring \u00c5 \u00c5 \u00c5 uppercase AE \u00c6 \u00c5 \u00c6 uppercase C, cedilla \u00c7 \u00c7 \u00c7 uppercase E, grave accent \u00c8 \u00c8 \u00c8 uppercase E, acute accent \u00c9 \u00c9 \u00c9 uppercase E, circumflex accent \u00ca \u00ca \u00ca uppercase E, umlaut \u00cb \u00cb \u00cb uppercase I, grave accent \u00cc \u00cc \u00cc uppercase I, acute accent \u00cd \u00cd \u00cd uppercase I, circumflex accent \u00ce \u00ce \u00ce uppercase I , umlaut \u00cf \u00cf \u00cf uppercase Eth, Icelandic \u00d0 \u00d0 \u00d0 uppercase N, tilde \u00d1 \u00d1 \u00d1 uppercase O, grave accent \u00d2 \u00d2 \u00d2 uppercase O, acute accent \u00d3 \u00d3 \u00d3 uppercase O, circumflex accent \u00d4 \u00d4 \u00d4 uppercase O, tilde \u00d5 \u00d5 \u00d5 uppercase O, hope ut \u00d6 \u00d6 \u00d6 multiplication sign \u00d7 \u00d7 \u00d7 uppercase O, slash \u00d8 \u00d8 \u00d8 uppercase U, grave accent \u00d9 \u00d9 \u00d9 uppercase U, acute accent \u00da \u00da \u00da uppercase U, circumflex accent \u00db \u00db \u00db uppercase U, umlaut \u00dc \u00dc \u00dc uppercase Y, acute accent \u00dd \u00dd \u00dd uppercase THORN, Icelandic \u00de \u00de \u00de lowercase sharps, German \u00df \u00df \u00df lowercase a, grave accent \u00e0 \u00e0 \u00e0 lowercase a, acute accent \u00e1 \u00e1 \u00e1 lowercase a, circumflex accent \u00e2 \u00e2 \u00e2 lowercase a, tilde \u00e3 \u00e3 lowercase a, umlaut \u00e4 \u00e4 \u00e4 lowercase a, ring \u00e5 \u00e5 \u00e5 lowercase ae \u00e6 \u00e6 \u00e6 lowercase c, cedilla \u00e7 \u00e7 \u00e7 lowercase e, grave accent \u00e8 \u00e8 \u00e8 lowercase e, acute accent \u00e9 \u00e9 \u00e9 lowercase e, circumflex accent \u00ea \u00ea \u00ea lowercase e, umlaut \u00eb \u00eb \u00eb lowercase i, grave accent \u00ec \u00ec \u00ec lowercase i, acute accent \u00ed \u00ed \u00ed lowercase i, circumflex accent \u00ee \u00ee \u00ee lowercase i, umlaut \u00ef \u00ef \u00ef lowercase eth, Icelandic \u00f0 \u00f0 \u00f0 lowercase n, tilde \u00f1 \u00f1 \u00f1 lowercase o, grave accent \u00f2 \u00f2 \u00f2 lowercase o, acute accent \u00f3 \u00f3 \u00f3 lowercase o, circumflex accent \u00f4 \u00f4 \u00f4 lowercase o, tilde \u00f5 \u00f5 \u00f5 lowercase o, umlaut \u00f6 \u00f6 division sign \u00f7 \u00f7 \u00f7 lowercase o, slash \u00f8 \u00f8 \u00f8 lowercase u, grave accent \u00f9 \u00f9 \u00f9 lowercase u, acute accent \u00fa \u00fa \u00fa lowercase u, circumflex accent \u00fb \u00fb \u00fb lowercase u, umlaut \u00fc \u00fc \u00fc lowercase y, acute accent \u00fd \u00fd \u00fd lowercase thorn, Icelandic \u00fe \u00fe \u00fe lowercase y, umlaut \u00ff \u00ff \u00ff Alpha \u0391 \u0391 alpha \u03b1 \u03b1 Beta \u0392 \u0392 beta \u03b2 \u03b2 Gamma \u0393 \u0393 gamma \u03b3 \u03b3 Delta \u0394 \u0394 delta \u03b4 \u03b4 Epsilon \u0395 \u0395 epsilon \u03b5 \u03b5 Zeta \u0396 \u0396 zeta \u03b6 \u03b6 Eta \u03b7 \u03b7 eta \u0398 \u0398 theta \u03b8 \u03b8 Iota \u0399 \u0399 iota \u03b9 \u03b9 Kappa \u039a \u039a kappa \u03ba \u03ba Lambda \u039b \u039b lambda \u03bb \u03bb Mu \u039c \u039c mu \u03bc \u03bc Nu \u039d \u039d nu \u03bd \u03bd Xi \u039e \u039e xi \u03be \u03be Omicron \u039f \u039f omicron \u03bf\u03bf \u03a0\u03bf Pi pi \u03c0 \u03c0 Rho \u03a1 \u03a1 rho \u03c1 \u03c1 Sigma \u03a3 \u03a3 sigma \u03c3 \u03c3 Tau \u03a4 \u03a4 tau \u03c4 \u03c4 Upsilon \u03a5 \u03a5 upsilon \u03c5 \u03c5 Phi \u03a6 \u03a6 phi \u03c6 \u03c6 Chi \u03a7 \u03a7 chi \u03c7 \u03c7 Psi \u03a8 \u03a8 psi\u03a9 \u03c8 \u03a9 Omega\u03c8 \u03c9 password dot \u25cf \u25cf bullet \u2022 \u2022<\/code><\/pre><\/div>\n\n\n\n<h3>To be able to print numbers from 1 to 100 using PHP.<\/h3>\n\n\n\n<p>I was exposed to a Php experience at a talent detecting address.<\/p>\n\n\n\n<p>I&#039;m writing as a copy, it seems like there will be a lot of people looking for this from Google.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php $number = range(0,100); print_r ($number); ?&gt;<\/code><\/pre><\/div>\n\n\n\n<h3>Illegal mix of collations MySQL error solution<\/h3>\n\n\n\n<p>What should you do when you encounter an illegal mix of collations MySQL error?<\/p>\n\n\n\n<p>When you encounter this text:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-sql\" data-lang=\"SQL\"><code>Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation &#039;=&#039; SELECT COUNT(*) as num from keywords WHERE campaignId=&#039;12&#039; AND LCASE(keyword)=&#039;hello again \u00e6\u02dc\u201d \u00e3\u2039\u00e3\u201a\u2030 \u00e3\u201a\u00e3\u201a\u2039 \u00e5 \u00b4\u00e6\u2030\u20ac<\/code><\/pre><\/div>\n\n\n\n<p>We immediately understand that there is a database language problem.<\/p>\n\n\n\n<p>For the application:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-sql\" data-lang=\"SQL\"><code>SET collation_connection = &#039;utf8_general_ci&#039;<\/code><\/pre><\/div>\n\n\n\n<p>immediately after his residence;<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-sql\" data-lang=\"SQL\"><code>ALTER DATABASE db CHARACTER SET utf8 COLLATE utf8_general_ci ALTER TABLE table CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci<\/code><\/pre><\/div>\n\n\n\n<p>Your redirect is sufficient for MYSQL editing. Please do not neglect to use your own information at the points that write DB and Table, otherwise it will give an error as an empty loop.<\/p>","protected":false},"excerpt":{"rendered":"<p>We are happy to write to you with questions and solutions regarding MYSQL, PHP and HTML terms.<\/p>","protected":false},"author":1,"featured_media":4284,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[360,356,357,359,358,361,363,364,367,366,365,362],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.margarit.com.tr\/en\/wp-json\/wp\/v2\/posts\/4514"}],"collection":[{"href":"https:\/\/www.margarit.com.tr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.margarit.com.tr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.margarit.com.tr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.margarit.com.tr\/en\/wp-json\/wp\/v2\/comments?post=4514"}],"version-history":[{"count":1,"href":"https:\/\/www.margarit.com.tr\/en\/wp-json\/wp\/v2\/posts\/4514\/revisions"}],"predecessor-version":[{"id":4515,"href":"https:\/\/www.margarit.com.tr\/en\/wp-json\/wp\/v2\/posts\/4514\/revisions\/4515"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.margarit.com.tr\/en\/wp-json\/wp\/v2\/media\/4284"}],"wp:attachment":[{"href":"https:\/\/www.margarit.com.tr\/en\/wp-json\/wp\/v2\/media?parent=4514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.margarit.com.tr\/en\/wp-json\/wp\/v2\/categories?post=4514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.margarit.com.tr\/en\/wp-json\/wp\/v2\/tags?post=4514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}