Redircting to a page in PHP
How to fix "Headers already sent" error in PHP
Overflow to left instead of right I have a div with overflow:hidden, inside which I show a phone number as the user types it. The text inside the div is aligned to right and incoming characters are added to right as the text grows to left.  But once the text is big enough not to fit in the div, last characters of the number is automatically cropped and the user cannot see the new characters she types.  What I want to do is crop the left characters, like the div is showing the rightmost of its content and overflowing to the left side. How can I create this effect? Editing Subject in new Gmail For , the answer given on 7 Feb about how to edit the subject line in the new format of Gmail does not work for me.   There is no box on the left with a down arrow to options to reply, forward or edit subject in my version. There is a book on the right offering options to    Reply Reply to all Forward Filter message Print Delete Report spam Report phising Show original Message text garbled Translate message Mark answered    But, no option to edit subject How should I phrase an important question that I need to ask a professor? To prove that $(\mathbb{P(N)},d)$ is a metric space To prove that $(\mathbb{P(N)},d)$ is a metric space where $\mathbb{P(N)}$ is the power set of $\mathbb{N}$.  And $d:\mathbb{P(N)}\times \mathbb{P(N)} \mapsto\mathbb{R}$ is defined by $d(A,B)=\begin{cases} 0, &amp; \text{if A} \Delta \text{B=}\emptyset  \\ m^{-1}, &amp; \text{where m is the smallest member of} A\Delta B \end{cases} $.   Attempt: $x \in P\Delta Q=(P-Q)\cup(Q-P) \implies x\in (P-Q) \text{ or } x\in (Q-P) $. But $(P-Q)\cap(Q-P)= \emptyset \implies x \in P \text{ and} \notin Q \text{ or }x \in Q \text{ and} \notin P. \ \ \ $    (*)  To prove the triangle inequality:  Take any three sets $A,B,C \subset \mathbb{P(N)}$ such that none of them are equal to another. Now,  $\min A \Delta B  =m_1, \min B \Delta C  =m_2,  \min A \Delta C  =m_3   $. To prove $d(A,B) \leq d(A,C)+ d(B,C)$. By (*), $m_1 \in A$ or $m_1 \in B$ but not both.   Again,  $m_2 \leq m_1$  or $m_3 \leq m_1$. Either way, we are done. When $A \neq B$ and either $B =C $ or $A=C$ (not both), we have respectively $A=C$ , $B=C$ . Which satisfies the triangle inequality. When $A=B$ it is evident.   Symmetry: We know $A \Delta B =B \Delta A$. $d(A,B)= d(B,A)$  Non-negativity and $0 \iff A=B$:   $d(A,B)=0 \iff A \Delta B= \emptyset \iff A \subset B \text{ and } B \subset A \iff A=B$. By definition $d(A,B) \geq 0$  Is this okay? Please verify. How do I use the 'scientific' mode in the Calculator? "May I go to the bathroom?" and "I asked if I might go to the bathroom."   The modal auxiliary 'may/might' is used to ask permission.     "He may not have understood your question." and "He might not have understood your question."   The same modal auxiliary is used for uncertainty.  Why? Suppose a book consists of three sections:     The book is/was divided into three sections.   I am thinking the past tense option "was" should be used, because the act of dividing the book into three sections happened at the time of writing. Is my analysis good? When users create a node, they should be redirected to a payment page; if payment is successful, the user can see the node.  Is there any way to achieve this? If I have a Xaml Window, how does one open it as a child window, and then have the parent window wait for the child to close before the parent window continues executing? wireless network adapter supported on ubuntu? What does "can only heal so much" mean in this sentence? I found the following sentence in an American novel (this one:  you can read the whole paragraph). A woman broke her wrist and just had her cast removed. She thinks she can start playing piano again, but her wrist still hurts too much. I'm not sure I understand the meaning of the final sentence:  But a body can only heal so much, so fast.  Can someone help me, please? How should I determine whether a deck is legal in a particular format? I have a list of cards for a deck I want to build or buy. What should I do to check whether that deck is legal in a particular format (Standard, for example)? 16.04 Upgrade: Failed to fetch Empty files can't be valid archives The Order of Modification in English Nouns, Preceding or Succeeding? As I don't know the exact linguistic terms, what I mean my "preceding" and "succeeding" in modifying nouns is as follows.  Preceding : delicious food, long way, kind person, et cetera Succeeding : faculty of science, land of despair, a book that changed my mind, et cetera  English seems to accept both ways of modification.  Sometimes, either way will not make a difference. department of science == science department a burning book == a book burning  At other times, changing the order will still make sense but be somewhat awkward or bizarre. Kentucky Fried Chicken ?= Chicken Fried in Kentucky free as in free speech ?= as-in-free-speech free  When writing English, I tend to use more the preceding modification style because my native language Korean is quite strictly precedingly modifying. "빠른 판단을 바탕으로 한 재치있는 응수" directly translates to "a quick-decision-based clever response" rather than "a clever response based on a quick decision"  French as well as other Latin-originated languages seems to be succeedingly modifying. Académie Française, Poulet Frit du Kentucky  while German and Dutch more often use preceding modification.  Well, this mixture in English allows rich style with various ways of expression, but it does often make a non-native English speaker be a little confused. Is there any subtle but general difference between these 2 ways? Or is it just simply case-by-case. Any guidance will help. Restoring MySQL database from physical files Is it possible to restore a MySQL database from the physical database files. I have a directory that has the following file types:  client.frm client.MYD client.MYI    but for about 20 more tables.  I usually use mysqldump or a similar tool to get everything in 1 SQL file so what is the way to deal with these types of files? Inserting the value from Datetime field form I have a form where the user can input datetime and then I want to store it in the database. Here's my schema :     'start' => array(           'type' => 'varchar', 'mysql_type' => 'datetime',           'not null' => FALSE,         ),   The form :     $form['add']['start'] = array(         '#type' => 'datetime',   '#default_value' => $date,       );   When I hit submit button, it shows me :     db_insert failed. Message = SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value:...   What I got out of it was that the DateTime in Drupal is incompatible with MySQL's. Any suggestions or how should I process the value from the form so I can insert it into the db?  Alternatively, any way to convert DrupalDatetime into string?  (For what it's worth I also tried 'timestamp' as the MySQL type but it throws me the same error). What sci-fi work first showed a weapon of galactic-scale mass destruction? Currently, I have two examples in my mind:   Halo (Halo video game series; 2001): Can destroy all sentient life within three galactic radii The Moment/ Eye of Discord/ Galaxy Eater (Doctor Who (2005) TV series; 2013): Can destroy entire galaxy within a moment   What sci-fi work first showed a weapon of galactic-scale mass destruction? "Nikki's and Alice's X" vs. "Nikki and Alice's X" Which option is grammatical?        There will be readings from Nikki Giovanni’s and Alice Walker’s writings.   There will be readings from Nikki Giovanni and Alice Walker's writings.      Saying it out loud the latter sounds right, but looking at it the former looks better. Suppose we have a sample of size n= 9, where the sum equals 27, and the sum of the squaredvalues equals 113. Sample mean is 27/9=3 and mean of squared values is 113/9 = 12.56 Can we then say that the sample variance $S^2 = E(\overline X^2) - E(\overline X)^2 = 12.55 - 9 = 3.56$ ? Is the Discrete Topology on $X$ the Only One Containing All Infinite Subsets of $X$? Prove or find counterexamples.  Let $X$ be an infinite set and $T$ be a topology on $X$. If $T$ contains every infinite subset of $X$, then $T$ is the discrete topology.