
Get SQL database values
- or -
Post a project like this5045
£15/hr(approx. $20/hr)
- Posted:
- Proposals: 1
- Remote
- #166291
- Awarded
Description
Experience Level: Intermediate
We're currently developing a new site for a client - a Church. We're building the whole project on a Wordpress platform, and using the Sermon Browser plugin to manage their audio files.
The church has multiple versions of each sermon recorded (it's preached to three congregations every Sunday) and I need to colour code the output.
I've added a 'congregation_id' column to the table of uploaded files, and set the upload form to set each file to have a congregation value of 1,2,3 or 4.
In the function that presents the sermon recordings, I need to extract the congregation_id of the file from the files table, and output it as a variable, so we can set it as a class and style each version differently.
In the attached screenshot on line 662, you'll see I've tried setting the value of $congregation_id using a REQUEST function, which doesn't work. I need a couple of lines of code that will extract the congregation value from the table (called sb_stuff) and tie it to a variable for the file.
The church has multiple versions of each sermon recorded (it's preached to three congregations every Sunday) and I need to colour code the output.
I've added a 'congregation_id' column to the table of uploaded files, and set the upload form to set each file to have a congregation value of 1,2,3 or 4.
In the function that presents the sermon recordings, I need to extract the congregation_id of the file from the files table, and output it as a variable, so we can set it as a class and style each version differently.
In the attached screenshot on line 662, you'll see I've tried setting the value of $congregation_id using a REQUEST function, which doesn't work. I need a couple of lines of code that will extract the congregation value from the table (called sb_stuff) and tie it to a variable for the file.
David H.
100% (17)Projects Completed
20
Freelancers worked with
16
Projects awarded
43%
Last project
14 May 2018
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies