Jump to content

IP PAges php

Featured Replies

Posted

how does one display php using ip pages 

 

Can you be more specific about where/how exactly you want to use PHP in Pages?

In templates, it works like this:

 

  • Author

Create new page in pages and create a php script 

  • Author
Tried posting code
  • Author

What I'm trying to accomplish is a html form that when submitted runs a SQL query and searches a table I created

Returns a list of results I have code but it wont run in ip pages for some reason

Have you done it?
I tried echoing a word by wrapping it with 2 curly braces on each end, and it did show but shows some errors.

{{ echo "test"; }}

Have you done it?
I tried echoing a word by wrapping it with 2 curly braces on each end, and it did show but shows some errors.

{{ echo "test"; }}

Don’t do that. ;-) That’s not how templates work. See the link to the documentation I posted above. 

A Hello World example should look like this:

{{ $myvariable="Hello World!"; }}
{$myvariable}

 

  • Author

How would one connect to a table I made and display rows 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.