Re: [PHP-DB] PDO and SAP HANA prepared statements issue

2016-01-26 Thread Jeff
Greetings, On 01/26/2016 08:18 AM, Karl DeSaulniers wrote: > On Jan 26, 2016, at 7:10 AM, Alko Kotalko wrote: > >> Hi, >> >> I have a working connection from PHP to SAP HANA through PDO and regular >> ODBC commands. >> [...snipped...] >> >> For example: >> "SELECT * FROM dummy WHERE col1=$1 AND

[PHP-DB] Retricting Access to Menu Items

2006-03-06 Thread Jeff Broomall
wasn't that helpful for this case. Can I setcookie('user_group', '3') and use that somehow??? Am I in the ballpark with this solution? Thanks. Jeff

Re: [PHP-DB] Where did my Hard Returns go?

2006-03-01 Thread Jeff Broomall
the two color shades) and then displayed the 13 correct rows. Perhaps this was the proper placement of nl2br but there is something in the other code that screwed up the presentation??? Thanks. Jeff - Original Message - From: "Jeff Broomall" <[EMAIL PROTECTED]> To: S

[PHP-DB] Where did my Hard Returns go?

2006-03-01 Thread Jeff Broomall
umbled together. I checked within the MySQL database and noticed the Hard Returns show in the database (at least while using phpMyAdmin). Must have something to do with PHP? Where did I go wrong??? Thanks. --Jeff

[PHP-DB] Generate Report

2006-02-21 Thread Jeff Broomall
tatement. Then I guess I would have to figure out the code for the echo. Am I at least in the ballpark??? Thank you and good night. Jeff -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Creating checkbox list.

2006-02-21 Thread Jeff Broomall
Good evening. I'm sure this is something easy so I'm hoping you can simply steer me to a good source. I simply need to create a Checkbox list using data from my "groups" table. I have a table with two fields: 1) groups_id 2) groups_name The data contained is simple: groups_id groups_name

[PHP-DB] Re: Table Output Question

2005-11-15 Thread Jeff Grossman
> > echo "..."; > > } > > Its essentially the same thing, just neater and lets you concentrate on the > code for the table without the worry about the way the row looks > > Bastien > Thanks again for the information. Jeff -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Table Output Question

2005-11-14 Thread Jeff Grossman
> > > bastien > > > ps: a class css definition would be better here Thanks for the help. After reading a couple of the responses, I couldn't believe that I did not think of this. I don't know a lot about CSS yet (just purchased a book). But, could you shar

[PHP-DB] Re: Table Output Question

2005-11-14 Thread Jeff Grossman
t;blue"; >} else { >$color = "red"; >} >?> >.. > > } > > -Micah Great, thanks for the help and information. May I ask, how does PHP know to change the color? What do the "?&q

[PHP-DB] Table Output Question

2005-11-14 Thread Jeff Grossman
I have a table, where each line is the output of a query from a MySQL database. I do not use borders, so the page is a little difficult to read sometimes. Is it possible, or how do I, alternate the background color of each row when I output it? My code is like this: while (query) {

[PHP-DB] crud forms

2005-07-11 Thread jeff sacksteder
What sort of tools are available for creating database CRUD forms(create,retreive,update,delete)? I am familiar with patForms and cake. What are the other leading contenders? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] accessing mysql on non default port - windows

2005-02-05 Thread Jeff
thats no good. man if its something simple, i'm not seeing it. well it was something simple...and now i see it. old_passwords. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] accessing mysql on non default port - windows

2005-02-05 Thread Jeff
Jason Wong wrote: On Sunday 06 February 2005 07:59, Jeff wrote: OK, but my understanding was that your mysql server is on *nix, and your problem was accessing it from a windows client. So you should not be using localhost? I just did that for a test to remove the remote connection from the

Re: [PHP-DB] accessing mysql on non default port - windows

2005-02-05 Thread Jeff
Jason Wong wrote: On Sunday 06 February 2005 04:58, Jeff wrote: Hi. I need to access mysql from windows to *nix on both the default port of 3306 and a secondary port of 3307. php.ini states that win32 will only pay attention to MYSQL_PORT. Just specify the port you want to use in mysql_connect

[PHP-DB] accessing mysql on non default port - windows

2005-02-05 Thread Jeff
s. Part of our application needs to reside on windows and communicate with *nix. If this doesn't work, i guess i could use IPTables to NAT when requests come in on certian IPs? THanks for any assistance/advice you may have. Jeff -- PHP Database Mailing List (http://www.php.net/) To unsu

Re: [PHP-DB] gdbm locking problem

2004-10-25 Thread Jeff Moss
g and the mode modifiers "l", "d", "-" and "t" were added in PHP 4.3.0. In PHP versions before PHP 4.3.0 you must use semaphores to guard against simultaneous database access for any database handler with the exception of GDBM. See System V semaphore suppor

Re: [PHP-DB] Sybase Peristent Connections Gotchas

2004-09-14 Thread Jeff Moss
ces are the socket closed also, right? -Jeff Brian Foddy wrote: I've been using PHP4/5 and Sybase for several years, using standard sybase_connect. Today I tried playing around with pconnect to get aquainted. I expected one simple condition of a "use database" from one web pag

Re: [PHP-DB] Getting last insert id?

2003-10-08 Thread Jeff Shapiro
once it has done this, I need to get the id it has generated in > the DB and then update that record with the id it generate, so how > can I get the id from the above insert? > > Any help would be greatly appreciated :-) > > Regards > > Chris --- Listserv only address. Jeff Shapiro -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Help With Another UPDATE Query Please!

2003-10-04 Thread Jeff Shapiro
as a work type associated with it, currently the Work Type > column of the Project table holds the work type name, however i have now > added a Work_Type_ID column to the Work_Type table and i would like Projects > to hold the Work_Type_ID as opposed to the Work Type Name. > > Thanks for

Re: [PHP-DB] Help With Another UPDATE Query Please!

2003-10-04 Thread Jeff Shapiro
to update Projects with one query? > > Thanks for your help --- Listserv only address. Jeff Shapiro -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] HELP With UPDATE Query in mySQL

2003-10-04 Thread Jeff Shapiro
ow can i update every row so that > all of the times for Booking_Start_Date are 09.00 and all of the times for > Booking_End_Date are 17.30, without affecting any of the dates? > > Thanks for your help --- Listserv only address. Jeff Shapiro -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] how to select rows with repeated coloumns in one query????

2003-09-30 Thread Jeff Shapiro
p by grade having cnt>1 >> and then >> select * from studs where sno in ('result of previous query') >> >> -- >> PHP Database Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php --- Listserv only address. Jeff Shapiro -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] sql optimizing assistance

2003-09-19 Thread Jeff Shapiro
> table | type | possible_keys | key| key_len | ref| rows | > Extra | > +++---++-++++ >> Response| ALL| [NULL]| [NULL] | [NULL] | [NULL] | 126732 | > Using temporary| >

[PHP-DB] Best method to search mySQL with PHP?

2003-09-08 Thread Jeff Lewis
e any experience with this? Jeff

Re: [PHP-DB] Modify MySQL Record

2003-09-05 Thread Jeff
7;$type', '$vhd', '$file', '$kb', '$grd', '$open', '$sour', '$tube', '$landed', '$casing', '$landed2', '$shut_date', '$shut_time', '$pres', '$tag')";

Re: [PHP-DB] Modify MySQL Record

2003-09-05 Thread Jeff
- if you hit ok again, it just loops. This might be solved as soon as I get that one field to auto populate. :P "Richard Hutchins" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jeff, > > No problem. Happens to everyone, trust me. > > Anyway, I see you

Re: [PHP-DB] Modify MySQL Record

2003-09-05 Thread Jeff
x27;d suggest you first output your SQL statement to the browser to see > exactly what it's sending to the database. Might give you the answer right > there. > > > -Original Message- > > From: Jeff [mailto:[EMAIL PROTECTED] > > Sent: Friday, September 05, 2003

Re: [PHP-DB] Modify MySQL Record

2003-09-05 Thread Jeff
" formation = '$formation' "; > $field_str .= " perfs = '$perfs' "; > $field_str .= " event = '$event' "; > $field_str .= " fluid = '$fluid' "; > > hth > Jeff > > > >

[PHP-DB] Modify MySQL Record

2003-09-05 Thread Jeff
Hell! I'm having a small problem with modifying the data in a MySQL DB. And here's the error: (After I click the "Submit Changes" button) Error: 1064: You have an error in your SQL syntax near '(10-10-10-10)' kwo='1235', lsd='10-10-10-10', date='2003-05-05', well' at line 1 Here's the code:

Re: [PHP-DB] "Consider upgrading MySQL client" .... how do I do this?

2003-09-04 Thread Jeff Shapiro
ted was to use an ODBC driver to interface > between PHP and MySQL but indicated that this may be slower. > > My question, therefore, is - is there a way to upgrade the MySQL > client in PHP 4.3.3? If not, what are the alternatives (apart from > reverting back to MySQL 4.0.x

Re: [PHP-DB] MySQL Returns Error

2003-08-14 Thread Jeff
r_id'] in your WHERE > clause. > > I'm sure there are other ways to handle this. This is how I have handled it > in the past though. > > > -Original Message- > > From: Jeff [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 05, 2003 3:52 PM > >

Re: [PHP-DB] MySQL Returns Error

2003-08-14 Thread Jeff
Oops, my mistake, it's not a blank entry - it re enters the last entry. I can hit F5 or click refresh 1000 times and it will enter the last entry 1000 times. "Jeff" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I tried putting that in a few diffrent

Re: [PHP-DB] MySQL Returns Error

2003-08-14 Thread Jeff
I tried putting that in a few diffrent places, same result - is there somewhere special I need to put that? "Matt Schroebel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > -Original Message- > From: Jeff [mailto:[EMAIL PROTECTED] > Sent: Tuesday

Re: [PHP-DB] Sorting issue

2003-08-14 Thread Jeff
gosto de 2003 08:51:04 a.m. To: 'Jeff'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Sorting issue Seeing code might help us. Aaron > -Original Message- > From: Jeff [mailto:[EMAIL PROTECTED] > Sent: August 8,

Re: [PHP-DB] Sorting issue

2003-08-14 Thread Jeff
Yes duh... I didn't realize numbers weren't considered characters. What's the sql entry for numeric characters? I'm new at this, and figure I'm not doing to bad so far. . "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >

Re: [PHP-DB] Sorting issue

2003-08-09 Thread Jeff
Seems like changing the mixed fields back to VARCHAR worked! Thanks again guys! "David T-G" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Sorting issue

2003-08-09 Thread Jeff
kwo isn't sorting properly... actually, I need to retest the lsd column too. "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jeff wrote: > > >$query = "SELECT kwo, lsd, date, event FROM $gradient_tablename > >

[PHP-DB] Sorting issue

2003-08-09 Thread Jeff
forces it to look at the entire record before sorting it? Thanks Jeff -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Sorting issue

2003-08-08 Thread Jeff
dashes. If I set it back to varchar, will it sort it right because the numbers are separated by an alfa character, or will I have the same problem as before? "Jeff" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thank you EVERYONE.. AGIAN! *grin* > > >

Re: [PHP-DB] Sorting issue

2003-08-08 Thread Jeff
echo ""; if($page_num > 1) { $prev_page = $cur_page - 1; echo "[Top]"; echo "[Prev]"; } if($page_num < $total_num_page) { $next_page = $cur_page + 1; $last_page = $total_num_page - 1; echo "[Next]"; echo

Re: [PHP-DB] Sorting issue

2003-08-08 Thread Jeff
Thank you EVERYONE.. AGIAN! *grin* "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jeff wrote: > > > Yes duh... > > > > I didn't realize numbers weren't considered characters. > > What's the sql entr

Re: [PHP-DB] MySQL Returns Error

2003-08-06 Thread Jeff
Well I did what you said, and now I get "Parse error: parse error, unexpected T_ECHO in C:\FoxServ\www\encana_db.php on line 44" And magic_quotes_gpc was already ON. "Matt Schroebel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > -Origi

Re: [PHP-DB] MySQL Returns Error

2003-08-06 Thread Jeff
wrote in message news:[EMAIL PROTECTED] > -Original Message- > From: Jeff [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2003 12:59 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] MySQL Returns Error > > Been working on this code all weekend, and I did take

Re: [PHP-DB] MySQL Returns Error

2003-08-05 Thread Jeff
ARCHAR(6) NOT NULL, shut_date VARCHAR(10) NOT NULL, shut_time DATE DEFAULT '-00-00' NOT NULL, pres VARCHAR(15) NOT NULL, tag VARCHAR(15) NOT NULL, PRIMARY KEY (lsd), UNIQUE gradient (gradient) ); "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECT

[PHP-DB] MySQL Returns Error

2003-08-05 Thread Jeff
Hi... again. :P Been working on this code all weekend, and I did take everyone's advice, but I'm still getting the same error. "Error retrieving records. From line "$result = mysql_query($query, $link_id) OR DIE("Error retrieving records."); " of my code. When I first put the insert query in, i

Re: [PHP-DB] MySQL

2003-08-01 Thread Jeff
GAH! I don't userstand why this woudl work onyl once, then return a Error retrieving records.I've even recreated the sql DB, same result. "Jeff" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well, it worked for ONE submission I was so excited. :)

Re: [PHP-DB] MySQL

2003-08-01 Thread Jeff
t; <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Myfault.. you should be using link_id instead of dbHandletry this: > > $result = mysql_query($strSQL, $link_id) OR DIE("Error retrieving records."); > > > > > > > Quoting Jeff <[EMAIL P

Re: [PHP-DB] MySQL

2003-08-01 Thread Jeff
Oh, and another thing, in this book I have, they say to give the forum action . Yet it dosn't give a value to $PHP_SELF. IS this correct? "Jeff" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > K, that got my a bit further, now it shows half the page

Re: [PHP-DB] MySQL

2003-08-01 Thread Jeff
gt; ('$kwo', '$lsd', '$date', '$well', '$field', '$uni', '$license', '$formation')"; > $result = mysql_query($strSQL, $dbHandle) OR DIE("Error retrieving records."); > > > > > > Quoting J

Re: [PHP-DB] MySQL

2003-08-01 Thread Jeff
ror. >It's SQL. Put it in quotes, assign it to a variable, and call it >through a mysql_query() function. Error: Parse error: parse error, unexpected T_STRING in C:\FoxServ\www\encana_db.php on line 36 My new code: > --- Jeff <[EMAIL PROTECTED]> wrote: > > Sorry, I j

Re: [PHP-DB] MySQL

2003-08-01 Thread Jeff
> On Saturday 02 August 2003 01:46, Jeff wrote: > > > I tried doing this through the news server, but something messed up. > > > > I just need to know how to make an HTML form write to a MySQL DB. > > This is what I have so far. > > [snip] > > And does it wor

RE: [PHP-DB] MySQL

2003-08-01 Thread Jeff
sd, date, well, field, uni, license, formation) VALUES ('$kwo', '$lsd', '$date', '$well', '$field', '$uni', '$license', '$formation') -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Augus

[PHP-DB] MySQL

2003-08-01 Thread Jeff
Hi! I tried doing this through the news server, but something messed up. I just need to know how to make an HTML form write to a MySQL DB. This is what I have so far. DB Home | Display All | Search Total Entries: http://dataguy/logo_small.jpg> Title for page

Re: [PHP-DB] Re: ./configure stupidity

2003-07-23 Thread Jeff Wiegley
ty in packages debian sure seems to beat the pants off of RedHat. But, sorry, that doesn't help your immediate problem. - Jeff On Thu, 2003-07-24 at 11:33, Nabil wrote: > please please would you help me to get > > mysql - gd - iodbc (odbc) - mssql - apache > > I need

[PHP-DB] Re: Newbee: Array Field Separator: \035

2003-07-18 Thread Jeff Langley
I figured out the field seperation on my own. Thanks anyway, jeff Jeff Langley wrote: > Hi, > > I am reading an already created gdbm file with dba_fetch into an array. > > I am able to print out the array but not the individual > elements. The elements are separated with a

[PHP-DB] Newbee: Array Field Separator: \035

2003-07-18 Thread Jeff Langley
gdbm file do I have to stick with dba_* calls or are there other function I can use to process the data? Thanks, Jeff -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Is persistent connection + MySQL + Apache + insert_id === safe?

2003-07-14 Thread Jeff Veit - Tanasity
connection and insert. If that can happen, then do you get the right insert_id value back when person_page_1 resumes? Or do you get the most recent, which would be the insert from person_page_2? Thanks, Jeff Veit http://www.tanasity.com/ - Tanasity develops software and net applications - radical

[PHP-DB] RE: Weird Segfaults with Oracle, PHP, Apache2

2003-07-10 Thread Harris, Jeff
bpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 #0 0x407a5582 in sskgmstat () from /opt/oracle/OraHome1/lib/libclntsh.so.9.0 -Original Message- From: Harris, Jeff Sent: Tuesday, July 08, 2003 5:52 PM To: '[EMAIL PROTECTED]' Subject: Weird Segfaults with Oracle, P

RE: [PHP-DB] Weird Segfaults with Oracle, PHP, Apache2

2003-07-09 Thread Harris, Jeff
-Original Message- From: Thies C. Arntzen [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 5:33 AM To: Harris, Jeff Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP-DB] Weird Segfaults with Oracle, PHP, Apache2 On Tue, Jul 08, 2003 at 05:51:47PM -0500, Harris, Jeff wrote:

[PHP-DB] Weird Segfaults with Oracle, PHP, Apache2

2003-07-08 Thread Harris, Jeff
atement($stmt); OCILogoff($conn); echo 'here7'; ?> The server segfaults right after it gets to "here3". If you comment out everything after here3, the page works fine. Running the $stmt select works fine if you use sqlplus. I'm not sure why it's dying. Has an

[PHP-DB] mcrypt: Is length of ciphertexts predictable?

2003-06-24 Thread Jeff Wiegley, Ph.D.
he padding that was used? Thank you, Jeff Wiegley -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] MySQL, PHP, and XML

2003-06-11 Thread Jeff Shapiro
gt; To unsubscribe, visit: http://www.php.net/unsub.php --- Listserv only address. Jeff Shapiro -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] problem with insert query

2003-06-07 Thread Jeff Shapiro
gt; > @ $db = mysql_connect("localhost"); > mysql_select_db("me2resh00"); > $query = "insert into recipients (recipient_name, recipient_email) values > ('"friend"', '".$mails[$i]."')"; > $result = mysql_query($query); > if ($result)

Re: [PHP-DB] How to find the last ID?

2003-06-06 Thread Jeff Shapiro
("INSERT INTO agents (agent_name) >VALUES ('$agentname') > > but I need to find out the ID value it created, how can I do this easily? > > Thanks > > Chris --- Listserv only address. Jeff Shapiro -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] checking for empty array from a form field? grrrrrrrrrrr!

2003-02-05 Thread Jeff Pauls
try : if (strlen($products) == 0) { echo "nothing entered in field"; } http://www.php.net/manual/en/function.strlen.php Jeff - Original Message - From: "Aaron Wolski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 0

[Fwd: Re: [PHP-DB] how to update a text BLOB in ODBC?]

2002-11-20 Thread Jeff Stern
hi, david, thanks for responding.. David Russell wrote: Hi Jeff, Just a question - why are you using ODBC instead of PHP's native Interbase connectivity? ODBC is definitely slower. good question.. i think it pretty much boils down to the following reasons: 1) my IP dept has voice

Re: [PHP-DB] how to update a text BLOB in ODBC?

2002-11-19 Thread Jeff Stern
thanks for the correction, miles and martin.. just an email typo. i still have the problem though. :( -- Jeff Stern 949-824-2326 [EMAIL PROTECTED] Social Sciences Computing Services University of California, Irvine 3151 Social Science Plz Irvine CA 92697-5100 On Tue, 19 Nov 2002

[PHP-DB] how to update a text BLOB in ODBC?

2002-11-19 Thread Jeff Stern
hi, i am having the devil of a time with this. have been researching it for 3 weeks. have posted to php.faqts.com (no answer), looked a million times on php.net, and www.borland.com/interbase, written people email (no response!) and even tried to get the people at easysoft to answer (they are w

[PHP-DB] dbx question - specifying a port for pgsql

2002-09-27 Thread Jeff Van Campen
variation of it could be used throughout dbx? Thank you, Jeff Van Campen -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] RE: [PHP] Weird intermittent "No Database Selected" problem

2002-06-06 Thread Jeff Field
have been due to mysql_pconnect or something holding open previous connections to the db and the script just connecting to the last connected db. Anyway... Sorry for the trouble! Jeff > -Original Message- > From: hugh danaher [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 0

[PHP-DB] Weird intermittent "No Database Selected" problem

2002-06-06 Thread Jeff Field
e with only some name changes (for security, ya know): And then the code in my include where I keep all the db connection stuff: Any help is appreciated!! Thanks! Jeff -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] replication questions

2002-05-20 Thread Jeff Field
ce I don't really care about the development db's being in synch on the master, why bother. Does this make sense? Anyway, I hope I've made this clear enough for someone to jump with answers and comments. Jeff -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: WELCOME to php-db@lists.php.net

2002-04-24 Thread Jeff Hibser
ter handled by PHP after pulling the data out of mysql? Any help I can get on this would be greatly appreciated. Thanks. -Jeff -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] DISTINCT Question

2002-04-20 Thread Jeff Oien
How can I do a query for a distinct field plus get the info from other fields? I tried this: select DISTINCT email, name_first, name_last, id from applicants; and it gave me everything. Thanks. Jeff Oien -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP-DB] MySQL to Email and Line Breaks

2002-04-14 Thread Jeff Oien
shows these breaks? I can't find any \n in the data. Then when it's sent via email of course there are no line breaks displayed. Jeff Oien > Hiya, > > If I remember correctly, you much send both \r and \n to terminate a line > on an e-mail, regardless of the platform. Thi

RE: [PHP-DB] Re: MySQL to Email and Line Breaks

2002-04-13 Thread Jeff Oien
I tried wrap=hard already. I should have mentioned that. Sorry if this is off topic. Jeff Oien > You need a wrap= within your textarea.. You may need a couple if the > browsers haven't come together on it yet.. But you can check it out here: > > http://www.blooberry.com/indexdo

RE: [PHP-DB] MySQL to Email and Line Breaks

2002-04-13 Thread Jeff Oien
This isn't what I'm looking for because the output is to email not HTML. What I would like is the natural line breaks in the form input to be preserved and then result in line breaks in the email without having to add any \n, which didn't work anyway. Jeff Oien > check ou

[PHP-DB] MySQL to Email and Line Breaks

2002-04-13 Thread Jeff Oien
d those \n show up in the database data. I must be missing something. Thanks for any help. Jeff Oien -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Re: Speed Up Code?

2002-03-25 Thread Jeff Oien
$row['username']; $title1 = $row['album_title']; $title = stripslashes($title1); $date1 = $row['date1']; $cnt = $row['cnt']; $display_block .= " $titleĀ  $cnt$date1"; } > Hi Jeff, > > the most important rule you should follow: don'

[PHP-DB] Speed Up Code?

2002-03-24 Thread Jeff Oien
make this more efficient? http://www.webdesigns1.com/temp/code.txt Jeff -- $table_name = "Chart_Users"; $sql = "SELECT * FROM $table_name order by album_title"; $result = @mysql_query($sql,$connection) or die(" Couldn't execute que

[PHP-DB] GREATEST, LEAST

2002-03-11 Thread Jeff Oien
Could anyone give me an example of how to use GREATEST and LEAST in a MySQL query. I want to look through the last 15 records in a certain field and find the highest and/or lowest number. Thanks. Jeff Oien -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP-DB] How to put data

2002-01-04 Thread Jeff Moncrieff
Hello How do you Normal put you mysql data in to a php table. Jef -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DB] Please help asap

2002-01-04 Thread Jeff Moncrieff
Hello I am trying make a script fatch my data form my mysql database. I use this script but when execute it is says Warning: printf(): too few arguments in /home/httpd/html/larken/database.php on line 47 any hints Thanks Jeff \n"; echo "Name of contactName of company Add

[PHP-DB] Unwanted Column Updating

2001-11-03 Thread Jeff Oien
W() where id = '$id'"; However, time1 is being updated to be the same as time2 after the exit and I don't want it to be. Am I missing something? Jeff Oien -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DB] Locating php.ini file

2001-09-10 Thread Jeff Panis
I can't seem to locate the php.ini file on my server. Phpinfo() shows it to be in /usr/local/lib but I can't seem to see it (logged as root). I'm on OSX Server 10.0.3 using PHP 4.0.6. Does anybody have have any clues where to locate this file? Thanks, Jeff Panis [EMAIL PROTECTED

[PHP-DB] Mail() function and the php.ini file

2001-09-10 Thread Jeff Panis
I'm attempting to setup the PHP module to allow the mail() function to work. As I understand, I need to edit the php.ini file? I can't locate the file to edit. Can someone point me in the right direction? I'm using OSX Server. Thanks, Jeff Panis [EMAIL PROTECTED] -- PHP Databa

[PHP-DB] Forms Question

2001-09-05 Thread Jeff Grossman
stored in $store to automatically fill in on the drop down list. But, for some reason it is defaulting to the first option, and not using the value that is in the database. Can I use a drop down menu, or should I just go to radio buttons? Thanks, Jeff -- Jeff Grossman ([EMAIL PROTECT

[PHP-DB] Parsing Error

2001-09-05 Thread Jeff Grossman
{ $store=$row["store"]; $jobdesc=$row["jobdesc"]; $rowid=$row["rowid"]; echo " $store $jobdesc Modify/ Delete \n; } echo ""; mysql_free_result($result); ?> Return To Main Menu Add An I

RE: [PHP-DB] Previous | Next (Again)

2001-08-31 Thread Jeff Oien
ut them into an array? Thanks for the help. Jeff Oien > I don't know of a way to do the insert in a single query (anyone?!?) with > this... but > > assuming the fields in pic are > id int PRI > location varchar(30) > picnumber int > user varchar(20) > > $query = &

RE: [PHP-DB] Previous | Next (Again)

2001-08-31 Thread Jeff Oien
sword stuff but this I'm just clueless. Jeff Oien > I would add the field "picnumber int" or something to your DB. > This is where the pic falls in the order of pics in the album. > > The the previous and next should be as simple as doing > select picnumber,picloc

RE: [PHP-DB] Password Question

2001-08-31 Thread Jeff Oien
I like the new password idea. How do I make sure it's them who's creating a new password so that someone else doesn't maliciously change their password? If someone knew someone's username and e-mail address I would think they could change it. Thanks. Jeff > This doesn'

[PHP-DB] Password Question

2001-08-31 Thread Jeff Oien
sword they use for other things I think it would be best for it to be encrypted. Jeff Oien -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DB] Previous | Next (Again)

2001-08-30 Thread Jeff Oien
s the second etc. and know which the current one is if the id field has gaps in it. Not sure if that made any sense. Jeff Oien -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrato

Re: [PHP-DB] Date_Format Question

2001-08-30 Thread Jeff Oien
;) from Chart_Users; or select date_format(creation_date, '%M %D, %Y') as creation from Chart_Users; Jeff Oien > Jeff, > > mysql> select now(); > +-+ > | now() | > +-+ > | 2001-08-29 21:21:50 | > +

RE: [PHP-DB] Date_Format Question

2001-08-29 Thread Jeff Oien
Isn't that what I tried? Jeff Oien > Although it might be better to format the date in php, don't forget you can > also do date formating in the select string. The date format functions for > mySQL can me found here: > > http://www.mysql.com/doc/D/a/Date_and_time_func

[PHP-DB] Date_Format Question

2001-08-29 Thread Jeff Oien
I have a date like this in date format in MySQL 2001-08-29 and I want it to say August 29, 2001 I tried this and it didn't work. select date_format('creation_date', '%b %D, %Y') from Chart_Users; Could you tell me what I'm doing wrong or how I should do th

RE: [PHP-DB] Photo Album Schema

2001-08-21 Thread Jeff Oien
I should have said photo_filename. That was what I intended to do. Would you suggest one directory for all photos or separate directories for each user? Jeff Oien > Rick: I don't see any .php tags there... plus just because someone > else has done it doesn't mean he can

RE: [PHP-DB] Photo Album Schema

2001-08-21 Thread Jeff Oien
Thanks for the suggestion but this is a personal project to be used for learning and as a place for friends to post photos with only the features that we all want. Jeff Oien > This has been done. see http://www.photopoint.com > > This is a free service available to the public.

[PHP-DB] Photo Album Schema

2001-08-21 Thread Jeff Oien
I want to make a photo album that will have users who sign up to create an album and then have the albums open to the public. I was thinking of doing it like this but I've never done a relational database before so if anyone thinks of anything I should change please let me know. Thanks. Jeff

RE: [PHP-DB] Re: Query and Date problem

2001-08-15 Thread Jeff Oien
> "Jeff Oien" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I want to retrieve the last 15 days of data from a certain time but > > not today's. I have this but it's still giving me today's data:

  1   2   >