Re: [PHP-DB] Debian mssql_init

2005-01-28 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Robert Twitty wrote: The problem is caused by the fact that the sybase extension was installed instead of the mssql extension. The sybase extension supports some of the mssql functions via aliasing. Unfortunately, mssql_init() is not supported by the sybase ext. You basically have only 2

[PHP-DB] Double Inserts

2005-01-25 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hi, I am new to the mailing list and to PHP / MySQL. I am facing an unususal problem. I am trying to insert some data into MySQL DB through via Web. The code is executed OK - no errors but the same record gets inserted TWICE. I have checked the code and simplified it as much as possible and tried

Re: [PHP-DB] Mozilla inserts twice, IE does OK... ?

2005-01-25 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Another dimension to the problem --- I am running my code on two separate machines (Desk top a laptop) the desktop (faster?) has this problem, notebook (slower?) doesn't. I have code that checks for duplicate inserts and warns user. Even this fails and the database ends up with two identical

[PHP-DB] Re: SQL statement syntaxis

2005-01-07 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hello everybody, I just want to thank you all for your help!! I got three emails helping me out. The problem was that I wasn't including the ' around the . When I typed '.$_POST['CompanyName'].' it worked great! Thank you!! Jorge PHPDiscuss - PHP Newsgroups and mailing lists wrote: Hello

[PHP-DB] SQL statement syntaxis

2005-01-06 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hello everybody, I'm building a small application and I have trouble passing a POST variable form one page to another inside the SQL statement. The query (displayed below) works great without the .$_POST['CompanyName']. $query_company_listing = SELECT CompanyID, CompanyName,

[PHP-DB] SQL statement syntaxis

2005-01-06 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hello everybody, I'm building a small application and I have trouble passing a POST variable form one page to another inside the SQL statement. The query (displayed below) works great without the .$_POST['CompanyName']. $query_company_listing = SELECT CompanyID, CompanyName,

[PHP-DB] SQL statement

2005-01-06 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hello everybody, I'm building a small application and I have trouble passing a POST variable form one page to another inside the SQL statement. The query displayed below works great without the .$_POST['CompanyName']. $query_company_listing = SELECT CompanyID, CompanyName, CompanyOrDepartment,

[PHP-DB] PHP-HTML-select deny

2004-12-01 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hi, what can i do, where users can't select and copy my text from web-page. Thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] writing to 2 tables

2004-07-19 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hi all, I am writing a PHP newsletter where users are able to write the news and for the information to be written to 2 tables in the database. I can do this for one table but it need it for 2. Obviously what needs to happen if that the two ids from t1 and t2 be linked together but how do i get

[PHP-DB] Re: MySQL executes several times the same request

2004-06-29 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Justin Patrin wrote: Loïc moisy wrote: Hi Everyone ! I've coded a php site for a musical store. At the end of every page, before closing the connection, I send an UPDATE request to increment a statistical tool. Recently I saw weird results, so I tried to understand. Looking in my

[PHP-DB] MySql syntax error using PHPWiki

2004-06-10 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Greetings, I'm trying to set up a PHPWiki using Apache 2.0.49, PHP 4.3.7, PEAR 4.1.0, and PHPWiki 1.3.10. I get this error when trying to load index.php: C:\Program Files\Apache Group\Apache2\htdocs\lib\WikiDB\backend\PearDB.php:778: Fatal[256]: wikidb_backend_mysql: fatal database error DB

[PHP-DB] Re: Create subdomain using php in a linux machine

2004-05-31 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Dhanya philip wrote: Hi, I like to know how to create subdomain using php in a linux machine. Thank You Dhanya Yahoo! India Matrimony: Find your partner online. Did you ever find a solution for this problem?? I'm interested in doing the same. JG -- PHP Database Mailing List

[PHP-DB] Re: Slow php-mysql

2004-05-19 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hi Dez, I think I got exactly the same problem. I have W2003 Advanced Server running with IIS 6 and PHP 4.3.4. On a nother machine I have MySQL 4.1.0-alpha-nt. Now any connection from any other host in the network (e.g. running phpMyAdmin) to the DB works just fine (hosts running IIS or Apache).

[PHP-DB] upload files into MySQL database

2004-05-11 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hello, I have problem for downloading files from MySQL database. Although I store and I see the filename and the extension in the database, when I try to download it, if there are blank spaces inside the filename, like my book store.doc I cannot open it and see it. Best regards Stelios Karapas

[PHP-DB] Dynamic Email Address in an HTML table

2004-05-09 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hello, I have a page displaying the results of a query from a mysql database. The final field displayed is an email address (in text datatype from the table). How can I create the email address in the field as a hyperlink to the email address? Since my query loops through the database and

Re: [PHP-DB] Image / file uploader

2004-05-06 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Try using the following: $_SERVER[PHP_SELF] Mainly, get rid of the quotes inside the brackets. Usually this error 'T_String' generally occurs when you have quotes ( or ') where they shouldn`t be. Give it a try if that thing still troubles you... Good luck Craig Hoffman wrote: Sorry to be

[PHP-DB] PHP / mysql / opendb / Apache

2004-02-10 Thread PHPDiscuss - PHP Newsgroups and mailing lists
I am trying to get a functioning instance of these components working on my Solaris 2.8 box. Are there any comprehensive instructions out there to achieve this? Thanks Terry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php