[PHP-DB] Re: [PHP] printing an array

2002-10-24 Thread @ Edwin
Hello, "Chris Grigor" <[EMAIL PROTECTED]> wrote: > Hey there all > > > Im sure that someone out there can answer this question.. > > I have a problem, how can I print each element in an array so that is > returned into a table? > First, make sure that you have your 's in the proper places. Then

Re: [PHP-DB] Re: Where have my errors gone?

2003-03-13 Thread - Edwin
Hi, "Alex Francis" <[EMAIL PROTECTED]> wrote: > Got it . > My ISP had upgraded PHP and left "error reporting" off. They have now > fixed it for me. Great! But I think you'd have had the same effect if instead of this: > > I have tried adding error_reporting=E_ALL; to the page, but sti

Re: [PHP-DB] Problem with select-tag within a php-script

2003-07-03 Thread - Edwin -
Hi, Ruprecht Helms <[EMAIL PROTECTED]> wrote: [snip] > while($row = mysql_fetch_object($result)) > { > echo "ID.\'>"; [/snip] Should be: echo ""; ? - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP

[PHP-DB] PostgreSQL and HTML output

2002-10-18 Thread Edwin Robertson
With psql you can get all your output in HTML format. Anyone know of a way to do this in PHP? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: How to Make a Pop Up Window and show there a mysql table?

2003-01-20 Thread Edwin Boersma
in each option: ','','')> Code & description where: is the name of the field in the form is what you want to put there is the name of the form For an example, see my website http://www.cyclades-info.com. Press the question mark in the search form. If you ne

[PHP-DB] Re: passing variables through frames

2003-02-01 Thread Edwin Boersma
It's better to use , because my experience is that it does not work with passing them in the "action"-option of form. This is the case if u have other input boxes, at least I think it is. If u don't have other input fields, just use Edwin Matt wrote: It basically just l

[PHP-DB] Re: to connect access mdb

2003-02-01 Thread Edwin Boersma
Use the correct ng for your problems. this is for PHP, not ASP. Qt wrote: Dear Sirs, I try to connect my access mdb with following script but I can not succed. I get following error. This server is currently overloaded - please try again later Any idea where is the my mistake. I am using

Re: [PHP-DB] MySQL result resource

2003-02-01 Thread Edwin Boersma
uot; inbetween to see which string your passing to mysql_query(). Edwin John W. Holmes wrote: It means your query failed... it always means your query failed for some reason (unless you typo a variable name...). Learn to use mysql_error() in conjunction with mysql_query(). Also, like I said

Re: [PHP-DB] REVISED; need INSERT help

2003-02-01 Thread Edwin Boersma
What about using a form identifier? In each form, use and so on. Then, use: switch ($formident) { case "form1": your action for this form break; case "form2": and so on. Edwin Mark wrote: I haven't been following any other threads relating t

[PHP-DB] Parsing html entities to javascript

2003-02-01 Thread Edwin Boersma
" the entities (and html at all), and thus displays them as they are, e.g. &913;&954;. How can I use php to solve this? I tried unescaping and so, but without result. Or can I tell PHP to store the characters as it did before? Greetz, Edwin Boersma Naxos, GR -- PHP Database

[PHP-DB] Re: font options

2003-02-02 Thread Edwin Boersma
add some html: echo "", or use a style sheet where you define a DIV. Then echo ". At the end of your echo, don't forget to close the tag. Edwin Addison Ellis wrote: hello, what is the proper way to get a block of echoes to echo with the same font, size,

Re: [PHP-DB] Re: to connect access mdb

2003-02-02 Thread Edwin Boersma
Sorry, I wasn't looking good and sent the post too fast :-( I have these strange reactions on M$ stuff. Micah Stevens wrote: looks like PHP to me. COM connections to Access only handle a few connections at a time. The use of a real DB server is reccommended in your situation.i

[PHP-DB] Re: list menu

2003-02-02 Thread Edwin Boersma
You mean, with ? For this, you need a style sheet, or at least style entry in 'select', like this: http://www.w3.org/Style/ for more info on styles. BTW: if the values are the same a what you are displaying, you don't need value="". Edwin Addison Ellis wrote:

[PHP-DB] Re: Problem

2003-03-08 Thread Edwin Boersma
Does not sound like a PHP problem to me, more like IIS. Try and find some system messages that relate to the link between the servers. Edwin Kiswa wrote: Ok here is the problem. At home i run an Apache server with php4 and the server its supposed to be run on is NT5 and iis with php4 The site

[PHP-DB] Re: Need help with php and apache

2003-03-08 Thread Edwin Boersma
Post this message to php.install. Stephen K Knight wrote: I am currently running on a Windows Box the OS is ME I have installed apache 2.0.44 and I have downloaded the newest PHP download for windows. I have read the configuration manual repeatedly for getting the php into the apache httpd.conf do

[PHP-DB] Re: mysql - first element missing

2003-03-08 Thread Edwin Boersma
Therefor, add a mysql_data_seek($this->result,0) to reset the pointer. Furthermore, instead of the for-next loop, I would use while ($row = mysql_fetch_row($this->result). Edwin Foong wrote: i guess the problem is the last line of your Query function: $this->ligne = @mysql_fetch_

[PHP-DB] Re: subtracting times

2003-03-08 Thread Edwin Boersma
I see 2 replies Edwin David Rice wrote: I know I asked this before buy no-one gave me an answer i was looking for, I want to subtract two times and the ammount of hours worked to 2decimal places (3.41 hours) cheers, dave

Re: [PHP-DB] php, mssql and french accents

2003-03-11 Thread Edwin Boersma
Your code page setting might be wrong. Edwin Benjamin Masdoua wrote: Hello, I'm developping an application using php and mssql. I have problems with french accents, when I insert something from php, and i consult it by enterprise manager (sql server) the accents are replaced, example

[PHP-DB] Re: sorting results in PHP

2003-03-18 Thread Edwin Boersma
What about making an array with dates, that you compiled from Year, Month, Date using mktime(), and sort that? Edwin Bill wrote: I have a query that returns results including the fields Year, Month, and Day that I want to sort by date. Because of the nature of the query (it includes a GROUP BY

Re: [PHP-DB] Define()

2003-03-18 Thread Edwin Boersma
Where is the $-sign in front of the vars??? Edwin Jonathan Villa wrote: Jim, I don't think that matters. One can escape into PHP in several ways (depending on the php.ini config of course) 1. 2. 3.

[PHP-DB] mysql_affected_rows() question: what was changed?

2003-03-18 Thread Edwin Boersma
ed to .". Edwin -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Does Php support Flash files ?

2003-03-19 Thread Edwin Boersma
What the fuck R U doing in my thread??/ Rajni Arya wrote: Hi, Does PHP supprots Flash files on Open BSD platform ? Thanks in advance. --Rajni -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: MySQL and Cyrillic

2003-03-19 Thread Edwin Boersma
You have to put these lines in your html-page: Edwin Nikolay Nikolov wrote: Hello! I have problem with database, where have field with cyrillic char(1). I cant select by this field, because MySQL dont understand this chars as different. How can set default charset to win1251 or cp1251? I use

Re: [PHP-DB] Re: Does Php support Flash files ?

2003-03-19 Thread Edwin Boersma
Swearing Well, the word 'fuck' is a bit rude, but I don't think it is swearing. But I get the reactions that I was looking for :-) At 11:34 19-3-03, you wrote: Hi Edwin On Wednesday 19 March 2003 17:21, Edwin Boersma wrote: > What the fuck R U doing in my thread

Re: [PHP-DB] mysql_affected_rows() question: what was changed?

2003-03-20 Thread Edwin Boersma
Not really true, unless I learned programming in a different way ;-) I mean, if I send an update query, like "update table set field1=$nfield1, field2=$nfield2 ...", I don't know WHICH fields have changed. mysql_affected_rows() only reports how many records were changed. So, if I want to know w

[PHP-DB] Re: Really easy question

2003-03-20 Thread Edwin Boersma
I think Jeremy means how to use it as an integer, if it is stored as a string. In this case, use $intvalue = $strvalue + 0, where $strvalue is "0", "1" and so on. Edwin Jeremy wrote: Hey folks, Im apologize that this is just a really easy general php question but any help w

[PHP-DB] Re: Reading from file on local disk

2003-03-20 Thread Edwin Boersma
have no problems. Edwin Jan Meiring wrote: Hi everyone This is what I want to do: I have a file on each workstation that gets created each time the pc is rebooted - the file save the pc configuration plus the current user logged onto the machine, I want to read from that file variables so that I

Re: [PHP-DB] removing values from arrays

2003-06-09 Thread Edwin Boersma
You can also use unset(): if (!array[$key]) unset array[$key]. Edwin Peter Beckman wrote: $x=0; while ($row = mysql_fetch_array($r)) { while(list($key,$val)=each($row)) { if (!empty($val)) $mydata[$x][$key] = $val; } $x++ } Peter On Wed, 21 May 2003, John wrote: ok I&#x

RE: [PHP-DB] SQL query

2006-09-28 Thread Edwin Cruz
hy mysql dont accept your query, is like trying to compare vs more than one scalar value Regards! +----+ | Ing Edwin Cruz <[EMAIL PROTECTED]>    | ++ | Transportes Medel Rogero SA de CV  | |    | | Desk:  +52 (449) 910 30 90 x3054   | ++ |

RE: [PHP-DB] Sending filing attachments using PHP

2006-05-11 Thread Ing. Edwin Cruz
Have a look on this: http://framework.zend.com/manual/en/zend.mail.attachments.html It seems to be easy with zend framework -Mensaje original- De: Ron Piggott (PHP) [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 11 de Mayo de 2006 05:34 p.m. Para: PHP DB Asunto: [PHP-DB] Sending fili

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

2002-04-14 Thread Jonathan David Edwin Wright
Hiya, If I remember correctly, you much send both \r and \n to terminate a line on an e-mail, regardless of the platform. This should include the header aswell. At 12:00 14/04/2002 +0100, DL Neil wrote: >Jeff, > > > I have a form where someone enters the body of an email message > > into a pa

[PHP-DB] Re: [PHP] convert yyyy/mm/dd to mm/dd/yyyy, how?

2002-01-13 Thread Jonathan David Edwin Wright
Hiya, Personally, I use the following bit of code. All it does is take a 14 digit timestamp and convert it into a unix timestamp: function date($date) { //Extract the parts from the date $year = substr($date, 0, 4); $month = substr($date, 4, 2); $day = substr($date, 6, 2);