PHP - Some special character is appearing as question mark�  while displaying.  I have added the utf-8 encoding for both html and php but its not working       &lt;!DOCTYPE html&gt;     &lt;head&gt;     &lt;meta http-equiv="Content-Type" content="text/html;charset=UTF-8"&gt;     &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;     &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;     &lt;/head&gt;     &lt;body&gt;      &lt;?php       require_once 'db_connect.php';      header('Content-Type: text/html; charset=utf-8');     $output = '';        $connect = mysqli_connect("localhost", "root", "", "appsrx1a_skyfler");       $query = "SELECT * FROM candidate_tabletest where id =      '".$_POST["member_id"]."'";    $result = mysqli_query($connect, $query);      ?&gt;     &lt;table class="table table-bordered "&gt;          &lt;?php     while($row = mysqli_fetch_array($result))     {                  &lt;tr&gt;                    &lt;td&gt;&lt;label&gt;Address&lt;/label&gt;&lt;/td&gt;                    &lt;td&gt;&lt;?php echo $row["address"];?&gt;&lt;/td&gt;               &lt;/tr&gt;                    &lt;/table&gt;      &lt;?php             }   ?&gt;    &lt;/div&gt;     &lt;/body&gt;   &lt;/html&gt;   In database the content of Address field is :- "H.No 2 – D, L.C.H, SAIDABADCOLONY, HYDERABAD – 59"  but in when it echoes the address it shows :- "H.No 2 � D, L.C.H, SAIDABADCOLONY, HYDERABAD � 59."  I have made some research but i have added the meta tag for utf which were mentioned in many documentation . What might be the solution for this ?
I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.
Find the infinite sum $\sum_{k=1}^{\infty}\sqrt k - 2\sqrt {k + 1} + \sqrt {k + 2} $ I am facing a problem, where I have to find the partial sum of a sequence/sum and with that, the infinite sum of the sequence.  $\sum_{k=1}^{\infty}\sqrt k - 2\sqrt {k + 1} + \sqrt {k + 2} $   The problem here is that I don't know how to proceed. I would be thankful if someone would steer me in the right direction. Code in beamer presentation Good day! So, I need to present my disertation code to my thesis advisors, but I'm quite unsure how to actually do it in a proper way. I found  showing some ideas.  Is there a way of making the slides 48-67 in beamer without using tikz? Any ideas to implement the whole ideas the author propose?  Thanks in advance. Approximate order statistics for normal random variables I've always managed my iPhone/iPad/iPod Manually, I recently updated to iTunes 11 and now I can see no way to get my music onto my device.  I used to be able to just drag songs from my library to my device, now there is seemingly no way to do this.  I can view the music on my device by clicking on it on the top right corner of iTunes, but I can't seem to get to a state where I can drag music from my computer onto my device.  I'm using iTunes 11.0.1.12 for Windows if that makes a difference. a 2d planet in the center, where the players will be able to walk on it and also will be affected by center gravity. planet will be static and there won't be any other planets. so;  Is there a way that I can change the gravity position? yes you can adjust gravity via project settings but I want it to be in the middle x,y,z(0,0,0)  I have tried creating my own gravity but it wasn't very useful because objects wouldnt fall, stand on foot and also in contact with another object they would vibrate instead of standing still. (if they stand on the planet they would vibrate)          private void FixedUpdate() {     foreach(GameObject item in grav)     {         Attact(item);     } }  private void Attact(GameObject gmf) {     Rigidbody2D rgg = gmf.GetComponent&lt;Rigidbody2D&gt;();      Vector3 direction = rg2d.position - rgg.position;     float distance = direction.sqrMagnitude;      float forceMag = (10 * rgg.mass) / distance;     Vector3 force = direction.normalized * forceMag * 10;      rgg.AddForce(force); }   I can create a script that will change the gravity by the opposite of the object's position. this does work but I cannot see any way to do it for more than one object. Is there a way to select the children of a parent object? If $f:\mathbb R \to \mathbb R$ satisfies $f'(x) <L$ for some $L<1$, then $f$ has a unique fixed point Assume that $f: \mathbb{R} \rightarrow \mathbb{R}$  is differentiable.  If there exists an $L&lt;1$ such that for each $x \in \mathbb{R}$, $f'(x)&lt;L$, prove that there exists a unique point $x$ such that $f(x)=x$.  So far I have that where I fixed $a$ to be zero and came up with three cases to show existence for  $f(0) = 0$, $f(0) &lt; 0$, and $f(0) &gt; 0$  $f(0)=0$ was fairly trivial following from the mean value theorem but the other two cases I was only able to eliminate half of the possible fixed points by contradiction and I need help showing it explicitly.  Edit as to avoid confusion here is the work I have garnished so far:  From the mean value theorem it follows for some arbitrary $a,b \in \mathbb{R}$ and $a\neq b$ that there exists a point $c$ such that $a&lt;c&lt;b$ or $b&lt;c&lt;a$ then implies that $\frac{f(b)-f(a)}{b-a}=f'(c)$ and this is because it is differentiable on $\mathbb{R}$ and, by convention, is also continuous on $\mathbb{R}$ as well.  Then the result of $\dfrac{f(b)-f(a)}{b-a}=f'(c)$ then follows for $L&lt;1$ such that $\forall x \in \mathbb{R}$ means $f'(x)&lt;1$ from our hypothesis. Which then follows  (*) $\dfrac{f(b)-f(a)}{b-a}=f'(c)&lt;L&lt;1 \Rightarrow f(b)-f(a)&lt;L(b-a)&lt;b-a$  Now without loss of generality choose $a=0$ and let $b$ be some arbitrary value in $\mathbb{R}$ then there are three cases that need to be considered for the value of $f(a)$:  (i) $f(0) = 0$, (ii) $f(0) &lt; 0$, (iii) $f(0) &gt; 0$  (i) For $f(0)=0$   Then $0$ is a fixed point of point of $f(x)$ and it follows from (*) that if $f(0)=a=0$ then $f(b)-f(0)=f(b)&lt;Lb&lt;b$ which shows that $f(b)&lt;b$ thus shows that for any arbitrary value $b\in \mathbb{R}$ that no $f(b)=b$ thus shows that $0$ is the only fixed point if $f(0)=0$  (ii) For $f(0)&lt;0$  Suppose there exists a fixed point $d&gt;0$ then:  $\frac{f(d)-f(0)}{d}&lt;L&lt;1 \Rightarrow d-f(0)&lt; dL&lt;d \Rightarrow -f(0)&lt;d(L-1)&lt;0\Rightarrow 0&lt;-d(L-1)&lt;f(0)$ but this contradicts that $f(0)&lt;0$  thus no other fixed point exists if $d&gt;0$ when $f(0)&lt;0$  (iii) For $f(0)&gt;0$ I'm running a witcheling, a changeling witch who, because of a GM's homebrew magic ring, can transform into a .  What effects does this pixie transformation have? Specifically...   Since I'm now Small, do I apply +1 to AC, +1 to attack rolls, –1 to CMB and CMD and +4 to Stealth? Am I able to cast spells while transformed? Do I lose my racial benefits while transformed? Am I still able to use weapons such as staff, longsword, or greatsword? What HTML tags are allowed on Stack Exchange sites? If each suit is represented then we will have two cards from one suit and one card each from the remaining suits. So I am counting the ways this can happen like so -  ${52 \choose 1}$ ways of selecting the first card.  ${12 \choose 1}$ ways of selecting a card from the same suit as the first.  ${13 \choose 1}$ ways of selecting a card for each of the 3 remaining suits.  So I have -  $${52 \choose 1}{12 \choose 1}{13 \choose 1}{13 \choose 1}{13 \choose 1}$$  Then I have the sample space as $52 P 5$ as we are counting with regard to order on the numerator so we need to do the same for the denominator.  So I have $$\frac{{52 \choose 1}{12 \choose 1}{13 \choose 1}{13 \choose 1}{13 \choose 1}}{52P5}$$  Does that look correct? I have 2 monitors connected to a NVIDIA GeForce GTX 660:   Left is 1920x1080 via DVI (Samsung SyncMaster 2443BW) Right is 2560x1440 via DisplayPort and is set to Primary (Samsung SyncMaster SA850)   I often leave my computer running overnight (working on long render job, doing backups, etc) so I only power off my monitors manually. However, if I power off the primary monitor, it is disabled completely as if it were unplugged from the graphics card (i.e. icons are moved, open apps are moved and resized to fit on the new primary monitor). If I switch from DP to a DVI cable, this does not occur. It seems to be an issue when using DisplayPort.  Is there a way to disable the monitor from being disabled completely in Windows when I power it off physically?   I have found no relevant settings in either Windows Display settings, nor the NVIDIA control panel software.  Edit #1: I'm using an .  Edit #2: Here is a screenshot of my NVIDIA Control Panel v7.2.710.0:   Edit #3: Here are screenshots of my Monitor configuration:    Clicking on Advanced settings reveals a Generic PnP monitor running at 59 Hz? 60 Hz is the only other option available.    Here is my secondary monitor which is connected via DVI:    Edit #4: If I open the "Screen Resolution" configuration panel and power the monitor off (via the power switch), this is what is shown:    It looks like I disconnected the monitor from the video card. I have Google Chrome Version 70.0.3538.77 (Official Build) (64-bit).  Today, after running sudo apt update and sudo apt full-upgrade, I saw:  E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC' N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.   I looked at the man page for apt-secure but it's pretty technical and difficult, at least for me, to follow.  So how do I fix this issue?    Edit: for now, I've removed the existing Google Chrome ppa from Software Sources and then ran sudo apt update and sudo apt full-upgrade successfully with the following being installed/upgraded successfully:  The following NEW packages will be installed:   python3-netifaces The following packages will be upgraded:   netplan.io nplan ppp 3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Quotient groups of D10 How do I find the groups D10/N where N is the normal subgroups to D10?  I know that the definition is aN for all a $\in$ D10. But I am unsure what the group, for example, D10/ D10 looks like? Any help would be much appreciated. Evidence for quantum gravity from gravitational waves The rumor spreads that .  I am far from being an experimentalist, but I want to know if there is any chance that the mentioned observations will reveal any experimental evidence for quantum gravity.  Personally, I feel like this is merely impossible as gravitational waves should propagate in agreement with classical General Relativity. But I might very well not see pitfalls if there are any.  UPDATE: by "evidence for quantum gravity" I mean experimental results which don't agree with predictions of General Relativity or its classical generalizations. They might be coming from string theory or loop gravity or from a completely different approach which we haven't discovered yet. I want to understand what are the chances that new physics will show up during the upcoming  gravitational wave observations.  Also, I expect gravitational waves to be in a highly coherent state, thus making the individual gravitons unobservable. Is this true? I have always argued adamantly, as long as the issue has been around, that gift should never be used as a verb. However, someone whose English knowledge I quite respect disagrees.  I’ve done some searching and I haven’t found a consensus; should gifting be shunned? What is the shortcut for opening a new window (opening folders). for that I have to go to folder options and right click and then need to click on open new window.  or I have to make focus on the folder icon or open a folder then press  Ctrl+N  for opening a new window is there any direct command spcific to open a new window in ubuntu. Why use sucrose rather than glucose in an injectable vaccine? These are the ingredients of :  Medicinal:  mRNA  Non-medicinal:  ALC-0315 = ((4-hydroxybutyl)azanediyl)bis(hexane-6,1-diyl)bis(2-hexyldecanoate) ALC-0159 = 2-[(polyethylene glycol)-2000]-N,N-ditetradecylacetamide 1,2-Distearoyl-sn-glycero-3-phosphocholine cholesterol dibasic sodium phosphate dihydrate monobasic potassium phosphate potassium chloride sodium chloride sucrose water for injection   Sucrose is broken up into glucose and fructose by digestion, and so it normally never enters the blood system. Yet here, it is being directly injected into the body. What happens to this sucrose when it enters the blood system, and why choose sucrose rather than the more standard glucose (dextrose)? How to rename objects with python? How to install the latest stable version of Chromium? Accidentally ejected External drive while downloading file, now having problems reading I'm hoping someone can help! I recently downloaded a torrent directly onto an external hard drive, (using a 2009 MacBook Pro and 1TB Seagate Expansion portable Drive) somehow during the download the drive was accidentally ejected, since this incident when I plug the drive back in it’s having problems reading.  The drive works fine for about 10 minutes, I can read/copy/paste and access files but then starts to wreak havoc; apps hangs, it hangs the Finder, etc.  I’ve tried repairing it in Disk Utility, which reads and repairs this disk but problems inevitably continue as described above.  I’ve deleted the Torrent file also. All my files on this external drive so re-formatting is not an option until I can retrieve them.