Display MySQL data in PHP webpage

Completed Posted Sep 23, 2015 Paid on delivery
Completed Paid on delivery

I have a MySQL database that will contain questions for a quiz. It's columns are

Date

Question Number

Question

Answer

I need to have some code written that will pull the 10 questions on a date and display them on a webpage.

So far I have this

===

<h2>Today's questions <span class = "light">(1 point each)</span></h2>

<div class = "questions">

<?php

// SELECT RECORDS WHERE DATE MATCHES THE CURRENT DATE

$result = mysql_query("SELECT * FROM dailyqanda WHERE date=CURRENT_DATE()");

$num=mysql_num_rows($result);

// PRINT THE RESULT

$row = mysql_fetch_assoc($result);

echo "<p><strong>"; echo $row['question-num'];echo ".</strong>&nbsp;";

echo $row['questions'];echo "</p>";

?>

</div><!-- END QUESTIONS -->

===

Urgent job, need completed within 30 minutes

HTML MySQL PHP

Project ID: #8541834

About the project

9 proposals Remote project Active Sep 23, 2015

Awarded to:

Civris

I have created a similar script before so have the experience needed, I can have this done very quickly.

$25 AUD in 1 day
(4 Reviews)
2.3

9 freelancers are bidding on average $25 for this job

verya

Good day! I could certainly give you a hand right away, but will require access to your server and DB. Come chat with me so we can discuss this project - I'm ready to start right away :) I've lowered my bid :)

$23 AUD in 1 day
(40 Reviews)
4.8
rinabuoy13

Hey There, I can do this for you for 1 day. I can ensure the quality for you. Looking forward to hearing from you soon. Regards

$25 AUD in 1 day
(15 Reviews)
4.6
kienngd

Dear sir, please contact me. We will discuss about your requirements. When I understand your requirements I'll do it for you. In your code I see it get all question of the day and show the first question_num and questi More

$30 AUD in 1 day
(21 Reviews)
4.6
webNeat

Hello, I am software engineer. I like solving complex problems and building awesome applications. Let's do this right now

$20 AUD in 1 day
(8 Reviews)
3.8
futurezsolutions

I understood your needs and I can ready to work with you. Thanking You Regards Bhaskar Dhara for FuturezSolutions

$15 AUD in 1 day
(0 Reviews)
0.0
WebDeveloper91

Aucune proposition n'a encore été fournie.

$30 AUD in 1 day
(0 Reviews)
0.0