10,940 Topics

Member Avatar for
Member Avatar for SKANK!!!!!

how do i select a row in a table columns i dont know the name of(and find the name of it)? but i know the cell/field of the column has a value of "55" i also have to EXCLUDE ONE COLUMN that i know the name of. does anyone know …

Member Avatar for SKANK!!!!!
0
165
Member Avatar for emhmk1

Good Evening everyone. I work for a marquee firm and i am creating a php mysql components list for the assistance for loading equipment. SO far, the user can input a marquee size (eg: 6mx3m) in a form and we search the database and output the items required for said …

Member Avatar for diafol
1
142
Member Avatar for minimagician

Hello All, Don't know if this is the right place to put this doubt. Help if possible. I have a python file that extracts data from a file and adds the required part to the database. Now MySQL has certain reserved characters, whenever my update query comes across a reserved …

-1
116
Member Avatar for Stefano Mtangoo

Hi all, When you add integer ID primary key auto increment, it automatically makes ID for you. But I was pondering on what happens after deleting a record. Does the server automatically adjust all IDs for you or it remains un assigned? For example, I have inserted as follows +------------+-------------+ …

Member Avatar for Stefano Mtangoo
-1
141
Member Avatar for yorro

I have created a very long code on my app for checking if a record exist then insert. Is it possible for a single SQLString to check if records exist then update or insert? Sorta like [CODE] IF NOT EXISTS (SELECT column1 FROM table WHERE column1 = [COLOR="Red"]'sample1'[/COLOR]) THEN (INSERT …

Member Avatar for yorro
-1
492
Member Avatar for ENetArch

All, Does anyone know if there is a package available to allow PHP programmers to store their PHP Objects / Instances into mySQL, and still allow them to be searchable? ie .. not serialized? Looking forward to your responses, E,

Member Avatar for somedude3488
-1
95
Member Avatar for baki100

can someone help me identify the syntax error with this code [code] CREATE TABLE IF NOT EXISTS Persons ( id_number VARCHAR(13) NOT NULL , name VARCHAR(45) NOT NULL , name_2 VARCHAR(45) NULL , name_3 VARCHAR(45) NULL , surname VARCHAR(45) NOT NULL , date_created DATE , date_modified DATE , PRIMARY KEY …

Member Avatar for baki100
0
144
Member Avatar for mls880

Hi Guys Firstly: Is it possible to import two columns from an excel sheet into two new columns in a mysql database? I would like to import new product codes([COLOR="Green"]prodcode2[/COLOR]) and pricing([COLOR="Green"]prodsupplyprice2[/COLOR]) into these two columns and then set up a query to do the folowing... I need to compare …

Member Avatar for fwdean
0
97
Member Avatar for yorro

MySQL Does not UPDATE second column. [CODE=vb] SQL = "UPDATE sampletable SET column1 = 'C1sample1'" & _ ",column2 ='C2sample1'" & _ "WHERE column2 = 'C2sample1'" [/CODE]

Member Avatar for yorro
-1
96
Member Avatar for =OTS=G-Man

Hello everyone. I have a question here, that to me seems there must be a way to do what I want in the way I want :) I have a thing that updates a Zen Cart DB and adds products to it. Ok everything works the way it is now, …

Member Avatar for kvprajapati
-1
96
Member Avatar for severman

hi all could any 1 help me out. im trying to find the biggest id number in a db. the problem is that the "ID" column is saved as "TEXT"(its important to me). the language im using is PHP. 10x! tried to use this but it didnt work $resultt = …

Member Avatar for severman
0
113
Member Avatar for nadnakinam

hai, i have a database file in mysql file extension, anyone help me how to upload the database to server. Thanks

Member Avatar for CFROG
0
42
Member Avatar for rajeesh_rsn

Hai, I am developing a home appliances website. I had a detail database. Which stored the details of all the items in that shop. The columns are Id number, name, price, type, made, date. When user clicks on the TV menu in the website then the lists of TV in …

Member Avatar for Thirusha
0
124
Member Avatar for MikeGore

I am trying something like this but the syntax is wrong. [code=sql]INSERT INTO bookingsA(task,date) VALUES ('test','2009-01-01') WHERE date != tableB.date;[/code] How do I do this? Do we use :: instead? Mike

Member Avatar for Kruptein
0
49
Member Avatar for MDanz

e.g. i have 4 images... i'm trying to do onclick i swap id's(mysql) with the next onclick(image).. basically just swap id's but its activated by javascript onclick. the javascript part is what i'm having trouble with because you can't write mysql statements in a function.. any help

Member Avatar for Airshow
-1
84
Member Avatar for keira23

Hi there Completely stumped on the simplest of things... Here is my PHP code: [CODE]<?php //includes the connection parameters from external file require_once('connection.php'); // Receive the variables $fname = $_POST['fname']; $lname = $_POST['lname']; $email = $_POST['email']; $ip = gethostbyname($_SERVER['REMOTE_ADDR']); // Establish connection with database $connect = mysql_connect($hostname, $username, $password) or …

Member Avatar for mwasif
0
1K
Member Avatar for andym67

Hi all, Pretty new to PHP and I am trying to get a handle on securing a form fields data. For example, I have a simple form where user enters information into a field called mydata. The field must be able to contain multiple words and basic punctuation. What I …

Member Avatar for ShawnCplus
0
167
Member Avatar for yorro

I received this error whenever I update an int(3) type field. [B]Error: 438 public member close on type integer not found[/B] This is my code [CODE=vb] conn.ConnectionString = "server=localhost;user id=root;password=;database=test" SQL = "UPDATE testTable SET int = 1 WHERE Name= 'Bob'" Try Dim myData With myCommand .Connection = conn .CommandText …

Member Avatar for yorro
0
171
Member Avatar for Altairzq

Hello. I'm using AJAX for all the updates to the web site I'm building and it works very well. But now I face the need to: 1) Upload a file (an image or video) to a folder in the server. 2) Insert a row in MySQL with the name of …

Member Avatar for digital-ether
-1
354
Member Avatar for scias23

i want to relate my tables, but i can't find out how to relate the tables. how?

0
98
Member Avatar for liadmz

Hi All, I'm trying to find a way to display a table to the user using mySQL DB. [better then the DataGrid View] The table should have options to merge cells for related items and to embed buttons in the cells. Thanks for your help.

Member Avatar for liadmz
0
223
Member Avatar for gavola

Hello everyone - first time poster here, long time reader. I have a minor issue that appear to simple to fix - but I've just hit a road block. I would like to create a three way inner join to display all the information I need in one SQL statement. …

Member Avatar for Kruptein
0
797
Member Avatar for nschessnerd

how do you do this? i cant find it anywhere basically my server "starts" but i cant connect to it... i tried mysqld --debug but it makes a .pdb file and idk wat to do with it please help. ive got too much crap stressing me out..

Member Avatar for nschessnerd
0
57
Member Avatar for AliHurworth

Hi all, I have a two-part form intended to replicate the output from a toolbar, with the aim of sending data to a database. So the data is generated by the following code (sim1.php): [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

Member Avatar for cwarn23
0
142
Member Avatar for anuj_sharma

Hey Guys, I want to use mySQL with java and for this purpose i downloaded the mysql-j connector from the mysql website. But i dont know how to poceed forward. Please help..

Member Avatar for Ezzaral
0
93
Member Avatar for rajeesh_rsn

Hai friends, I had a main web site and a number of 15 ( also increasing ) child websites. I had a master database in my main website. Now I need to connect main database from the child websites. I had a code to connect the database from main website …

Member Avatar for rajeesh_rsn
0
160
Member Avatar for chris_j_haines

I am looking for ideas of projects I can do to further develop my PHP and MySQL skills. I did Business IT university and have a good knowledge of PHP and MySQL as I did my dissertation in it. I would like to develop these skills further but I have …

Member Avatar for Stefano Mtangoo
-1
89
Member Avatar for MikeGore

Hi, I am trying to design a website, where we have a table containing the days of the week and hours. The idea is to populate this table by its connection to the database. So two pages: Make appointment: 1. I insert into the database via php website selecting time …

Member Avatar for CFROG
0
87
Member Avatar for lukethedrifter

I know this contains actionscript, but the server side is Java. I am trying to get a red5 server to insert into mysql, but I can't get eclipse to compile this client side code. Could someone tell me if this tutorial is up to date with galileo, the new version …

Member Avatar for lukethedrifter
0
68
Member Avatar for armyguydave69

Okay, I'm a little confused - this code works perfectly fine in mysql; however, in php it keeps repeating the first person for about 15 rows. Can someone point me to what I'm missing here. [code] $queryUsers = "SELECT user_id, zipcode, gender, housing_status, active, username FROM users WHERE user_id != …

Member Avatar for flashyflashy
0
152

The End.