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

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Re: Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 02:09:24 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:55:53 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 01:47:42 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:34:07 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 12:20:17 pm

+- HTML Menu


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

Recent Topics ezBlock

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Where is the facebook button color? by EzPortal
February 28, 2023, 06:45:09 pm

Display on Mobile - SMF 2.1.3 and EZ 5.5.2 by BugginIn
December 29, 2022, 04:07:13 pm

Blocks Help by Riggs1973
November 20, 2022, 12:59:30 pm

Surface ol lite theme release Free! by Steffen K.
November 18, 2022, 03:57:24 am

Undefined index: href by EzPortal
October 04, 2022, 08:49:59 pm

SMF-ezportal_column_5.cache): failed to open stream: No such file or directory by EzPortal
June 04, 2022, 11:40:13 am

Arcade block error: failed to open stream: No such file or directory by Shades
May 20, 2022, 02:47:13 pm

Author Topic: php block issue  (Read 7801 times)

0 Members and 1 Guest are viewing this topic.

Offline kinin

  • Posts: 6
  • Karma: 0
php block issue
« on: August 15, 2009, 02:08:32 am »
I need to place an apostrophe in text within the php block.

When I use the ' character, IE users see the coded value and not the ' as intended. It is shown properly in firefox.

When I use the \' , I recieve a php parse error. I am able to get past the parse error by doing \\'

However each time I open the block for edit the leading \ is stripped.

Is there something I am missing or is there an issue with the parse stripping the "\".

I am able to work around it for now, as I am the only one editing these blocks, but I don't want to be that person forever

If any additional information is needed, please let me know.

Offline kinin

  • Posts: 6
  • Karma: 0
Re: php block issue
« Reply #1 on: August 16, 2009, 09:14:09 am »
I was able to locate a solution.

By using ' instead of ' IE displays the ' correctly.

Hopefully this helps someone else who runs into a similiar issue.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
6968 Views
Last post February 15, 2009, 08:16:13 pm
by EzPortal
11 Replies
15314 Views
Last post June 27, 2010, 10:08:14 am
by Goad
0 Replies
5042 Views
Last post November 09, 2010, 10:06:17 pm
by sluggo2u
0 Replies
38730 Views
Last post October 28, 2011, 02:30:25 pm
by Don Houston
1 Replies
14927 Views
Last post January 07, 2020, 08:21:08 am
by EzPortal

+-SMF Gallery

Quick Menu


Powered by EzPortal