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

[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] help in database design

2007-03-28 Thread bedul
what is site mean in here?? - Original Message - From: Suprie [EMAIL PROTECTED] To: php-db@lists.php.net 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

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: php-db@lists.php.net Subject: [PHP-DB] Using apostrophe's within a text field Date: Wed,

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] 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,

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] 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

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: php-db@lists.php.net 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

[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

[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

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: