EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

Re: How to add pictures on recent post ezportal front page by Botango23
June 30, 2018, 03:38:18 am

Re: How to add pictures on recent post ezportal front page by EzPortal
June 29, 2018, 06:21:42 pm

How to add pictures on recent post ezportal front page by Botango23
June 29, 2018, 04:47:11 pm

Re: Surface ol lite theme release Free! by Higby
June 29, 2018, 07:58:33 am

Re: ezBlock listed as installed by EzPortal
June 06, 2018, 11:18:36 am

Re: ezBlock listed as installed by MamaTea
June 06, 2018, 10:54:41 am

Re: ezBlock listed as installed by MamaTea
June 06, 2018, 10:38:48 am

ezBlock listed as installed by MamaTea
June 06, 2018, 10:31:32 am

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Author Topic: HTML block vs PHP Block  (Read 3051 times)

0 Members and 1 Guest are viewing this topic.

Offline fobnicat

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
HTML block vs PHP Block
« on: September 30, 2014, 10:05:17 pm »
I am attempting to write a block that will allow me to display simple information and images.  I can get the basic information input through < parameter > blocks to display through echo commands but I am having trouble with the images.  Am I missing something really easy? Every time I mix in a bit of HTML to handle the images, I receive "ezBlock unable to run PHP syntax error!"

I apologize for being new at this...

Offline fobnicat

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: HTML block vs PHP Block
« Reply #1 on: September 30, 2014, 10:23:42 pm »
I figured it out.

Forgot the ; and a '

simple stuff...

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1178
  • Karma: 63
Re: HTML block vs PHP Block
« Reply #2 on: September 30, 2014, 10:24:54 pm »
Good to know. Always keep html code in an echo for blocks think it works best that way.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
4786 Views
Last post April 28, 2010, 12:37:29 pm
by Nickhead
12 Replies
6111 Views
Last post July 27, 2010, 02:54:11 pm
by Maxx
0 Replies
3061 Views
Last post November 09, 2010, 10:06:17 pm
by sluggo2u
1 Replies
4915 Views
Last post December 11, 2010, 07:21:34 am
by Guardian
4 Replies
3867 Views
Last post February 06, 2012, 06:30:36 pm
by negative_energy

+-SMF Gallery

Quick Menu








Members Online

23 Guests, 0 Users
Powered by EzPortal