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: Converting to HTTPS by EzPortal
September 24, 2017, 07:11:26 pm

Converting to HTTPS by Padisha
September 24, 2017, 12:22:45 pm

Re: Mobile Only Blocks by EzPortal
September 23, 2017, 03:15:10 pm

Re: Mobile Only Blocks by morenos
September 23, 2017, 12:04:30 pm

Re: Members online block not displaying. by EzPortal
September 19, 2017, 12:02:55 pm

Re: Members online block not displaying. by Kocsis
September 19, 2017, 12:29:13 am

Re: EZPoll block by Julian
August 17, 2017, 03:43:31 am

Re: EZPoll block by EzPortal
August 16, 2017, 12:37:26 pm

+- HTML Menu


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

Author Topic: HTML block vs PHP Block  (Read 2481 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: 1159
  • 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.

 

Related Topics

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

+-SMF Gallery

Quick Menu








Members Online

19 Guests, 0 Users
Powered by EzPortal