Display specific html tag on specific pages Programming Web Development by ianhaneybs …">` and on all other pages I want the code `<section class="testimonal-two">` Below is… the code I have so far and it works for the computer… I'm unsure how to add the homepage into that code, the homepage is called index.php <?php if ($_SERVER… Re: Display specific html tag on specific pages Programming Web Development by ianhaneybs Just got it working with the following code <?php $currentpage = $_SERVER['REQUEST_URI']; if($currentpage=="/" || $currentpage==&… Re: Display specific html tag on specific pages Programming Web Development by Dani … out. Here is a cleaner way of presenting the above code so it doesn't look so messy: <?php // Retrieve… Re: Display specific html tag on specific pages Programming Web Development by ianhaneybs Thank you so much for the code Dani, that does look a lot cleaner and better than what I have Graph of quadratic function with CanvasRenderingContext2D Programming Web Development by alexanderrm2024 ….com/attachments/5/5197dcf8e99654bcb1766ad3cf025fd7.PNG) How can I solve it? Code: <!DOCTYPE html> <html> <head>… Re: App development - Lobby functionality optimisation Programming Mobile Development by toneewa What I like to do is write code, even if it's not working or even correct syntax. … or thought is. Please paint us some sort of pseudo code of your design. Not optimized: class App { function start() { showLoadingScreen… Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani You only need to use htmlspecialchars() if the text appears on a website or an HTML email. I’m not sure if you need it if you’re sending plaintext emails. Re: Graph of quadratic function with CanvasRenderingContext2D Programming Web Development by Dani Have you learned how to graph things? Did your professor teach you about using Canvas yet? Here is a tutorial for getting started: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial This is me venting Community Center Meta DaniWeb by Dani … the current landscape of tech and programming forums, Dream.in.Code went out of business. DevShed went out of business. Cre8asite… recent health challenges). I've made, on average, 700-1000 code check-ins annually for the past ten years. *Of course… HTML Navigation Menu Alignment Issue Programming Web Development by khan zain … the styling seems a bit wonky. I've included the code below. Can anyone help me figure out what's causing… this navigation headache? This my Code <!DOCTYPE html> <html lang=""en… Re: HTML Navigation Menu Alignment Issue Programming Web Development by aundigital … experiencing some trouble with your navigation menu. Based on the code you've provided, here are a few things to check… linked and that there are no errors in the styling code that could be affecting the alignment and appearance of the… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner … semi-colon at end of line 18 (in previously discussed code) did not work and funny thing is, the original coding… after the PHP) was. So I started adding the new code bit by bit to the original PHP file to see… Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim I checked my code and I only found 2 differences, the first is the … 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS` Otherwise the code you pasted is the same as mine, I also have… Question Answering with YouTube Videos Using RAG in LangChain Programming Computer Science by usmanmalik57 … ado. ## Importing and Installing Required Libraries Before diving into the code, let's set up our environment with the necessary libraries… '30% of Activities Performed by Humans Could Be Automated with AI' Community Center by Johannes C. … of any size or industry. There will be flexible no-code interfaces that allow anyone to build agents tailored to their… HTML Image Embedding Issue Programming Web Development by khan zain … the file path, and it seems correct. Below is the code I'm using. Any insights on why the image isn… Re: Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Read a Book But i am generating the JSON code dynamically. If there is no video than i hide the VideoObject tag with if statement. Should i just remove the `itemscope itemtype="http://schema.org/VideoObject"` Re: Online subission forms not sending emails of submitted info Programming Web Development by Chris_103 It seems like you're experiencing issues with PHP-based email functionality, where submissions are not triggering emails to be sent. Let's dive into the code snippet you provided and see if we can identify any potential issues or improvements. Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner … form emailed successfully. And by changing only 1 line of code, everything worked again normally. Now if John Smith puts johnsmith… Re: sequential file save read option button Programming Software Development by rproffitt … project. Few others can so by not posting the relevant code in the clear with your assessment, you see the issue… Re: sequential file save read option button Programming Software Development by rproffitt …. ZIP file? Too dangerous today. You could have posted the code snippet along with what lines you think the problem is… Re: How Build Html form ? Programming Web Development by Dani I'm not exactly understanding your question. I see you have an HTML form here in this HTML code. What is not working about it? You need to specify the action="#" to be a URL that will process the form. Re: Calling an object from another in PHP using construct Programming Web Development by pritaeas Show some code of how you expect it to work. Re: Calling an object from another in PHP using construct Programming Web Development by Dani I'm not understanding your question. You can definitely create objects within the methods of other classes. As pritaeas says, please post some code so we can understand better. Re: APIs and SDKs in a PHP project Programming Web Development by pritaeas > I am also using PHP procedural programming and I noticed that these SDKs use OOP. > Can someone help me make my first API call using an SDK? Do you understand OOP and can you write code using it? If so, continue to the next step. I'd advise against the other way around. Re: Extract Tabular Data from PDF Images using Hugging Face Table Transformer Programming Computer Science by Harini sri Hi, Thank you so much for the above code. Its giving better results compared to other libraries. I have … Re: how to create a simple elevator simulation? Programming Software Development by trueframe To make a basic elevator simulation, first, identify the floors and the elevator's capacity. Then, use loops and conditionals in programming to mimic its movement. Include buttons for users to call the elevator and select floors. Test thoroughly for accuracy. Re: This is me venting Community Center Meta DaniWeb by Reverend Jim It's hard for me to imagine that all of the pleasure I've gotten out of Daniweb, the challenges, the insights, the friendships since I joined in 2010, are all dependent on the largesse of just one very talented person. I, for one, appreciate all you have done, particularly considering your current health issues. If you feel unappreciated then … Re: This is me venting Community Center Meta DaniWeb by Reverend Jim Also, in non-computing over the years I have heard comments like "if only I hadn't stopped for coffee I would have missed that accident, or several other variations. The thing is you never know what would have happened if you had made different decisions. Certainly making a different decision may have resulted in things being better. Or they … Re: This is me venting Community Center Meta DaniWeb by jkon Dani , yes I also believe that you are responsible for the decline of DaniWeb .... BUUUT that was many years ago. We all foreseen the decline of "forums" back in early 2010's , there were many alternatives of what to do , and I strongly believe that you choose the wrong one. I will not repeat what you did or what you could be done …