MYSQL output into existing HTML template

Orlorkasimloper

New Member
How can I output result into existing html template, using mysql & bashIf I Write \[code\]mysql --host="${VARS[6]}" --database="${VARS[9]}" --user="${VARS[7]}" --password="${VARS[8]}" --execute="SELECT 1 FROM table_name" --html --skip-column-names > $FILE\[/code\]I get the result\[code\]<TABLE BORDER=1><TR><TR><TD>1</TD></TR></TABLE>\[/code\]I want to get\[code\]<TABLE><TR><TR><TD>1</TD></TR></TABLE>\[/code\]How can I re-declare a template so that mysql is the output?
 
Back
Top