[PHP-DB] Re: [PHP] mysql error

2011-05-05 Thread Daniel Brown
On Thu, May 5, 2011 at 10:29, Grega Leskovšek wrote: > Can smbd please look  at this sentence - I got an error and do not > know how to fix it - I am still very unfamiliar with MYSQL: > > CREATE TABLE log (  idlog int auto_increment not null,  imepriimek > varchar(50),  clock timestamp,  action va

[PHP-DB] Re: PHP- Mysql problem

2009-09-01 Thread Ahmet Caner
Mysql Username or password error.please testing connect setting -- "NADARAJAH SIVASUTHAN NADARAJAH" , haber iletisinde sunlari yazdi:col106-w49cf8a0029c9582f1c0161d5...@phx.gbl... Dear all, When I try to retrive data from two tables using JOIN OR INNER JOIN it display error me

[PHP-DB] Re: PHP-MySQL connection for particular module

2008-06-18 Thread Isaak Malik
You're very welcome, I understand that you need a solution which allows you to keep using the connection this way. I doubt that your php.ini is the cause so I'll suggest the following: Try executing your MySQL queries by passing the $link variable to the function as the connection resource: mysq

[PHP-DB] RE: [PHP] MySQL Identifying worst-performing codes

2007-10-04 Thread Jay Blanchard
[snip] There is  a tool call "idera" (SQL diagnostic manager). Basically it is a performance monitoring and diagnostics tool. It has a feature;  Identifying of worst-performing codes - Identifies performance bottlenecks such as the worst-performing stored procedures, long-running queries, mos

[PHP-DB] Re: php mysql dates

2004-07-30 Thread J.T. Moore
You can use something like $articleDate= date ("Y-m-d 00:00:00",strtotime($day ." " . $month . " " . $year)); If $day = 10 and $month = "January" and $year = 2004 then $articleDate will be set to "2004-01-10 00:00:00" Then you can insert $articleDate into a datetime field in mysql.

[PHP-DB] Re: php/mysql error

2004-07-27 Thread David Robley
On Wed, 28 Jul 2004 02:36, Redhat wrote: > I am getting a weird error on one of my servers that says something > about "query requires full tablescan". I was not getting this error > until today that I noticed. I Googled for a minute and saw where a ton > of other sites had the same problem but

[PHP-DB] Re: PHP/MySQL learning project

2004-06-11 Thread news.php.net
So given the same database diagram ("MovieMain", "Actors", "Genre", then a table named "MovieActor" to allow multiple actors to be associated with a movie, and "MovieGenre" to allow multiple genre's to be associated with a movie), can you steer me in the right direction on writnig the PHP to displa

[PHP-DB] Re: PHP/MySQL learning project

2004-06-11 Thread Justin Patrin
Alexey Kupershtokh wrote: Hi. In trying to learn PHP and MySQL, I'm trying to create a web-based database application that will keep track of my movies. I have five tables (shown in the graphic). I'm trying to be able to display the results of the tables with one movie title, all of the actors a

[PHP-DB] Re: PHP/MySQL learning project

2004-06-11 Thread Alexey Kupershtokh
Hi. > In trying to learn PHP and MySQL, I'm trying to create a web-based database > application that will keep track of my movies. I have five tables (shown in > the graphic). I'm trying to be able to display the results of the tables > with one movie title, all of the actors associated with it,

[PHP-DB] Re: PHP/MySQL learning project

2004-06-10 Thread news.php.net
Excellent! That's exactly what I needed to know! Thanks a million! "Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > News.Php.Net wrote: > > Hi everyone! > > > > In trying to learn PHP and MySQL, I'm trying to create a web-based database > > application that will kee

[PHP-DB] Re: PHP/MySQL learning project

2004-06-10 Thread Justin Patrin
News.Php.Net wrote: Hi everyone! In trying to learn PHP and MySQL, I'm trying to create a web-based database application that will keep track of my movies. I have five tables (shown in the graphic). I'm trying to be able to display the results of the tables with one movie title, all of the actors

Re: [PHP-DB] Re: php/mysql weblog - addnews function problems

2004-02-18 Thread Slippyaah
I've tried playing around with it a bit but I'm getting quite confused now. It still doesn't like my declaration of variables and I'm not sure how to declare 'id' either as it isn't used in the form as a field of entry - just an index in the database. Any help would greatly be appreciated cause I'

Re: [PHP-DB] Re: php/mysql weblog - addnews function problems

2004-02-18 Thread Doug Thompson
On Wed, 18 Feb 2004 09:35:22 -, Slippyaah wrote: >Well basically I think it's a problem with the declaration of variables >and/or the way they are being processed by the form. > >Here is the individual addNews function: > >function addNews() { > global $db; > > /* declare variables

[PHP-DB] Re: php/mysql weblog - addnews function problems

2004-02-18 Thread Slippyaah
Hey David, Well basically I think it's a problem with the declaration of variables and/or the way they are being processed by the form. Here is the individual addNews function: function addNews() { global $db; /* declare variables here? */ /* insert the new news entry */

[PHP-DB] Re: php/mysql weblog - addnews function problems

2004-02-17 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > hey, > > I've been working on a PHP/MYSQL weblog and I've got most of it working > apart from the adding new news function and a login section. I've set the > form up but it is coming up with a few errors and the actual submitting of >

[PHP-DB] Re: PHP/MySQL Help

2003-10-19 Thread conbud
Hey, Also the webhost only allows us a direct database connection using phpMyadmin, I did notice that on the table that stores the info, it keep getting an error after someone is posting the form. The error says something about Overhead: 275 bytes, Is this just an MySQL limitation that is set by th

[PHP-DB] Re: PHP, MySQL and Apache 2 ?

2003-09-02 Thread Shadow
I have it running under Windows NT 4.0..no problems... Shadow -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Re PHP, MySql

2003-06-22 Thread Becoming Digital
lt;[EMAIL PROTECTED]> Sent: Sunday, 22 June, 2003 10:13 Subject: [PHP-DB] Re PHP, MySql I have a web site interfacing to a mysql databases which eventually may have a large number of users. Should I use persistent coneconnection mode or let each screen make and drop a connection ? Where will I fi

[PHP-DB] Re PHP, MySql

2003-06-22 Thread Peter Goggin
I have a web site interfacing to a mysql databases which eventually may have a large number of users. Should I use persistent coneconnection mode or let each screen make and drop a connection ? Where will I find guide lines on this? Is this the correct list for this question? Regards Peter Gog

[PHP-DB] Re: php/mysql query

2003-02-21 Thread Fredrik de Vibe
[EMAIL PROTECTED] (Julie Keywell) writes: > I am querying our database for 11,000 different zip codes and it seems > to be overloading MySQL. However, common sense says it shouldn't. > > My question is: > When needing to query 11,000 things, is it best to make 1 SQL statement > that has 11,000 or

RE: [PHP-DB] Re: PHP/MySQL not available remotely...

2002-12-04 Thread dufronte
-Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 11:48 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Re: PHP/MySQL not available remotely... On Thursday 05 December 2002 00:44, Chase wrote: > Yes I am. > > I was just asked to

Re: [PHP-DB] Re: PHP/MySQL not available remotely...

2002-12-04 Thread Chase
The phpinfo() call works great on the server itself, but I cannot get the information to display to anyone that connects to the server. "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thursday 05 December 2002 00:44, Chase wrote: > > Yes I am. >

Re: [PHP-DB] Re: PHP/MySQL not available remotely...

2002-12-04 Thread Jason Wong
On Thursday 05 December 2002 00:44, Chase wrote: > Yes I am. > > I was just asked to create a simple web page that would display the > visitors IP address using: > > So you're saying that the above works ... > and when I call this up over the intranet or internet it works just fine. > However, I

Re: [PHP-DB] Re: PHP/MySQL not available remotely...

2002-12-04 Thread Chase
com) or username@'%' (which would work for > > that username from any host) > > > > > > hth > > jeff > > > > > > > > "Chase" > > > biz>

Re: [PHP-DB] Re: PHP/MySQL not available remotely...

2002-12-04 Thread David Smith
> "Chase" > > > biz> cc: > >

Re: [PHP-DB] Re: PHP/MySQL not available remotely...

2002-12-04 Thread Jeffrey_N_Dyke
Subject: [PHP-DB] Re: PHP/MySQL not available remotely... 12/04/2002

[PHP-DB] Re: PHP/MySQL not available remotely...

2002-12-04 Thread Chase
Okay, it was suggested that I may not have my "register_globals" flagged to "on" but I do. I still can't seem to make any remote connect to the server. Again, there are no errors, it just flat don't work. Chase "Chase" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE

[PHP-DB] Re: PHP Mysql Select Distinct problem

2002-05-22 Thread Benjamin Walling
MessageAccording to http://www.mysql.com/doc/D/I/DISTINCT_optimisation.html, DISTINCT is converted to a GROUP BY on all columns, DISTINCT combined with ORDER BY will in many cases also need a temporary table. Instead of using DISTINCT, consider adding GROUP BY for all the columns except ID. --

[PHP-DB] Re: PHP/MySql - address book

2002-01-06 Thread George Nicolae
look at http://www.webmasterbase.com/article/228 -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Sg" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I'm trying to do a sort of

[PHP-DB] Re: php/mysql error

2001-11-21 Thread Fred
The error indicates that the result resource is invalid. The result resource in your example is $rs. Either this is not the variable that you used when sending the query or something went wrong with the query. You should always add "or die(mysql_error) to the end of your mysql_query statements,

SV: [PHP-DB] Re: php/mysql error

2001-11-20 Thread Trond Erling Hundal
I agree with mr. Torrent here... you are not logged on to your mysql server when you issue the query! Check your password/username... > -Opprinnelig melding- > Fra: torrentUK [mailto:[EMAIL PROTECTED]] > Sendt: 20. november 2001 18:35 > Til: [EMAIL PROTECTED] > Emne: [

[PHP-DB] Re: php/mysql error

2001-11-20 Thread torrentUK
I think you can get this error when you sql query fails. Try copy and pasting the $sql query to the mysql command line and see what response you get (it looks as though this would work though unless you haven't got a table called "test"). I guess it might be that you are not successfully logging o

[PHP-DB] Re: PHP/MySQL Question

2001-11-12 Thread Julio Nobrega Trabalhando
LIKE is a very good option. You can use: LIKE \n'$id'\n; Or similar, where \n stands for the Mysql carriage return 'symbol'. Also, you may try selecting the whole text field, explod()ing contents by carriage returns and checking with in_array() for the id if the above doesn't works. --

[PHP-DB] RE: PHP/MySQL Question

2001-11-12 Thread Tim Ward
Use sql keyword LIKE, unless you have access to the design of the database, in which case design it properly (i.e. something approaching normal form). Tim -- From: Peter Brown [SMTP:[EMAIL PROTECTED]] Sent: 12 November 2001 05:28 To: [EMAIL PROTECTED];

[PHP-DB] RE: [PHP] mySQL LOAD DATA INFILE

2001-11-06 Thread Niklas Lampén
Found the solution: I had to change row $fpName = tempnam($dir, "tableData"); to $fpName = tempnam("", "tableData"); So file will be created to a temporary directory. Niklas P.S. :) -Original Message- From: Niklas Lampén [mailto:[EMAIL PROTECTED]] Sent: 6. marraskuuta 2001 14:5

[PHP-DB] Re: PHP & MySQL Queries...

2001-10-26 Thread Mike Frazer
> if ($row = mysql_fetch_array($result)) { > > /* Change all instances of db_table to match your db table structure */ > do { > PRINT "Your search results: "; > PRINT "db_table: "; > print $row["db_table"]; > print (""); > . > [ NUMEROUS REPETITIONS WERE HERE ] > . > P

[PHP-DB] Re: php + MYSQL based banner exchange system

2001-09-19 Thread Hidulf
they have something you need http://phpwizard.net -- Hidulf http://www.hidulf.com "Andrius Jakutis" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello all, > > I need your recomendations, where to download from a good (profesional - > many options) banner ex

[PHP-DB] Re: PHP - MySQL

2001-07-25 Thread news.php.net
> The code should not be on the page which comes > after clicking, but on the same page where the button is. if this is the requirement, then look maybe use javascript -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP-DB] Re: PHP - MySQL

2001-07-25 Thread news.php.net
Trick is to have a server side script which increments a counter and redirects to the desired page. So you'd create something like this: /counter?uri= and in your database you'll have fields for the uri and the number of hits so far. goodluck :) "Pranot Kokate" <[EMAIL PROTECTED]>

Re: [PHP-DB] RE: PHP Mysql apache economy hosting

2001-07-13 Thread Indri
Try http://www.aletiahosting.com/. I have my sites hosted by them. Excellent support especially the ones via AIM/ICQ. The people are always around to answer your questions. Plans start at $9.95/month. Hope this helps. Best wishes, Indri >> -Original Message- >> From: Ken Sommers [mail

Re: [PHP-DB] RE: PHP Mysql apache economy hosting

2001-07-13 Thread Aral Balkan
You might want to try nomonthlyfees.com. I host two sites with them (that's my only relation) and I've been happy so far. It's $200 up front then $35/year which includes the domain name registration. Aral :) __ ([EMAIL PROTECTED]) New Media Producer, Kismia, Inc. (

[PHP-DB] RE: PHP Mysql apache economy hosting

2001-07-13 Thread Andrew Chase
I used Cedant.com to host my own site for a few months, and they were excellent - no down time that I was aware of, and a handy web-based control panel (and of course SSH shell access for anything not covered by the control panel.) Although they didn't have a large tech support phone bank (Usuall

[PHP-DB] Re: [PHP] MySQL fulltext indices and phrase search

2001-05-02 Thread Steve Werby
"Jens Kisters" <[EMAIL PROTECTED]> wrote: > Hi there, is there a possibility to use MySQL's MATCH ... AGAINST to > look for a string like "foo bar" ? > > if i MATCH keyname AGAINST ('foo bar') i get resuts that match foo or > bar, but not both of them separated by a space. > > My guess is that t