James Colannino wrote:
> Hey everyone. I've been reading the list for a long time, but have only
> really posted to the mailing list a few times. I just had a quick
> question about MySQL. I'm not sure if this is exactly relevant to PHP,
> but it is for a PHP application I'm writing, so hopefull
On Tue, 27 Jan 2004 18:01:40 -0500
"Tom Flood" <[EMAIL PROTECTED]> wrote:
> Martin,
>
> Thank you for the insight when I ran the php file you
> suggested, nothing appeared to be related to mysql. I
> installed both the php and mysql packages onto my Linux box
> through a rpm installer. Whe
My honest advice, dont use rpm's, you need to compile php via source if you
want to do anything out of the ordinary like adding extensions, yes adding
mysql is out of the ordinary for a standard rpm lol. Thats just my
experience anyway.
so ./configure --with-mysql=/usr/local/mysql or whereever you
Martin,
Thank you for the insight when I ran the php file you suggested,
nothing appeared to be related to mysql. I installed both the php and mysql
packages onto my Linux box through a rpm installer. Where can I obtain
mysql support for php?
Tom
"Martin Luethi" <[EMAIL PROTECTED]> wrote i
line 16: mysql_connect("tflood", "thomas91");
I think you mean: mysql_connect("localhost", "tflood", "thomas91");
otherwise mysql_connect takes "tflood" as Server and "thomas91" as
Username (if so, its better to replace passwords with * before
posting)
-> http://ch.php.net/mysql_connect
after
Thank you both, here is the entire code :
1
2
3Untitled Document
4
5
6
7
8\n";
13print "Address is $address\n";
14print "City is $city\n";
15
16mysql_connect("tflood", "thomas91");
17
18$result = mysql_query(
19 "insert into ephi.info
20 (name, address, city) values
21 ('$name', '$address', '$city
Hi,
Are you sure that you already enable mysql function on your web server ?
Krit Kanrat
"Tom Flood" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I am just beginning my learning of php and its uses with mysql. I wrote a
> small program to add information into a mysql
Don't use subselect in MySQL, MYSQL have not completed it now , Use "join"
to instead it.
"Christian Dechery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm having trouble puting up a query in Mysql because of his lack of SQL
> syntax.
>
> I have a table A
8 matches
Mail list logo