Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

php code

  1. T

    PHP Help with Mysidia Adoptables

    Trying to call imagemagick using this code. The errors are with the appcontroller, myadoptscontroller, and index. I have been talking to someone who also uses the Mysidia Adoptables code and they provided me their code to edit, I edited their code but it is throwing these errors and I’m not well...
  2. rajko

    PHP I dont know why my product isnt showing up in my shoppingcart when i press buy, btw i work with session variables

    this is my idfk.php i have markt the buy button. <?php session_start(); // Initialize the cart session if it hasn't been set if (!isset($_SESSION['cart'])) { $_SESSION['cart'] = array(); } // Check if the product ID is passed via GET request if (isset($_GET['productId'])) { $productId =...
  3. RealImmortal2004

    How can I create an HTML table from a JSON file that includes a working link from a URL input in an HTML form?

    The code below is what I've tried but I can't get it to display an actual html table and have the form be on a different page. <?php $json = file_get_contents('data.json'); $data = json_decode($json, true); $url = $_POST['url']; echo '<table>'; echo...
  4. Z

    PHP How do I get the if statement correct in the lines that has it in the program?

    We are encountering problems in the if statements in the program and cannot run it in the local host in the xampp. if(isset($_POST['submit'])) { $kWh=$_POST['kWh']; $offsetpercent = 0.0; $offset = 0.0; $offsetpercent = $offset / 100; $offsetpercent = $offsetpercent + 1; $size=$kWh /...
  5. medib

    PHP a little help

    hi I have this problem I'm using laravel livewire and I want to paginate a table using JSON data that I got from curl. I wonder if anyone can help. i don't know if it's ok to post the link just to give you an idea of what i want. i dont want to paginate from the database
  6. Johna

    PHP rename() not working to move files

    I have a file called index.php (located in the root folder of the website) which creates a file called cat.php in the root folder of the website. <?php $title = "cat"; $image = "cat_pics"; $desc = "funny cat pictures"; $content = "<?php include '_data/head.php'; ?><title>" . $title . " | Crazy...
  7. A

    PHP Updating multiple records at a time

    Hi I have a code on a site that i need to update . Its quite old. I have to select multiple records and then update the "Type" field in the selections. The records get listed but this <input type=text name=type[] size=25 value=\"$type\"> doesn't get changed. I can't fathom what could be...
  8. C

    PHP Help with displaying search form when sub-category page appears

    Thanks for all the previous help. The web script that I'm trying to modify successfully allows for the ability to search the site by keyword, and filters results by category and by sub-category. I am trying to display a search form when sub-category page appears (as a first step in creating the...
  9. S

    PHP Can Someone help me send this web form to "welcome.php" to my email address [email protected]

    <form action="welcome" method="post" name="form" class="form-box"> <h1>Find Local Landscape Pros</h1> <!-- One "tab" for each step in the form: --> <div class="tab">Name: <p><input placeholder="First name..." oninput="this.className = ''" name="fname"></p> <p><input...
  10. MIke33

    PHP Need help

    HI. Is this easy to make font generators like this https://toolzweb.net/. I know a little bit php if any one help me to make like this so it will be very thankful and i will pay him/her a little bit :x3:.
  11. Stewpid

    PHP Forum Code I Need Help

    Yo I am new to PHP and I hate to pull a code-kitty but does anyone have the code for a basic working forum?
  12. mariag

    hello everyone

    I am a noob at programming but i try some css and php for making my sites. Sometimes I get stuck bad and need help at coding, I googled and this site came up and seemed like a friendly community so decided to join. looking forward to learning more from you all Thank You Maria
  13. Ghost

    PHP Hello World PHP Beginner Tutorial

    I want to share this easy beginner PHP tutorial for how to code Hello World in PHP! It is one of the easiest ways to learn a new programming language because it covers how to start your code block in the PHP file and show text on the page. You can read my full beginner PHP Hello World tutorial...
Back
Top Bottom