• Resolved smilie1

    (@smilie1)


    From a newbie here and a noob to php, I need some help with coding the below in PHP:

    <style type="text/css">
    .tftable{width:100%;border-width:1px; border-color:#E0A46F; border-collapse:collapse;}
    .tftable th{border:1px solid #E0A46F; padding:20px; text-align:center;}
    .tftable td{border:1px solid #E0A46F; padding:20px;}
    </style>
    
    <table class="tftable" border="1">
    <tr><td><img src="https://www.img.gif"></td><td><img src="https://www.img.gif"></td><td><img src="https://www.img.gif"></td><td><img src="https://www.img.gif"></td></tr>
    <tr><td><img src="https://www.img.gif"></td><td><img src="https://www.img.gif"></td><td><img src="https://www.img.gif"></td><td><img src="https://www.img.gif"></td></tr>
    <table>

    I’m somewhat familiar with Javascript and CSS and most of the sites I either belong to or have had my own, are using javascript coding.

    Yes I have been all over the net viewing wordpress youtube tutorials, reading and testing a few php codes https://writecodeonline.com/php/ to see if they would process. Some did, some did not. The above code did work using PHP to HTML and tried that within a page of mine and it worked there okay, but when I viewed source, the entire code w/imaes was showing.

    Right now, I have 15 page titles with the above example codes (html / css) in them, but really want to see if the above example codes can be done with PHP and having each page load with different images in place.

    I did try this plugin https://www.ads-software.com/plugins/websimon-tables/ and it performed great, but it also shows when viewing the source, the entire code w/imaes was showing.

    Any and all assistance is appreciated!

    smilie1

    [Moderator Note: Please ensure that you are embedding links correctly in your posts. Links corrected.]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need some help with PHP coding’ is closed to new replies.