Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

mysqli

  1. cmcp

    PHP Random Numbers in a Specific Column

    I need to create a random 6-digit number for a column in my website database. I know the rand() function can give me a random number if it's not seeded. The rest is very confusing to me (how to get up the specific numer of digits I need, the range of numbers to work with, set the name of the...
  2. Johna

    PHP Getting content from SQL database with PHP works fine until I add a for loop

    I'm trying to make a dynamic gallery page for a website. This code works fine: <?php $servername = "server"; $username = "username"; $password = "password"; $dbname = "dbname"; $conn = new mysqli($servername, $username, $password, $dbname); if ($conn->connect_error) { die("Connection...
  3. 220061

    JavaScript jqeury why does my array not exist?

    Hello I'm trying to loop through my php array in jqeury but when I do that it days it doesn't exist. this is weird to me because I'm able to use the array to create an variable in jqeury. I need a loop that starts at the first date, and adds 1 day until it reaches the end date. the php code...
Back
Top Bottom