That last line always causes me problems, I think it is probably a
difference in versions of mysql. Just change the last line to:
);
without any of the text in their. It doesn't really do much anyway.
Ross wrote:
Hi all,
I am trying to create a table on the remote server but it never seems t
Ciprian,
I may have missed whether or not you were able to resolve your problem
from a couple days ago.
In one of my development environments (Win2K), I decided to install PHP
5.0 with MySQL(i) 4.1.x support in IIS5.0 and Apache 2 (running on
different ports). It took a bit more work than I in
I have included the extension. Now I get "Unable to load dynamic library
'C:\php\ext\php_mysql.dll' - The specified procedure could not be found"
I have in Windows\System32 the file libmysql.dll. I have also put it in the
php\ext directory without any result.
--
PHP General Mailing List (http://
Ciprian Constantinescu wrote:
I have installed PHP5 and i get the following error from a script that was
working on PHP4
"Fatal error: Call to undefined function mysql_pconnect() in
D:\htdocs\cdalex\Connections\listacon.php on line 9 "
MySQL is no longer embedded in PHP, as of PHP 5. Depending on
Hi,
Yes that was my mistake. But even with the code, it still doesnt display the
last one. If i didnt put a " it wouldnt work at all.
Thanks,
Ian
-Original Message-
From: Torsten Roehr [mailto:[EMAIL PROTECTED]
Sent: 28 May 2004 13:56
To: [EMAIL PROTECTED]
Subject: [PHP] Re:
"Ian Barnes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am generating a mysql statement and then printing it to a formatted
field.
> Here is my code:
>
> $sql="SELECT * from tablename where name in ('Web','HTML','PHP') group by
> name;
You are missing the closing quote
What's up
Supposing that the filename of the you code is create_table.php.
Try tipping in the URL: create_table.php?nueva_base=prueba
EF.
---
Que tal
Suponiendo que el archivo del codigo se llama create_table.php.
Prueba poniendo el la URL: create_table.php?nueva_base=prueba
EF.
"Felipe R."
Well, that's just a typo...of course there should be a () to make it call a
function...
The whole point to my postings is that I can't get the darn variable to stay
in place!!! Look where it says "Prints NOTHING".
Does anyone know why it doesn't print "Hello World"???
::Lewis
"Mike Ford" <[EM
> -Original Message-
> From: OrangeHairedBoy [mailto:[EMAIL PROTECTED]]
> Sent: 03 October 2002 09:39
>
> Here's a simplier version...and I'm still having a problem
> with it. It's
> driving me insane!!! :)
>
> class MySQL
> {
> function SET ( )
> {
> $this->MYVAR = "Hello World!"
Here's a simplier version...and I'm still having a problem with it. It's
driving me insane!!! :)
class MySQL
{
function SET ( )
{
$this->MYVAR = "Hello World!";
}
function RETREIVE ( )
{
print $this->MYVAR;
}
}
$helpme = new MySQL;
$helpme->SET;
$helpme->RETREIVE; /* Prints NOTHIN
I thought someone might mention that, but that is actually correct.
The problem is that the variable assigned on the line
$this->DBLink[$MyVars[NAME]] = mysql_connect( $MyVars[HOST] ,
$MyVars[USERNAME] , $MyVars[PASSWORD] ); dissapears and can't be retreived
on the line mysql_select_db( $MyVars[D
Hi,
Thursday, October 3, 2002, 6:01:53 PM, you wrote:
O> You know...maybe I should mention where this code is...
O> I have my main file which loads using 'require.once' a second file called
O> 'everything.php'.
O> Inside everything.php is a class called 'mainclass' which is called by the
O> mai
You know...maybe I should mention where this code is...
I have my main file which loads using 'require.once' a second file called
'everything.php'.
Inside everything.php is a class called 'mainclass' which is called by the
mail file.
This class ('mainclass') loads the MySQL class from the previ
On Wednesday, June 26, 2002, at 08:58 AM, John Holmes wrote:
>> I just preg_replace("/\'/","\'",$text) and all was good :o)
>
> That's what addslashes() is for. It handles single and double quotes,
> backslashes, and nulls, so you won't have any problems...
Plus IIRC it's a C extension so it'l
> I just preg_replace("/\'/","\'",$text) and all was good :o)
That's what addslashes() is for. It handles single and double quotes,
backslashes, and nulls, so you won't have any problems...
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
I just preg_replace("/\'/","\'",$text) and all was good :o)
"David Robley" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] says...
> > I am using PHP and MySQL on a 2k dev box to be uploaded to a linux box
> >
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I am using PHP and MySQL on a 2k dev box to be uploaded to a linux box
>
> I have a piece of SQL
>
> INSERT INTO `contracts` (`key`, `content`) VALUES (1,'blah blah blah
> character 39 is a single speach mark '+CHAR(39)+' blah blah bla
17 matches
Mail list logo