-4
votes
1answer
23 views

never ending syntax error in sql + mysql [closed]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Frequency', 'Cache', 'L2 Cache', 'L3 Cache', 'Cores', 'TDP', ...
0
votes
1answer
14 views

Trying to display @mentions for a user but my query is spitting out an error

I'm trying to display @mentions for my currently logged in user but I'm getting a syntax error and I don't know what it is. My database is mysql and my query currently looks like this: $sql = "SELECT ...
1
vote
1answer
36 views

Javascript Isn't Getting User's Profile Name And ID

I'm making an AJAX/JavaScript comment function on each user's wall. The PHP I'm using to get the user's info from the database is this: $fetchstats = (int)strip_tags(rawurldecode($_GET['id'])); if ...
0
votes
1answer
34 views

How to search my database using php

(Q) I have a web page that contains forms, and I want to be able to use the information that the user insert in these forms (after submitting) in order to run a SQL query and search the databese using ...
-5
votes
1answer
29 views

inserting image in database using php

I have problem with my code which is to insert image in the database using php the code worked great but when I connect it to the database I start to get an error. upload_image.php <html> ...
-1
votes
1answer
25 views

Redirect to php page after insert data in mysql [duplicate]

I want to redirect my form to a php page after submit and after data of the form have been inserted (in a correct way) in my database. I use action="insert-data.php" to insert data but I want to ...
0
votes
2answers
16 views

Storage - Logic/Performance - PHP/MySQL

Okay, here's a standard users table; Full Name | Birthday | E-Mail | Username | Password | Facebook | MySpace | Twitter | LinkedIn Nothing unusual about this, it's fairly standard and text book. ...
0
votes
1answer
32 views

SQL - Sort a row in table using PHP

I have an admin control panel where I add my images. And the images are "transfered" to the table ' backgrounds '. What I want to do is to sort a row in the table so the website would show different ...
0
votes
4answers
37 views

display only the columns that contains data

I have a database that have 35 columns and some of those columns are empty and I've already made the page and the query to retrieve the data from the data base but the problem is All the data ...
0
votes
1answer
20 views

load Database function doesn't return Codelgniter mysql

I can't connect to mysql database whatever I use $autoload['libraries'] = array('database'); or $this->load->database(); function hangs and never returns here is my database ...
-2
votes
0answers
11 views

Storing data from facebook php sdk to Database [closed]

I have a quick question, is it safe to store data directly in php from $user_profile variables? for example using $user_profile['id'] in a MySQL query. Example: I'm making a button that will sync ...
0
votes
0answers
13 views

Blueimp jQuery File Upload show images from database

I am using the Blueimp jQuery File Upload I did some changes that let you to save in DB image category. I want to have an option in the script that let you sort image by category. For that I need to ...
-4
votes
1answer
36 views

Displaying specific data from database [closed]

I have a database that contains data and I want to display it, but I want this database have table rows which contains "0" and "#" and I want to display all the data but "0" and "#"; I'm asking if ...
0
votes
1answer
15 views

Error backup sql database but succeed creating database dump file

I tried this following code to backup mysql database into file and it works perfectly create the .sql file I need. function backup_tables() { $host='localhost'; $user='root'; $pass=''; ...
0
votes
2answers
31 views

PHP database connection not displaying

I created a db connection and now I am trying print_r the results just to get started....I do not know what I am doing wrong here below... $mysqli = new mysqli("localhost", "UserName", "Password", ...

1 2 3 4 5 509
15 30 50 per page