Skip to content

reference:Placeholder variables

Aaron Junker edited this page Dec 19, 2020 · 2 revisions

Placeholder variables

What are Placeholder variables?

Placeholder variables are variables that are used for a short time in a PHP document.

They should have a logic name.

Names

  • $sql
    • Contains an sql code.
  • $db_erg
    • The return value of an mysql_query() function.
  • $row[]
    • Database rows.
  • $code
    • HTML code that get outputed.

I need more than one placeholder variable.

Just add a number at the end. Like $code3.

Clone this wiki locally