Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Ralf Herrmann Posted August 13, 2015 Posted August 13, 2015 Can you be more specific about where/how exactly you want to use PHP in Pages? In templates, it works like this:
Pinto Posted August 13, 2015 Author Posted August 13, 2015 Create new page in pages and create a php script
Pinto Posted August 13, 2015 Author Posted August 13, 2015 What I'm trying to accomplish is a html form that when submitted runs a SQL query and searches a table I createdReturns a list of results I have code but it wont run in ip pages for some reason
Edison Tsai Posted August 14, 2015 Posted August 14, 2015 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"; }}
Ralf Herrmann Posted August 14, 2015 Posted August 14, 2015 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}
Pinto Posted August 16, 2015 Author Posted August 16, 2015 How would one connect to a table I made and display rows
Recommended Posts
Archived
This topic is now archived and is closed to further replies.