[PHP-DB] Stupid 2-D ARRAY Question

2001-09-23 Thread Mark
Stupid 2-D ARRAY Question Can any body tell me why this doesn't work? I can't find any help on 2D arrays in PHP3 (i know, my server wont upgrade) $count = 1; while ($row = mysql_fetch_array($sql_result)) { $query_array[$count, 1] = $row[c_id]; $query_array[$count, 2] = $row[c_name]; $count =

Re: [PHP-DB] Resource id #2

2002-11-27 Thread Mark
name=signature.asc = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight to death to defend everyone else's right to the same thing. -Stolen from the now-defunct Randy's Random mailing list

Re: [PHP-DB] I got this idea...

2002-12-05 Thread Mark
it in realtime. Mark --- Ignatius Reilly [EMAIL PROTECTED] wrote: Well, we can only offer very general guidelines at this stage. What you can do is write a script that: - call all the URLs showing paintball prices (btw what is a paintball?) - extract the product name and price. this will require

RE: [PHP-DB] MySQL Array

2002-12-06 Thread Mark
/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED

Re: [PHP-DB] Function questions...

2002-12-06 Thread Mark
E-mail: [EMAIL PROTECTED] Web: http:\\ldsa.sbcld.sbc.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless

RE: [PHP-DB] passing variables

2002-12-09 Thread Mark
set, then it will overwrite your variable if you have register_globals on or simply extract() all superglobals. A **trivial** example: ? $var1=Ryan; // some set of PHP code extract($HTTP_GET_VARS); // or $_GET // more PHP code echo Hello .$var1; ? If I add ?var1=Mark to the URL for this page

Re: [PHP-DB] Help nedded

2002-12-10 Thread Mark
who could Thanks in advance. Spiderwebb -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing

RE: [PHP-DB] Crystal Report - PHP4 / Report Generator

2002-12-11 Thread Mark
KPMG client engagement letter. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED

Re: [PHP-DB] A little advise please

2002-12-11 Thread Mark
to be careful about capitalization in variable names. HTH, Mark --- [EMAIL PROTECTED] wrote: Hello, I have a bit of problem with a script . . . looking for help. The script pretty much works as it creates the table I want, However, the display is incorrect as it states the creation

Re: [PHP-DB] Re: Newbie - Is this possible with mysql? can i fake it in php?

2002-12-13 Thread Mark
.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ===== Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as

Re: [PHP-DB] Cool MySQL - Excel Shell Script

2002-12-13 Thread Mark
. http://www.macosxhints.com/article.php?story=20021125061350898 ~ Mike -- MikeZornek.com New blog, new QA column, new content everywhere! http://www.mikezornek.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark

Re: [PHP-DB] mysql database not 'taking' changes

2002-12-23 Thread Mark
] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight to death to defend everyone else's right

RE: [PHP-DB] mysql database not 'taking' changes

2002-12-23 Thread Mark
to the table(s)? Boy, do I feel lost... How would I check that? Thanks! Jody -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand

RE: [PHP-DB] mysql database not 'taking' changes

2002-12-23 Thread Mark
to take effect. Any ideas? Not to punt, but you might want to check with the Squirrelmail folks to see if that's normal behavior. I don't use it personally, but I can refer you to a few people who do if no one on this list knows... Thanks! Jody = Mark Weinstock [EMAIL PROTECTED

Re: [PHP-DB] php/mysql

2002-12-26 Thread Mark
Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight to death to defend everyone else's right to the same thing

Re: [PHP-DB] Re: Passing variables through a page

2003-01-07 Thread Mark
whether this is a database question ;-) Regards... Michael -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something

RE: [PHP-DB] need help spotting this php parse error

2003-01-23 Thread Mark
_ Use MSN Messenger to send music and pics to your friends http://messenger.msn.co.uk -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL

Re: [PHP-DB] print

2003-02-03 Thread Mark
of small independent publishing co. [EMAIL PROTECTED] [EMAIL PROTECTED] = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight to death to defend everyone else's right to the same thing. -Stolen from the now

Re: [PHP-DB] Re: problems with variables

2003-02-04 Thread Mark
= Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight to death to defend everyone else's right to the same thing. -Stolen from the now-defunct Randy's Random mailing list

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

2003-02-05 Thread Mark
{ echo bye; } if (!isset($products)) { echo hello; } else { echo bye; } if (count($products) == 0) { echo hello; } else { echo bye; } NOTHING works!!! Any help.. puuulease? Aaron = Mark

RE: [PHP-DB] collaborating on a document

2003-02-11 Thread Mark
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED

RE: [PHP-DB] How to access a MS Access DB

2003-02-14 Thread Mark
/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight to death to defend

Re: [PHP-DB] Preserving form field values between pages/tags

2003-02-18 Thread Mark
as a user clicks on each tag? Thanks, -Nelson -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you

Re: [PHP-DB] mysql_fetch_array and extract() with LEFT SELECT

2003-02-19 Thread Mark
Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight to death to defend everyone else's right

Re: [PHP-DB] TimeStamp format to date

2003-02-20 Thread Mark
--- 1LT John W. Holmes [EMAIL PROTECTED] wrote: Cumprimentos What'd you call me? I think he's offering you a free minty freshmaker. = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight

Re: [PHP-DB] SQL server procedore how to

2003-02-23 Thread Mark
the resulets the proc is returning what should i do?? tnx noam. by the way ,if i use the sql server Query Analyzer, i'm getting the wanted results -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED

Re: [PHP-DB] Multiple select box using mysql

2003-02-24 Thread Mark
!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something

Re: [PHP-DB] Making Join

2003-02-28 Thread Mark
, and there's more than one photoo for a user, how will the code know which photo you want? Do you want a random photo from each user? The last photo from each user? The first? Mark = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you

Re: [PHP-DB] php and local printing

2003-03-04 Thread Mark
$P_ID [EMAIL PROTECTED] : -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something

RE: [PHP-DB] Storing browser stats

2003-03-06 Thread Mark
-- Mignon Hunter Web Developer Toshiba International 713.466.0277 x 3461 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something

RE: [PHP-DB] Don't Understand

2003-03-12 Thread Mark
--- Snijders, Mark [EMAIL PROTECTED] wrote: that's bull on www.marksnijders.com and www.nederlandmobiel.nl i use those scripts (php and the GD functions ) for automatically changing the file size... I think you're missing what he's saying. He's not saying that you can't resize an image

Re: [PHP-DB] MySQL Query help please!

2003-03-12 Thread Mark
where the STATS.TO_PORT matches PORTS.PORT and just a zero if theres no entry in STATS. Anyone got any ideas? Thanks Dan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED

Re: [PHP-DB] How to Connect remote DB server?

2003-03-12 Thread Mark
-- /* Dr. Livingston? Dr. Livingston I. Presume? */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless

Re: FW: [PHP-DB] problem connecting w/ODBC

2003-03-18 Thread Mark
, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight

Re: [PHP-DB] Nested MySQL Query

2003-03-18 Thread Mark
Project_Name = $_POST[project_name]) thanks for your help -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right

[PHP-DB] using checkbox in php to delete

2003-03-18 Thread Mark
hello i have been trying to delete items from a guestbook using multiple checkbox fields but have had no success this is the code i have been using to add the checkbox's to the records: while ($rows = mysql_fetch_array($result)) {

[PHP-DB] deleting multiple records using a checkbox

2003-03-18 Thread Mark
hello i have been trying to delete items from a guestbook using multiple checkbox fields but have had no success this is the code i have been using to add the checkbox's to the records: while ($rows = mysql_fetch_array($result)) {

[PHP-DB] deleting records using a checkbox

2003-03-18 Thread Mark
hello i have been trying to delete items from a guestbook using multiple checkbox fields but have had no success this is the code i have been using to add the checkbox's to the records: while ($rows = mysql_fetch_array($result)) {

Re: [PHP-DB] SELECT * FROM Command *REVISED*

2003-03-19 Thread Mark
$val/td); } print (/tr); print(/table); /* Close link to MySQL */ mysql_close($link); ? /body /html = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight to death to defend everyone

[PHP-DB] deleting guestbook messages

2003-03-20 Thread Mark
hi im having major problems deleting multiple messages from the guestbook i have created im new to php so any replies to this problem will have to easy for me to understand i have got my guestbook reading and showing entries and have added checkboxes under each entry for the deletion process

[PHP-DB] deleting guestbook messages with code attachment

2003-03-20 Thread Mark
hi im having major problems deleting multiple messages from the guestbook i have created im new to php so any replies to this problem will have to easy for me to understand i have got my guestbook reading and showing entries and have added checkboxes under each entry for the deletion process

Re: [PHP-DB] Retrieve the field name itself instead of the info of the field name

2003-03-21 Thread Mark
; mysql_close(); _ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't

Re: [PHP-DB] combination of fetch_field and fetch_row

2003-03-24 Thread Mark
_ Chat with your online buddies with MSN Messenger http://messenger.msn.be -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You

RE: [PHP-DB] I have a problem to add a new line to the body of my email when I am using 'a href=mailto: ... function

2003-06-06 Thread Mark
Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't

Re: [PHP-DB] [SPAM?] [PHP-DB] VERY URGENT

2003-05-27 Thread Mark
- L.S.Caine Electronic Services -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight

RE: [PHP-DB] how to update field without using UPDATE query? you are kidding?

2003-06-10 Thread Mark
to Outlook(TM). http://calendar.yahoo.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight

Re: [PHP-DB] mysql problem importing data

2003-08-14 Thread Mark
mysqld ended Has anybody an idea on how to import that data? Its nicely seperated by ; Thanx for any help, Merlin -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED

Re: [PHP-DB] Creating an autonumber setup

2003-09-09 Thread Mark
query), not within the database. That way if a project manager takes over another one's work, you don't need to change the data, just the function that handles the numbering schemes. = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something

Re: [PHP-DB] Re: PHP connection to remote Access database on NT

2003-09-12 Thread Mark
://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a right unless you are willing to fight to death to defend everyone else's right to the same thing

Re: [PHP-DB] Struggling

2004-05-05 Thread Mark
) AND (e.evt_sponsor_id4=d.evt_sponsor_id OR e.evt_sponsor_id4 =0) Thanks for the help, Erik W. Meyer -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand

Re: [PHP-DB] Convert HTML Table to Tab Delimited .TXT file

2004-05-24 Thread Mark
-Disposition: attachment; filename=excelfile.xls); Replace excelfile.xls with whatever you want the filename to be Then write out your table as you would normally. the result should be an excel file either downloaded or opened in the browser, depending on the browser settings. = Mark Weinstock [EMAIL

Re: [PHP-DB] Convert HTML Table to Tab Delimited .TXT file

2004-05-24 Thread Mark
complicated... Thanks, dave Wow, thanks. I'm gonna give this a try right now. dave Mark Weinstock at [EMAIL PROTECTED] recently wrote... Maybe I'm missing something (quite possible), but you can make the work happen autogically by using http headers. header(Content-type

Re: [PHP-DB] php-db@lists.php.net is currently protecting themselves from receiving junk mail using Spamcease Just this once, click the link below so I can receive your emails.

2004-08-05 Thread Mark
receive JAM your emails. JAM You won't have to do this again. CLICK THE LINK SO HE CAN RECEIVE YOUR MAIL, and you won't have to do this again ;) -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock

Re: [PHP-DB] Insert Query PROBLEMS

2004-09-10 Thread Mark
'].',. email = '.$_POST['email'].'. WHERE ID='.$_GET['record'].'; Thanks, Aaron -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Mark Weinstock [EMAIL PROTECTED] *** You can't demand

Re: [PHP-DB] Error with addition of second

2004-09-18 Thread Mark
is diastrous for economyBR input type=radio value=1 checked name=q Inflation is not of much concern BR INPUT TYPE=SUBMIT NAME=submit VALUE=See Score /form/body /html = Mark Weinstock [EMAIL PROTECTED] *** You can't demand

Re: [PHP-DB] array field type

2007-03-06 Thread Mark
Sancar Saran wrote: Thanks for all those replies. It seems there was no easy solution (and or serializing was better solution) for us. Our arrays contains lots of things.. XML may not fit because content of array may broke xml structure. Before you give up, take a look at the XMLDBX PHP

RE: [PHP-DB] Getting last row, moving backwards..

2001-01-19 Thread Mark Roedel
, in descending order). --- Mark Roedel| "A wise man once told me that everything in Systems Programmer | life is either a lesson or a joke. Our task LeTourneau University | is to figure out which is which..." Longview, Texas, USA | -- Chris Savage

RE: [PHP-DB] Help with loop

2001-01-25 Thread Mark Newnham
$res = mysql_query("SELECT * FROM ecomm where ID ='$sid'",$db)) if(!$res){echo("error preforming query: " . mysql_error());exit();} //error trap while( $row=mysql_fetch_array($res)){ $pno=$row["part"];

RE: [PHP-DB] query error

2001-01-25 Thread Mark Newnham
Looks fine, now retrieve the rows from the query. -Original Message- From: Randy Johnson [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 12:46 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] query error When I run any kind of query this is the value of result

[PHP-DB] Oracle TNS problems with PHP4?

2001-02-02 Thread Mark Farver
of you have Oracle working with PHP4? What version of the Oracle drivers? Are you accessing a local db or a remote one? Did you have to tweak any settings to make it work? Windows or Unix? Thanks Mark -- "The greatest dangers to liberty lurk in insidious enroachment by mean of zeal,

[PHP-DB] --with-Oracle caused apache to not load

2001-02-05 Thread Mark Farver
If I compile php using --with-oracle and --with-apxs and try to load that module apache seg faults on loadup. Compiling php without oracle works fine. Compiling php with oracle and as a CGI works fine. I'm running Oracle 8.1.5, php4.0.4pl1 and apache 1.3.14 under RH6.2 Any ideas? Mark

Re: [PHP-DB] How to set up PHP to access Oracle

2001-02-05 Thread Mark Farver
it to the webserver periodically. PHP can the read that data from a file or the provider's mysql server. Good luck. Mark -- 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

Re: [PHP-DB] reading dbfs from remote server

2001-02-09 Thread Mark Farver
You'll need to tell us more about how you are accessing these files. Over a Windows share? (Off topic) Or are you using php's url/file read functions to access them right off the webserver. Code we see a small code snippit? Mark On Fri, 9 Feb 2001, Guridi, Jose wrote: I have an NT web

RE: [PHP-DB] runing a query and a another task at the same time

2001-02-19 Thread Mark Newnham
by the program. HTH Mark -Original Message- From: Pedro M. S. Oliveira [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 6:02 PM To: PHP db Subject: [PHP-DB] runing a query and a another task at the same time hello all! i was wondering how to do a php script that works

RE: [PHP-DB] SELECT problem (2)

2001-02-22 Thread Mark Newnham
You probably want this.options[this.selectedIndex].value -Original Message- From: Julio Cuz, Jr. [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 2:36 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] SELECT problem (2) Hi-- Sorry, I forgot to finish the previous

RE: [PHP-DB] Redirect command?

2001-02-22 Thread Mark Newnham
if ( $x==true) { print "script language='javascript'\n"; print "window.open('b.php','_self');\n"; print "/script\n"; die; } -Original Message- From: Julio Cuz, Jr. [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 3:23 PM To: [EMAIL PROTECTED] Subject:

[PHP-DB] Problem with odbc_field_type?

2001-03-05 Thread Mark Newnham
Is there a problem with odbc_field_type? I always receive a null back. I dont have a problem with odbc_field_len. Is it perhaps that some db types don't respond correctly. Thanks Mark -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP-DB] File Optimisation

2001-03-14 Thread Mark Newnham
such as mouseovers. Regards Mark -Original Message- From: Steve Brett [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 4:02 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] File Optimisation I have a calendar system that details the appointments for various departments in the company

RE: [PHP-DB] php/linux/mssql

2001-03-19 Thread Mark Roedel
-dbmfix flag for configure when building FreeTDS? (If so, have you made the appropriate changes in PHP's code or applied the patches from the FreeTDS website?) --- Mark Roedel ([EMAIL PROTECTED]) || "There cannot be a crisis next week. Systems Programmer / WebMaster || My schedule is al

[PHP-DB] Transmitting Arrays

2001-03-20 Thread Mark Collin
I have a form which dynamically builds a table by taking data out of a mysql database http://www.fyrespray.net/screenshots/admin/modifyscreenshot.php4?pageid=1 but i'm having problems whn i try to modify the data i'm trying to put all the data into arrays serialize it, urlencode it then send it

Re: [PHP-DB] Sessions and MySQL

2001-03-21 Thread Mark Robinson
Hello Rob, Tuesday, 20 March 2001, you wrote: RW I am trying to implement session support with mysql. I am using RW session.set_save_handler but don't really have a great set of functions does RW anyone have some good ones? Try http://www.phpbuilder.com/columns/ying2602.php3 Mark

Re: [PHP-DB] PHP, ADO/ODBC and MS Access 97 Queries

2001-03-21 Thread Mark Robinson
Hello Darren, Monday, 19 March 2001, you wrote: CD Can anyone give me any pointers on how I can execute queries in MS Access97 CD from PHP and get the results back using either ADO or ODBC? CD Thanks in advance CD Darren Try http://www.phpbuilder.com/columns/siddarth2228.php3 Mark

[PHP-DB] database search

2001-03-26 Thread Mark Collins
Hope you can help, I have put a basic database together which add, deletes, updates and edits records but I am not sure where to start with searching the data base. I have already got it working a bit using ereg and a while loop, but it is case sensitive and wont find a match in the middle of a

RE: [PHP-DB] HERE doc

2001-03-29 Thread Mark Roedel
have tried to make this work with PHP4.04 with no success. I also haven't found any reference to HERE docs in the PHP documentation. Is this really supported in PHP? http://www.php.net/manual/en/language.types.string.php --- Mark Roedel ([EMAIL PROTECTED]) || "There can

[PHP-DB] HELP: Eporting data from mySQL with PHP

2001-03-30 Thread Mark Rosenberg
of it in the PHP doc. Any thoughts? code snippets? Thanks in Advance, Mark Rosenberg Michigan State -- 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]

RE: [PHP-DB] array_diff usage

2001-04-02 Thread Mark Roedel
y do. How are you assigning the values you described at the top of your message? --- Mark Roedel ([EMAIL PROTECTED]) || "There cannot be a crisis next week. Systems Programmer / WebMaster || My schedule is already full." LeTourneau University ||-- Henr

RE: [PHP-DB] array_diff usage

2001-04-02 Thread Mark Roedel
-Original Message- From: Martin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 10:48 AM To: Mark Roedel; [EMAIL PROTECTED] Subject: RE: [PHP-DB] array_diff usage This, on the other hand, makes me suspect that the arrays themselves don't actually contain what you

RE: [PHP-DB] Please help me with this script...

2001-04-02 Thread Mark Roedel
sample code that should help you troubleshoot exactly what went wrong, see http://www.php.net/FAQ.php#7.12 --- Mark Roedel ([EMAIL PROTECTED]) || "There cannot be a crisis next week. Systems Programmer / WebMaster || My schedule is already full." LeTourneau

RE: [PHP-DB] mysql_result()

2001-04-04 Thread Mark Roedel
($result, 0, 'town_city'); $postcode = @mysql_result($result, 0, 'postcode'); Looks reasonable to me...what happens when you try it? --- Mark Roedel ([EMAIL PROTECTED]) || "There cannot be a crisis next week. Systems Programmer / WebMaster || My schedule is already full."

RE: [PHP-DB] How I can use multiple results in MySQL

2001-04-23 Thread Mark Roedel
= table.region AND table.name='Brazil' For the second, I'd do something like SELECT name FROM table ORDER BY count DESC LIMIT 1 --- Mark Roedel ([EMAIL PROTECTED]) || There cannot be a crisis next week. Systems Programmer / WebMaster || My schedule

RE: [PHP-DB] Supplied argument is not a valid MySQL result resource...

2001-04-23 Thread Mark Roedel
a problem in the Query: ie.: $db_handle = mysql_connect(localhost, mysql, mysql); if($db_handle) { $result = mysql_db_query(mysql, select * from user, $db_handle); if($result = TRUE) if ($result == TRUE) --- Mark Roedel ([EMAIL PROTECTED]) || There cannot be a crisis next

[PHP-DB] odbc_tableprivileges help required

2001-05-02 Thread Mark Newnham
/apache/lib/htdocs/poinv/test.php on line 9 Warning: Supplied argument is not a valid ODBC result resource in /opt/apache/lib/htdocs/poinv/test.php on line 11 So my understanding of this is obviously incorrect Thanks Mark # Mark Newnham Application

[PHP-DB] Url link

2001-05-14 Thread Mark McCray
to do next/prev buttons? Thanks!!! Mark -- 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] file() fails to read https

2001-05-14 Thread Mark Cain
actually cut the above address and paste it into the address bar and get the results that I am expecting.) So, my question is How do I read this secure file? No one even mentions https in the file() function section of php.net. Thanks, Mark

RE: [PHP-DB] Informix question

2001-06-22 Thread Mark Roedel
(we're still on 9.x here). The speaker didn't know the setting off the top of his head, but indicated it was in Informix's online documentation, searchable at http://www.informix.com/answers/ --- Mark Roedel ([EMAIL PROTECTED]) || There cannot be a crisis next week. Systems Programmer

RE: [PHP-DB] Is MySQL in 4.0.6?

2001-06-26 Thread Mark Roedel
successfully connecting to a MySQL server. From what i've heard, MySQL is included in PHPbut why doesn't the connect work if it is included? Do you actually have a MySQL server running? --- Mark Roedel ([EMAIL PROTECTED]) || There cannot be a crisis next week. Systems Programmer

RE: [PHP-DB] MySQL Error???

2001-06-28 Thread Mark Roedel
that's causing problems... --- Mark Roedel ([EMAIL PROTECTED]) | There cannot be a crisis next week. Systems Programmer / WebMaster | My schedule is already full. LeTourneau University | -- Henry Kissinger -- PHP Database Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP-DB] RE: Storing Code in a db?

2001-07-02 Thread Mark McCray
Here was the application I was thinking of creating for my organization. We wanted to make an online survey tool. Where you can create a survey, with sections, possibly subsections, questions, and acceptable answers. It's easy enough to create this stuff each and every time, but it's

RE: [PHP-DB] mysql_query returns nothing?

2001-07-05 Thread Mark Roedel
database access or connection.) --- Mark Roedel ([EMAIL PROTECTED]) || There cannot be a crisis next week. Systems Programmer / WebMaster || My schedule is already full. LeTourneau University ||-- Henry Kissinger -- PHP Database Mailing List (http://www.php.net

Re: [PHP-DB] session troubles

2001-07-05 Thread Mark Collin
are you setting your session before the head /head tags ?? if not that could be your problem - Original Message - From: Brad Wright [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 4:16 PM Subject: [PHP-DB] session troubles Hi all, Im new to this mailing list

[PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Mark Gordon
); next($wordsarray); $sql=$sql.$word); $i++; } print $sqlhr; while ($myrow=mysql_fetch_row($sql)) { print $myrow[0],p; } = Mark [EMAIL PROTECTED] __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http

[PHP-DB] using ADODB db class

2001-07-10 Thread Mark Newnham
? Thanks Mark -- 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]

RE: [PHP-DB] Production: Linux/Apache/PHP -- FreeTDS -- W2K/MSSQL 7.0

2001-07-12 Thread Mark Roedel
, and mssql_min_message_severity.) --- Mark Roedel | The most overlooked advantage to owning a Systems Programmer| computer is that if they foul up there's no LeTourneau University | law against whacking them around a little. Longview, Texas, USA | -- Owen Porterfield -- PHP Database

RE: [PHP-DB] Random Password Generation/MSSQL

2001-07-12 Thread Mark Roedel
used for besides sql services, how heavily it's being utilized, etc. --- Mark Roedel | Nothing in life is so bad that it cannot be Systems Programmer| made much, much worse by the addition of LeTourneau University |lots of spikes and razors. Longview, Texas, USA

Re: [PHP-DB] Still stuck on Sessions :-(

2001-07-18 Thread Mark Collin
I personally tend to use arrays for my sessions, i just find it easier that way this sort of thing works for me:- html ? session_start(); session_register(SESSION); ? head /head body $SESSION[user]=$whatever; $SESSION[password]=$whatever; echo(Welcome . $SESSION[user] ., Please Click On A Link);

RE: [PHP-DB] PHP x Progress

2001-07-23 Thread Mark Newnham
Yes, ODBC - If you are using unix, i recommend the openlink MT drivers (www.openlinksw.com) There is no native mode interface available for PROGRESS. -Original Message- From: André [mailto:[EMAIL PROTECTED]] Sent: Monday, July 23, 2001 11:42 AM To: [EMAIL PROTECTED] Subject:

RE: [PHP-DB] Re: Making a new row in HTML tables

2001-07-25 Thread Mark Roedel
; case 9: $row_width=3; break; default: $row_width=6; } should do the trick. --- Mark Roedel | The most overlooked advantage to owning a Systems Programmer| computer is that if they foul up there's no LeTourneau University | law against whacking them around a little

[PHP-DB] How to I fetch an image file from /tmp directory?

2001-07-29 Thread Mark Gordon
I am inserting binary image data into a mysql table (mediumblob). Actually, what goes into the table is the /tmp... pathname. This is the code I used to try to retrieve, but I get Resource ID#2 $get=mysql_query(SELECT bin_data FROM binary_data WHERE id=$id); printimg src=$get; = Mark

[PHP-DB] Still trying to get image from /tmp path

2001-07-29 Thread Mark Gordon
binary_data WHERE id=4); $row = mysql_fetch_array($sql); header(Content-type: image/jpeg); echo img src=$row[0]; How can I use the path stored in the db to retrieve the image? = Mark [EMAIL PROTECTED] __ Do You Yahoo!? Make international calls

[PHP-DB] Can I UPDATE 2 tables with 1 SQL statement?

2001-07-30 Thread Mark Gordon
='$data', filename='$form_data_name', filesize= '$form_data_size', filetype='$form_data_type' WHERE bandname='$name' AND bands.bin_id=binary_data.bin_id ); Thanks all you smart people. = Mark [EMAIL PROTECTED] __ Do You Yahoo!? Make international

  1   2   3   4   >