RE: [PHP] Parsing database variables



[snip]
I have a database table with this in it:


<p>$name<p>
Period Ending Date: $ppe<p>
Etc.......


And in my script, these variables exist and have values. Is there a way
for
me to get the output from mysql_query to use the current script
variables in
place of the same variable name within the database output?
[/snip]

a. Bad HTML, always use a closing tag like </p>
b. Check http://www.php.net/eval
.



Relevant Pages

  • Re: [PHP] Parsing database variables
    ... The database fields are about a page each.... ... And in my script, these variables exist and have values. ... place of the same variable name within the database output? ...
    (php.general)
  • Parsing database variables
    ... I have a database table with this in it: ... Period Ending Date: $ppe ... me to get the output from mysql_query to use the current script variables in ... place of the same variable name within the database output? ...
    (php.general)
  • [NEWS] IBM Informix Web DataBlade Local Root by Design
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... that ease development of "intelligent", interactive, Web-enabled database ... person who has access to change the Perl script. ...
    (Securiteam)
  • RE: Need some MySQL query help...
    ... attempting to run the script: ... passed to the database. ... passwd entry to the current database entry. ...
    (perl.dbi.users)
  • Re: Function that returns date of file.
    ... string after the date/time when it is used by itself. ... Is that your entire script? ... I make an IF statement that required the 'equals equals'. ... designed database your job will be all that much harder. ...
    (alt.php)