Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


PHP echo everything including brackets and quotes


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
PHP echo everything including brackets and quotes

How can I print exactly what I want in between my quotes? I have xml that I want to echo exactly and it is not printing out the brackets and gets hung up at the "<?" and all that. Is there a way I can just say echo exactly between these quotes?
# 3  
I fixed the issue by putting that it was an xml file in the header and was able to write it out into the xml file perfectly.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Replace comma which is not inside brackets,quotes or paranthesis
preethy
Hi All, I want to replace the commas which are not inside parenthesis,quotes if input is abc,,lm,(no,pq,rs),{tu,vw,xy},zs,"as,as,fr",'ab,cd,ef' output should be abc lm (no,pq,rs) {tu,vw,xy} zs "as,as,fr" 'ab,cd,ef' I tried this str.replaceAll("\\(.*?\\)|(,)", " "); say my string...... Programming
3
Programming
How to substitute a varible in script having value including quotes?
matrix001
Hi All, We need to run a Connect direct script on Unix server to send a file to Mainframe server and at mainframe end there need to run another job through Runtask with some parameters need to be passed from C:D (unix) to mainframe. My question is I have to pass parameters like DSN and FNAME as...... Shell Programming and Scripting
2
Shell Programming and Scripting
How to echo Brackets from a file
zeahr
I'm a beginner of c shell scripting. How I can echo a whole line from a file with bracket in it? Ex. Inside the file.txt abcd efghi This is what inside the c shell set IN_FILE = file.txt set GREP_KEY = 'abcd' set IN_LINE = `grep ${GREP_KEY} ${IN_FILE}` echo $IN_LINE After...... Shell Programming and Scripting
7
Shell Programming and Scripting
echo is striping mah quotes
s_becker
As the title says, echo is striping my quotes and I need them. echo "<?xml version="1.0" encoding="ISO-8859-1"?>" returns: <?xml version=1.0 encoding=ISO-8859-1?> Obviously, echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>" returns the result I need: <?xml version="1.0"...... Shell Programming and Scripting
3
Shell Programming and Scripting
echo using single quotes
chella
Hi, Please help me to echo the following statement using single quotes Why can't I write 's between single quotes Thanks in advance, Chella... Shell Programming and Scripting
3
Shell Programming and Scripting

Featured Tech Videos