I need help fixing my website
- or -
Post a project like this3434
$25/hr
- Posted:
- Proposals: 3
- Remote
- #607710
- Completed
Description
Experience Level: Intermediate
Estimated project duration: 1 day or less
My data isn't posting to the database again. I'm not sure why. I also need to get data from the database
Im using the code "
var request = function() {
$.ajax({
url: 'inc/everything.php',
type: "POST",
// dataType: "json",
success: function (data) {
$.each(data, function (i, element) {
if ($.inArray('beef', 0) !== -1) {
$('#oriental').append(data[1]);
}
});
}
});"
i want the code to search through all of that data and check if each array has a certain element and if it does print out the first element in the array into a box i have on my website.
Im using the code "
var request = function() {
$.ajax({
url: 'inc/everything.php',
type: "POST",
// dataType: "json",
success: function (data) {
$.each(data, function (i, element) {
if ($.inArray('beef', 0) !== -1) {
$('#oriental').append(data[1]);
}
});
}
});"
i want the code to search through all of that data and check if each array has a certain element and if it does print out the first element in the array into a box i have on my website.
Trisha D.
100% (1)Projects Completed
2
Freelancers worked with
1
Projects awarded
40%
Last project
2 Nov 2014
United States
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