• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

I need help converting html to php

ratkod

Member
May 2, 2022
64
21
8
I need to convert my html/css ticket for pdf printing into php and match it with theme functions like: This (this is original template file).

And here is my custom html/css file My HTML/CSS
For example: Movie name is "Naziv:" in my html

Is there easy way to do this, I have very little knowledge of php.
 
Last edited:
I need to convert my html/css ticket for pdf printing into php and match it with theme functions like: This (this is original template file).

And here is my custom html/css file My HTML/CSS
For example: Movie name is "Naziv:" in my html

Is there easy way to do this, I have very little knowledge of php.
You should be more specific about what platform you're using .....
I am guessing you are using WordPress and I see you already have some plugin that has html markup for tickets.

1. What plugin are you using for that template code ? Or is it a functions.php snippet ?
2. Where do you use that initial template you showed the code for ?
3. Why do you need to code it ? Have you looked for other plugins that could help ?
4. What is the user story and the exact flow of what you are trying to do ? Depending on this, your solution might be different....
 
  • Like
Reactions: ratkod
I need to convert my html/css ticket for pdf printing into php and match it with theme functions like: This (this is original template file).

And here is my custom html/css file My HTML/CSS
For example: Movie name is "Naziv:" in my html

Is there easy way to do this, I have very little knowledge of php.
suggestion: don't write inline css/js . Also if tis for wordpress you can use acf fields to make your html template dynamic. You can get more info on web
 
  • Like
Reactions: ratkod

Latest posts

Forum statistics

Threads
79,454
Messages
1,142,796
Members
248,417
Latest member
Chrozic
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock