, 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 | ++
| MX Mobile: +52 (449) 111 29 03
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
Hi,
Ruprecht Helms [EMAIL PROTECTED] wrote:
[snip]
while($row = mysql_fetch_object($result))
{
echo option value=\'.$row-ID.\';
[/snip]
Should be:
echo option value=' .$row-ID. ';
?
- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by
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've
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
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 would
be appreciated
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
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
You have to put these lines in your html-page:
meta
HTTP-EQUIV=Content-Type
CONTENT=text/html; CHARSET=Windows-1252
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
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??/
Rajni Arya wrote
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
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. ?php
2. ?
3. script language=php
4. %
5. ?= (to echo something right away)
Anyway, I tried
to ..
Edwin
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 still no
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 paté
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
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
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_row($this-result
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
add some html: echo font family= color= size..., or use a
style sheet where you define a DIV. Then echo div [class=...].
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
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
Edwin
need value=.
Edwin
Addison Ellis wrote:
hi and thank you for your time...
how do i, as my text fields are echoing a selected value, get my
list menus to do the same?
text field has: ? echo $arow-contact; ?
list menu has:
select name=property
option value=? echo $row
.
Edwin
Matt wrote:
It basically just looked something like this:
form method='POST' action='url.php?var1=$var1var2=$var2'
You just post the variables you want to pass throught the url string. It is
pretty simple.
Stefan Panayotov [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">new
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
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 before,
mysql_db_query() is depreciated
What about using a form identifier? In each form, use input type=hidden
name=formident value=form1 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
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 Mailing List (http
/a
where:
ChangeWhat is the name of the field in the form
Value is what you want to put there
FormName 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 need more help, mail me.
Regards,
Edwin
José Luis wrote
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 tr/tr's in the proper places.
Then, make
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
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 textarea
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);
32 matches
Mail list logo