therocker Posted December 17, 2013 Share Posted December 17, 2013 (edited) I'm not really sure were this belongs because I don't really know which part of my script is causing the problem. So I have screen printed my issue. I think screen printing and showing you guys what my problems are is a great idea rather then me trying to explain myself. Pictures show more than words. But anyways. My main problem is that I want to insert the data "privacy=everyone" into it's own separate column, but also take the "privacy" out and insert into the column with the data "everyone". This is what I got so far. This is my issue I have on a live page. I cropped everything out except the issue. Here is my PHP code. Here is my Jquery code. And here is my MySQL data. My ideal MySQL data would look something like this. If I forgot something, I'll edit this post. EDIT: I should also mention that some of the PHP codes are whiten out in case of coping. The status and category are suppose to be one, but I had whiten out the other codes so the category and status looks like they're not aligned, but they are in my real code. Edited December 17, 2013 by therocker Quote Link to comment Share on other sites More sharing options...
Solution mac_gyver Posted December 17, 2013 Solution Share Posted December 17, 2013 your data: parameter needs to be two separate keys/values, not just one string for the first parameter. i would copy/paste your code showing how, but since it's an image, cannot do that. please just post text in the future. it should look like this - data: { name: "John", location: "Boston" } Quote Link to comment Share on other sites More sharing options...
therocker Posted December 17, 2013 Author Share Posted December 17, 2013 your data: parameter needs to be two separate keys/values, not just one string for the first parameter. i would copy/paste your code showing how, but since it's an image, cannot do that. please just post text in the future. it should look like this - data: { name: "John", location: "Boston" } Thanks. It works now. Sorry for using images. I'll use images for the results and text for the codes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.