Re: [PHP-DB] PHP Objects and SQL Results

2010-02-12 Thread Eric Lee
On Sat, Feb 13, 2010 at 7:46 AM, Paul Hollingworth wrote: > Thanks for the code Eric, it seems to loosely provide the functionality > that I'm after. > > Just out of interest though, is there no other way to find the next result > row in an object apart from dumping it int

Re: [PHP-DB] PHP Objects and SQL Results

2010-02-12 Thread Eric Lee
y(); $row = null; while ($row = mysql_fetch_object($result)) { $rows[] = $row; } reset($rows); for ($i = 0, $c = sizeof($rows) - 1; $i < $c; $i++) { next($rows); if (current($rows)->name) { // something to do } prev($rows); echo current($rows)->id, &#x

Re: [PHP-DB] Upload_File

2010-02-10 Thread Eric Lee
es when ever i try to upload file on server. > >} > > } else { > > echo "Error: File ".$_FILES["uploaded_file"]["name"]." already > > exists"; > > } > > } else { > >echo "Error: Only .jpg images under 2MB are accepted for upload"; > > } > > } else { > > echo "Error: No file uploaded"; > > } > > > Bilal hmmm .. Some advice is the $_FILES filled correcly check if the apache server user able access to the upload folder Check if the tmp is writable by apache user Regards, Eric, > Thanks > > Bilal Farooq Ahmad > > > > > > -- > akan ada dimana mulut terkunci dan suara tak ada lagi.. > saat itu gunakanlah HP untuk melakukan SMS!! > -> ini aliran bedul.. bukan aliran aneh. > tertawa sebelum tertawa didepan RSJ.. >

Re: [PHP-DB] FW: Oracle Finalizes Acquisition of Sun

2010-01-28 Thread Eric Lee
hmm, that' true now !! Shall the mysql db become paid software !! Regards, Eric, On Thu, Jan 28, 2010 at 11:44 PM, Bastien Koert wrote: > [snip] > [/snip] > > PS We will now proceed to fire some 20,000 employees as they will no > longer be needed. > -- > > Bas

Re: [PHP-DB] Need help in PHP file Management System

2009-09-17 Thread Eric
ts please explain it to me. Am not > sure this may be a solution. This may or may not need. hash the file to prevent unauthenticated modified. version controlling. tagging pls correct me if I'am wrong !!! - Eric > > Guys plz help me > > Best, >

Re: [PHP-DB] PHP-MySQL connection for particular module

2008-06-17 Thread Eric
http://myprojects.srhost.info eric{at}myprojects{dot}srhost{dot}info - Original Message - From: "bateivan" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 17, 2008 11:19 PM Subject: [PHP-DB] PHP-MySQL connection for p

Re: [PHP-DB] Can't get PHP PGSQL module to load

2008-06-03 Thread Eric
es-no-installer.zip Enjoy http://myprojects.srhost.info eric{at}myprojects{dot}srhost{dot}info - Original Message - From: "Zimmerli, David" <[EMAIL PROTECTED]> To: "Eric Lee" <[EMAIL PROTECTED]>; Sent: Wed

Re: [PHP-DB] Can't get PHP PGSQL module to load

2008-06-03 Thread Eric
cific the php.ini location as PHPIniDir "e:/winnt" and the extension_dir should be best specific with full path such as extension_dir = "e:\webroot\php5\ext\" Also, please be sure you have followed all the steps from php manual's installation chapter. That have a new meth

[PHP-DB] phpexplorator has released phpexplorator

2007-02-08 Thread Tchouamou Eric Herve
ugs - Move and copy array of folders and files with one click - support apache icons, and apache configuration - Icon internal saved in base64..etc -- Eric Herve Tchouamou http://www.tchouamou.homeunix.com Via Portofino, 8 - 10135 Torino - Italy phone: +39 011 3720145 Cel: +39 328 6928649 email: [EMAIL PROTECTED]

[PHP-DB] Database Design Recommendations

2004-11-02 Thread Eric Cranley
ed permission to view it, so if someone later decides that only certain people should view a page, they can change it without coming to me. What do people think of these ideas, and is there a better way to do this? Thanks in advance. Eric Cranley IT Specialist Willis Music Company -- PHP D

[PHP-DB] Re: Parsing CSV files into a MySQL Table

2004-11-02 Thread Eric McGrane
If what you have below is the exact SQL you have an error: mysql_query ("INSERT INTO 'footable' (foo1, foo2, foo3, foo4, foo5, foo6, foo7) VALUES '$foo1', '$foo2', '$foo3', '$foo4', '$foo5', '$foo6', '$foo7')"); should be mysql_query ("INSERT INTO 'footable' (foo1, foo2, foo3, foo4, foo5, foo6,

[PHP-DB] Re: mysql error and resource ID:

2004-10-14 Thread Eric McGrane
A snippet of the source code would help. E "Stuart Felenstein" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > First time setting something like this up. So probably > making some major mistakes. > Anyway I get this message : "mysql_error(Resource id > #2)" > > I know it's pointing

Re: [PHP-DB] Php if statement in a form

2004-08-05 Thread Eric Schwartz
Sorry. Forgot to remove the word echo from that line. On Thu, 5 Aug 2004 21:29:01 -0400, Eric Schwartz <[EMAIL PROTECTED]> wrote: > On Fri, 6 Aug 2004 10:21:19 +1000, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > Thanks Eric, > > > > I have changed it

Re: [PHP-DB] Php if statement in a form

2004-08-05 Thread Eric Schwartz
On Fri, 6 Aug 2004 10:21:19 +1000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks Eric, > > I have changed it somewhat but am just getting a parse error, > unexpected T_STRING on that line. > > My revised code is below: > > > print "Current Staff W

Re: [PHP-DB] Php if statement in a form

2004-08-05 Thread Eric Schwartz
On Fri, 6 Aug 2004 08:53:53 +1000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, I wonder if someone could point me in the right direction here. > > I have a table that is displayed that is also a form, and allowed a > person to select a record to update using a radio button. With one of >

Re: [PHP-DB] Problems switching from MySQL 3.23 -> 4.0

2004-04-17 Thread Eric George
ore details: Webserver Box: RedHat 9 Apache 2.0.40 PHP 4.2.2 The MySQL 3.2.3 DB also runs on this box. The MySQL 4.0 DB runs on a seperate Suse box. The Database structure & data is identical on both systems. Ideas? Thanks Eric - Thi

Re: [PHP-DB] Curious if include_once will work better than include

2004-04-13 Thread Eric Girard
des or if including a particular file more than once will alter the result, than use include_once. Another alternative is to use require() or require_once() to make sure that the file is included. Just my $.02, Eric -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Distinct with Order By

2003-12-16 Thread Eric Blanpied
I'm looking for the last six different people to make entries to a table, but this syntax: SELECT DISTINCT Poster_ID FROM Posting ORDER BY Posting_Date DESC LIMIT 6; Gives a result which is absolutely not ordered by date. Removing the DISTINCT keyword results in a correct list of the last six peo

[PHP-DB] Problem connecting with PostgreSQL in OS X

2003-03-09 Thread Eric Marsh
anyone have any idea why host=localhost is breaking my connection? Is there a configuration value I should be setting? Thanks, Eric Marsh -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] [[PHP-DB] Re: Get MySQL table schema for a dump

2003-02-26 Thread Eric Girard
Jonathan, You can use "Describe TABLENAME" as a query and then use that information to built you create statements. Eric Eric Girard Varsity Crew Team Computer Science major, Management Information Systems minor, Worcester Polytechnic Institute Class of '03 -O

[PHP-DB] Help with special characters in Oracle 8i

2002-09-12 Thread Eric John Seneca
works from command line. I cannot make this work from my php script. Any insight into this problem would be appreciated. Eric Seneca

RE: [PHP-DB] Struggling with PG SQL and Large Objects

2002-07-25 Thread eric . jones
CLASSIFICATION: UNCLASSIFIED Do you have any examples of uploading via post and downloading via visiting a download page for this? Eric Jones (Contractor) FDIC Web Enabler E-mail: [EMAIL PROTECTED] Office - 520-533-6628 Cell - 520-980-2136 Email Pager - [EMAIL PROTECTED] Direct Private Fax

RE: [PHP-DB] Struggling with PG SQL and Large Objects

2002-07-24 Thread eric . jones
CLASSIFICATION: UNCLASSIFIED It was my understanding (from a friend) that I could actually store the files in the database and thereby eliminate me having to setup permissions for folders etc.. Am I wrong? Eric Jones (Contractor) FDIC Web Enabler E-mail: [EMAIL PROTECTED] Office - 520-533-6628

[PHP-DB] Struggling with PG SQL and Large Objects

2002-07-24 Thread eric . jones
. Looking forward to your guidance! Eric Jones (Contractor) FDIC Web Enabler E-mail: [EMAIL PROTECTED] Office - 520-533-6628 Cell - 520-980-2136 Email Pager - [EMAIL PROTECTED] Direct Private Fax - 866-721-4102 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP-DB] [PHP] pg_connect() unable to connect to PostgreSQL server :could not connect to server

2002-07-22 Thread Eric
I agree, Unix domain sockets very much faster. You have to start POSTMASTER with the -i switch to get it to listen on the designated port (5432 by default I think). Eric "Devrim Gunduz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... &g

Re: [PHP-DB] PHP4 Not Seeing PostgreSQL 7.2

2002-07-22 Thread Eric
o the fact I am still GREEN in this area. Under C/C++, DLLS always expose their inards regardless. Thanks Eric "Devrim Gunduz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Sun, 21 Jul 2002, Eric wrote: > > > &

[PHP-DB] ODBC MS SQL 7.0 Not closing connection

2001-12-12 Thread Eric Liedtke
open and close, however my connection still stays open and the odbc_close() fails. Here is the script... \n"); odbc_close($mydbhandle) or die("Could not close db connection"); ?> Any ideas on where to look? Thanks for the time Eric Liedtke -- PHP Database Mailing List (

Re: [PHP-DB] unixODBC Question/Problem

2001-11-29 Thread Eric Liedtke
Eric Liedtke wrote: > I am running PHP/Apache. I have installed unixODBC and inlinks tds > driver. I can succesfully connect and query an MS SQL db from the isql > command line testing tool provided with unixODBC. I recompiled php > with unixODBC support and it compiled and insta

[PHP-DB] unixODBC Question/Problem

2001-11-21 Thread Eric Liedtke
what info anyone might need from me, but will be more than happy to provide it. Thanks in advance. Eric Liedtke p.s. on a google search I found only one other mention of this in a dbforum website. sadly there were no replies to the posting there. -- PHP Database Mailing List (http://www.ph

[PHP-DB] Re: Inserting CSV in MySQL

2001-10-05 Thread Eric Schmuttenmaer
1. Check for the special chars around the last entry as andre says. 2. Make sure your type and length of your type can hold the number of records you are importing. -- "It's a good life, enjoy it." - Jim Hensen ==== Eric Schmuttenmaer [[

Re: [PHP-DB] problem with WHILE loop

2001-10-01 Thread Eric J Schwinder
le"]; > while($list_row) { > echo("$title \n"); > } to this: $list = mysql_query("select id,title from table1"); $title = $list_row["title"]; while($list_row = mysql_fetch_array($list)) { echo("$title \n"); } Eric Schwinder eric.

[PHP-DB] problem with WHILE loop

2001-09-30 Thread Eric J Schwinder
lly dumb, right in front of my face... but I can't find it! help? Thanks, Eric Schwinder eric.AT.bergencomputing.DOT.com AT = @ DOT = (well... you know) -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

RE: [PHP-DB] Sending text messages to cell phone with PHP?

2001-09-25 Thread Eric O'Connell
http://www.nextel.com/support/faq/textnumericmessagingfaq.shtml basically it says to put in the 10-digit nextel number @messaging.nextel.com and you can send it with SMTP. I dunno if this is what you need but hope it helps.. Eric O'Connell > I am in the progress of setting up a script

Re: [PHP-DB] newbie needs to format time field

2001-09-05 Thread Eric J Schwinder
quot;SELECT DATE_FORMAT(date,'%m/%d/%y')) FROM table order by date",$db); $myrow1 = mysql_fetch_array($result1)); $myrow2 = mysql_fetch_array($result2)); Thanks for everyone's time if not for newsgroups, I don't how I'd learn anything! Eric Schwinder eric.A

[PHP-DB] newbie needs to format time field

2001-09-03 Thread Eric J Schwinder
9-15" and "14:00:00" when I show the values on the web page? If so, can anyone suggest a reference which will help me do this? I didn't find anything in the mySQL or PHP manuals, but maybe I was looking in the wrong places! Thanks in advance from

[PHP-DB] NON sql database

2001-08-04 Thread Eric Marenyi
I am trying to develop a dynamic website, but I dont have the capability to use SQL, or Access databases, can I use PHP to interface with a different type of database?, maybe a text delimited, or something, please help, thanks -- Eric Marenyi CEO Virtual British Airways http

[PHP-DB] Can't open dbm files with mod_php4-4.0.5_1

2001-05-22 Thread Eric Jan Pot
Hi, I upgraded my server to Apache 1.3.19/mod-PHP4-4.0.5_1, but now I can not open my 'older' dbm database files any more. When I try to configure --with-dbm , I am not able to compile. Thanks in advance, Eric Pot -- PHP Database Mailing List (http://www.php.net/) To unsubscri