Sunday, May 24, 2020

How do I have to place the quotation marks (php/html)?

Johnnie Pummill: The three dots in the middle of the segment weren't originally there. There was a > closing the tag.

Gregg Hagge: place ? marks and ! points inside the quotation marks if they belong to the quotation itself. ------------------------------- If the person or text you are quoting used a question mark or exclamation point, then you quote it. For example, if you're quoting Shakespeare: "Wherefore art thou Romeo?" --------------------------------------... -place ? marks and ! points outside the quotation marks if they did not belong to the quotation. --------------------------------------... If it's YOU who is using the ? and I, then you do not put them inside the quotation marks. The quo-marks, after all, are to show what the ORIGINAL source said. Let's say that I said something stupid, like "Paris is in England." You might write: Rage, did you really write, "Paris is in England"? (I'm not including the full stop there, also known as a period, as not e! very convention does and it looks better without.....ending with ."? looks clumsy to me.)...Show more

Verena Koop: you need to escape all the double quotation marks it looks like you tried to escape some of them but not all of them

Emeline Albracht: I can explain quotation marks to you. There are two types of quotation marks: single and double. Only difference between them is that double process variables and special characters such as . single only outputs string. to join strings use . (period). to escape strings use you have to escape \ is you want to output the character. Seems you already know this, there is nothing more to know.

Torri Tippey: You should consider using mysql_real_escape_string() ( http://php.net/manual/en/function.mysql-real-escap... ).

No comments:

Post a Comment