Re: [PHP-DB] XAMPP InnoDB Issue

2007-03-28 Thread Chris
This is my.cnf configuration settings, but it not working What isn't working exactly? Mysql? Connections from php? Something else? -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

[PHP-DB] XAMPP InnoDB Issue

2007-03-28 Thread Lasitha Alawatta
Hi All, Any one have experiance on using XAMPP with configure MySQL InnoDB engine. This is my.cnf configuration settings, but it not working = # skip-innodb # Uncomment the following if you are using InnoDB tables innodb_data_ho

[PHP-DB] Help creating tables and fields

2007-03-28 Thread Karl James
Team, I am in need of your help. I have tried over the years to do this. But, I seem not to be able to get it to the way I want. I want to start from scratch. What I want to do is build site that has team management for your roster of players, and display stats in a nut shell. As far as sta

Re: [PHP-DB] help in database design

2007-03-28 Thread bedul
NOT QUITE..ups.. my bad - Original Message - From: "Chris" <[EMAIL PROTECTED]> To: "Suprie" <[EMAIL PROTECTED]> Cc: Sent: Thursday, March 29, 2007 6:53 AM Subject: Re: [PHP-DB] help in database design > Suprie wrote: > > hi all, > > > > i need help in design a database, our office is h

Re: [PHP-DB] help in database design

2007-03-28 Thread Chris
Suprie wrote: hi all, i need help in design a database, our office is hospital equipment supplier, we had a list of items, each items had it's own configuration, and each item could consist of several item. we also had contract that have a lot of site, sometimes equipmend that have been ordere

Re: [PHP-DB] problems with functions/included files/mysql resource

2007-03-28 Thread Chris
Jvhcom wrote: Hello Neil and Chris, Here are the database-related functions that reside in their own separate file: function connecttodatabase() { global $link_resource; if(!($link_resource=mysql_connect('host', 'user_name', 'password'))) { printf("Error connecting to host %s,

Re: [PHP-DB] problems with functions/included files/mysql resource

2007-03-28 Thread Onochie Anyanetu
Hi it would be helpful if you pasted to us the error u are getting. So instead of runquery($dbquery, $link_resource); use this: runquery($dbquery, $link_resource) or die(mysql_error()); which will echo out the error. On 3/28/07, Jvhcom <[EMAIL PROTECTED]> wrote: Hello Neil and Chris, Here are

Re: [PHP-DB] problems with functions/included files/mysql resource

2007-03-28 Thread Jvhcom
Hello Neil and Chris, Here are the database-related functions that reside in their own separate file: function connecttodatabase() { global $link_resource; if(!($link_resource=mysql_connect('host', 'user_name', 'password'))) { printf("Error connecting to host %s, by user %s", 'ho

RE: [PHP-DB] echo

2007-03-28 Thread Bastien Koert
if you view the source of the generated page, is the image name correct? is the path to the image correct? bastien From: elk dolk <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] echo Date: Tue, 27 Mar 2007 22:07:37 -0700 (PDT) Hi all, I am new to web programming. I have code

RE: [PHP-DB] Using apostrophe's within a text field

2007-03-28 Thread Bastien Koert
use mysql_real_escape_string($_POST['field'] IN the query use addslashes use htmlspecialentities use str_replace to switch it to an ascii equivalent hth bastien From: "Stephen Smith" <[EMAIL PROTECTED]> To: Subject: [PHP-DB] Using apostrophe's within a text field Date: Wed, 28 Mar 2007 00:1

Re: [PHP-DB] help in database design

2007-03-28 Thread bedul
what is site mean in here?? - Original Message - From: "Suprie" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 28, 2007 5:03 PM Subject: [PHP-DB] help in database design > hi all, > > i need help in design a database, our office is hospital equipment supplier, > we had a list of items,

[PHP-DB] help in database design

2007-03-28 Thread Suprie
hi all, i need help in design a database, our office is hospital equipment supplier, we had a list of items, each items had it's own configuration, and each item could consist of several item. we also had contract that have a lot of site, sometimes equipmend that have been ordered different from

Re: [PHP-DB] echo

2007-03-28 Thread Dimiter Ivanov
something like this : Inetpub\wwwroot\album\img as I am running out of time! could someone complete this code just with one echo and img src so that I can retrive my photos ? MySQL columns : photoID=seq number photoFileName=name of my photo like 3sw.jpg