Search Results

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: ray_broome ; Forum: MySQL and child forums
Forum: MySQL May 7th, 2008
Replies: 10
Views: 2,692
Posted By ray_broome
Hi thanks for all the previous help but i've figured it out.

This is the php/sql query i use now:

php:

$sql .= "\nDELETE FROM images WHERE plant_num = ".$_REQUEST['pid']." AND image_id IN...
Forum: MySQL May 7th, 2008
Replies: 10
Views: 2,692
Posted By ray_broome
nope i get back a result

btw i'm connecting as a user with delete priviliges so it isnt that either

i thought it might be the "\n" in the sql string perhaps but i took it out and still got the...
Forum: MySQL May 7th, 2008
Replies: 10
Views: 2,692
Posted By ray_broome
well the query i showed you is what prints out.

DELETE FROM images WHERE image_id = 803 AND plant_num = 2277 LIMIT 1;
DELETE FROM images WHERE image_id = 804 AND plant_num = 2277 LIMIT 1;
DELETE...
Forum: MySQL May 7th, 2008
Replies: 10
Views: 2,692
Posted By ray_broome
thanks, i tried doin that but still get the same basic error.

Query:

DELETE FROM images WHERE image_id = 803 AND plant_num = 2277 LIMIT 1;
DELETE FROM images WHERE image_id = 804 AND plant_num...
Forum: MySQL May 7th, 2008
Replies: 10
Views: 2,692
Posted By ray_broome
I'm trying to carry out the following delete statements
DELETE FROM images AS i WHERE i.image_id = 803 AND i.plant_num = 2277 LIMIT 1
DELETE FROM images AS i WHERE i.image_id = 804 AND i.plant_num...
Forum: MySQL Nov 14th, 2007
Replies: 1
Views: 1,118
Posted By ray_broome
Ok it looks like i got the crashing problem fixed by reworking my query to:


SELECT
CONCAT_WS(' ',g.genus_name,s.species_name,i.rank,i.infraspecies_name,
conf.auth1,conf.auth2) AS...
Forum: MySQL Nov 13th, 2007
Replies: 1
Views: 1,118
Posted By ray_broome
Hi, I have the following query i'm trying to execute:


SELECT CONCAT_WS(' ', g.genus_name, s.species_name, i.rank, i.infraspecies_name, conf.auth1, conf.auth2 ) AS scientific_name, ...
Forum: MySQL Oct 11th, 2007
Replies: 5
Views: 2,219
Posted By ray_broome
ok i got the data loaded. I was using phpmyadmin's import feature and i was selecting the 'CSV' radio button but i changed it to 'CSV using LOAD DATA' radio button and that worked. I figured...
Forum: MySQL Oct 10th, 2007
Replies: 5
Views: 2,219
Posted By ray_broome
ok cool thanks i'll check them out and/or some other ones possibly
Forum: MySQL Oct 10th, 2007
Replies: 5
Views: 2,219
Posted By ray_broome
hey thanks

i have another quick question tho, in this same table not every entry will have an "infraspecies_id" or "syn_genus_id" (two fields from the table) and i want to set them as NULL in...
Forum: MySQL Oct 8th, 2007
Replies: 5
Views: 2,219
Posted By ray_broome
Ok, i have a database where i'm storing information on plants and in one of the tables is a plants table:

here's the first few fields in the table plants:

plant_id, family_id, genus_id,...
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC