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

ezPortal 4.5 Released! by EzPortal
March 30, 2019, 09:10:23 pm

Re: ezPortal 4.1 Released by EzPortal
February 11, 2019, 10:07:05 pm

Re: ezPortal 4.1 Released by EzPortal
February 10, 2019, 09:24:08 pm

Re: ezPortal 4.1 Released by arslun
February 10, 2019, 09:21:20 pm

Re: ezBlock listed as installed by EzPortal
January 30, 2019, 09:49:33 am

Re: ezBlock listed as installed by Trower
January 30, 2019, 06:48:34 am

Re: How to change Forum text for link by Mont
January 14, 2019, 01:06:10 am

Re: How to change Forum text for link by EzPortal
January 13, 2019, 01:46:23 pm

+- HTML Menu


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

Author Topic: HTML block vs PHP Block  (Read 3388 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: 1197
  • Karma: 66
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
5094 Views
Last post April 28, 2010, 12:37:29 pm
by Nickhead
12 Replies
6505 Views
Last post July 27, 2010, 02:54:11 pm
by Maxx
0 Replies
3232 Views
Last post November 09, 2010, 10:06:17 pm
by sluggo2u
1 Replies
5174 Views
Last post December 11, 2010, 07:21:34 am
by Guardian
4 Replies
4129 Views
Last post February 06, 2012, 06:30:36 pm
by negative_energy

+-SMF Gallery

Quick Menu








Members Online

13 Guests, 0 Users
Powered by EzPortal