10,940 Topics

Member Avatar for
Member Avatar for bgharper

Hi all. I am having a problem I've not encountered before. When using mysql_fetch_assoc() in while(), I am getting the following error: [INDENT][B]Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in archives.php on line 81[/B][/INDENT] However, when taking it out of the while(), it works fine. The …

Member Avatar for Troy
0
188
Member Avatar for bwest

I am pretty good with mysql but I haven’t done much full text searching. I have this problem though with getting results. I learned how to do the fulltext searching at the mysql.com site. I plugged their exact example into my database with phpmyadmin and everything good. Then when I …

Member Avatar for Troy
0
126
Member Avatar for msteudel

[CODE]#!bin/bash mysql -u user --password=password << eof use mydatabase; SELECT version FROM versions WHERE versionid = 'LIST'; eof[/CODE] I'd like to get the value from the query into a variable. Any ideas how I could do that?

Member Avatar for msteudel
0
131
Member Avatar for 010081

i got this message plz help :: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/baje/public_html/Templates Management/index.php on line 17 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/baje/public_html/Templates Management/index.php on line 19 its like this plz point out session_start(); include_once('common/common.php'); // …

Member Avatar for vark
0
112
Member Avatar for mshavel@optonli

Hello, I'm running 3.25.54 on a linux RedHat server. Here is my scenario and what I'd like to do. I have two databases d1 d2 d1 has some tables in it that I want to be in d2 instead of being in d1. My task is to get some of …

Member Avatar for mshavel@optonli
0
257
Member Avatar for Yuki H.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/user/public_html/im2db/image.php on line 14 This is the error I am getting Here is the code: Image.php Am I supposed to add a exit(); after $result = mysql_query ($sql, $conn); line? [PHP]<?php // database connection $conn = mysql_connect("localhost", "user", …

Member Avatar for val542
0
216
Member Avatar for nephish

Hey there all, i have a question about how to point my python install to my sql database. when i enter this:[CODE] db = MySQLdb.connect(user="user", passwd="pass", db="myDB")[/CODE] i get this: [CODE]Traceback (most recent call last): File "<pyshell#1>", line 1, in -toplevel- db = MySQLdb.connect(user="user", passwd="pass", db="MyDB") File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line 66, …

Member Avatar for nephish
0
147
Member Avatar for bennetjosem

How can i display result of a single cell query? my query is [code]$author=$_POST["authorname"]; $q="Select authorid from authors where AuthorName=$author"; $resultauthor=mysql_query($q,$connect); $num=mysql_num_fields($resultauthor); [B]<<Error coming here![/B] :( mysql_num_fields(): supplied argument is not a valid MySQL result resource in[/code]

Member Avatar for bennetjosem
0
169
Member Avatar for jamesg
Member Avatar for ZR2_S10

Ok, so i created a db, with the help of the MYSQL manual ;) and think i'm on the right track (well, i'm on a track at least). this db is for our members area (car club web site). I put 3 tables in there users auto_info auto_mods all 3 …

Member Avatar for Troy
0
118
Member Avatar for autocrat

Hi folks...... I'm a bit new to this... played with DB's on an off for years...... now getting back to programming and web design, learning to play with all the big boy's toys etc. LOL Yet I must admit that I have fallen for the simplicity of access's ability to …

Member Avatar for Troy
0
967
Member Avatar for khoobl

I would like to create a deployment project for my application. And my application need mysql as database, my deployment package will package the mysql installation. How to use VB.net to check whether mysql had been installed in the client PC and if not install, mysql installation will be initiated …

Member Avatar for cpopham
0
199
Member Avatar for cpopham

I have a general user account which has all of thr rights and priveleges that I wan all of my users to have. Is there an easy way to copy this account to create new users with the same priveleges? Thanks, Chester

Member Avatar for darklordsatan
0
134
Member Avatar for BooGiE_MaN

Hi MySQL Boffs, I have been given resposibility to adminster our my company's website. We use a Content Management System. I would like to add abilities to it such as a Meta Tag & Title field for new pages I create I have started self-teaching myself PHP & MySQL on …

Member Avatar for darklordsatan
0
153
Member Avatar for tomasm

hello everyone.. i'm a newby in mysql but i'm trying hard. So i won't lose a minute, and i'll go straight into the heart of the problem. I have the following mysql dumps: DROP TABLE IF EXISTS location_tree; CREATE TABLE location_tree ( id int(11) NOT NULL auto_increment, pid int(11) NOT …

Member Avatar for tomasm
0
336
Member Avatar for Phaelax

Is there a way I could create a variable that belongs to a table much like a static variable belongs to a class? So it "thing=1, person=2" were variables belonging to the table structure (not each row), then I could do something like this: SELECT * FROM table WHERE type …

Member Avatar for Phaelax
0
150
Member Avatar for Kathrina

Hallo, ich möchte in einer Tabelle die Zahlen einer Spalte nach Grösse sortieren. Das Problem ist, dass das die Zahlen aus bestimmten Gründen Kommazahlen sind, also z.B. 1,3 45,3 etc. Kann mir jemand sagen wie das möglich ist? Ich habe leider nicht so viel Erfahrung in mysql..... Grüsse Kathrina

Member Avatar for Troy
0
437
Member Avatar for cmills83

I am looking to setup a site that searches inventory. Something like AutoTrader (as far as the searching goes). Basically just enter vehicle make, year, etc and the results appear. What language would I write this in? As you already guessed I know nothing about databases, can someone give me …

Member Avatar for Troy
0
180
Member Avatar for cf_guy

I have a dual xeon 2.4 with 2gb ram. My repair has been going for over 14 hours now. Is this normal? It's the post table from vB, so there is lots of data. if it is normal, how much longer do I have to wait? this real sucks. :mad: …

Member Avatar for Troy
0
120
Member Avatar for oracle4me

Hello please help Total php beginner please help i am going crazy my home-page opens finishes loading but with error's on page and my hitcounter does not display on my site but it's still logging my site I looked through my site files and found this error below. Is this …

Member Avatar for Troy
0
230
Member Avatar for dantrujillo

I am getting the following error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/champion/public_html/search.php on line 34 when doing a search for text in a description or product name. The error only happens when I do a search for multiple words. Here is the code: …

Member Avatar for dantrujillo
0
128
Member Avatar for JoesToe

Hello, I am trying to set up the phpbb forums on my site using MySql and I don't understand how to link MY site to the DATABASE. I also can't seem to figure out where my username, password, and the name of my database as I need them for the …

Member Avatar for chizy2
0
266
Member Avatar for ep2002

Hi there all, I'm about to develop a site with a DB backend & I want to know how one goes about doing organic SEO if most of the site is DB driven. There will be some text on the page, but certain things that are pulled from the DB, …

Member Avatar for Stewart
0
40
Member Avatar for paradox814

i want to generate a unique primary key, something similar to the auto increment feature, but i do not want it to be auto increment. The reasoning for this is: this table will have rows deleted by the hundreds every day, and maybe even thousands in a few years (I …

Member Avatar for Troy
0
210
Member Avatar for berimor

Hi guys, can anybody help, plase. Is there an instrument to manage .edb file (as far as i know Oracle's Enterprise DB but under free licence)?

Member Avatar for jwshepherd
0
87
Member Avatar for akkoub

please help me when i run my code by using Mysql_num_rows() Warning: Supplied argument is not a valid MySQL result resource in c:\inetpub\wwwroot\php\connect to database.php on line 13 this is my code <?php /* declar some relevant variables */ $Host = "localhost"; //location of mySQL on server $Table = "books"; …

Member Avatar for Zachery
0
475
Member Avatar for cpopham

Okay, I have been working with MySql for quite a while on Windows and can generally do what I need. I use Navicat to do a lot of the work because it is a lot faster than working it from a prompt. Anyway, I got permission to set up a …

0
85
Member Avatar for skippy1981

Hi guys, Sorry to make my first post so elaborate, I hope to provide help to others soon... :lol: I'm looking at co-locating a web server, the purpose of which will be to host as many small scale websites as possible. Unfortunetely, I have very little knowledge of webserver hardware …

Member Avatar for g0rb4ch3v
0
144
Member Avatar for jeepj27

This is going to sound crazy - but is there any way to to a search for a phrase of text within my SQL database? (I am obviously not very knowledgeable) except on how to get there! :) Thanks for the help!

Member Avatar for Troy
0
148
Member Avatar for balu

i have one table,which maintain daily transactions for each minitute,but i would like to know per day for each 15 minutes interval how many rows are entering into that table

Member Avatar for Troy
0
161

The End.