Go Back   Computer Forums > Web Design | Website Development > Web Programming
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 11-15-2010, 03:39 AM   #1
In Runtime
Fabric1601's Avatar
Join Date: Jul 2008
Posts: 186
Send a message via ICQ to Fabric1601
Exclamation I need to put a HTML code into PHP....Help!! :(

Hey guys,

I want to put some HTML inside this PHP code:

$mform->addElement('header', '', get_string('termsandconditions'), '');
As you can see this is just an outline of a box, and i would like to do the formatting within with HTML. I am an advanced user with HTML but am just a beginner with PHP. So any help will be appreciated!


EDIT: Guys i manage to find a way to put the HTML code, but there appears to be a problem - now my text is on top of the LOGO, and i dont want it to be there. Please see the full forum text on the issue i posted in moodle.org (I am really in a bit of hurry to copy everything here as well...)

Fabric1601 is offline   Reply With Quote
Old 11-20-2010, 06:19 PM   #2
In Runtime
hockeygoalie5's Avatar
Join Date: Dec 2009
Location: United States
Posts: 297
Default Re: I need to put a HTML code into PHP....Help!! :(

To clarify, this is the same way you put the fields into the other boxes?
hockeygoalie5 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 01:48 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0