Is it my imagination, or does setAttribute return FALSE on success and TRUE
on failure? I've tested it with getAttribute, and it definitely seems to
work the reverse of what the documentation states.
I'm using MySQL, and I am setting the error handling.
--
PHP Database Mailing List
I hope by now you figured this out, but you have to use $dbh-setAttribute()
to enable exception handling for anything but the initial object creation.
Worse yet, as of 2007/04/20 the return values of setAttribute are reversed.
It returns TRUE on failure and FALSE on success.
Rodney Topor
Hi,
Not PHP or MYSQL related but relates to the use of this DIGEST using Yahoo!
Mail (beta). Is there anyone else that uses Yahoo! Mail (beta) and recieves
these DIGESTS? I don't mean the single emails you get but the DIGEST.
If I go back to the OLD version of the mail and view any DIGEST
snip
Forget to tell you, that if I used http://localhost http://localhost/
, the session running well...
But if I change with http://hostname http://hostname/ , the session
wasn't running...
/snip
http://localhost and http://hostname/ are 2 COMPLETELY different things and can
reflect
for this!
Thanks for your time.
Jerry
Send instant messages to your online friends http://au.messenger.yahoo.com
things.
I just feel this question is not required here when google has all the
answers like this.
Jerry
or something?
Jerry
- Original Message
From: Bastien Koert [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; php-db@lists.php.net
Sent: Wednesday, 8 November, 2006 2:45:49 AM
Subject: RE: [PHP-DB] RE : RE: [PHP-DB] re: small question php/postgreSQL
(basic question, not small
statement
try
$result=pg_query($query) or die(pg_error()); //to see if there are any
errors with the query
while($row=pg_fetch_array($result,NULL,PGSQL_ASSOC)) {
echo Title: .$row['isbn_no'].
;
echo blah .$row['code_livre'].
;
}else{
echo No rows found;
}
bastien
From: JeRRy
To: php-db
True, sorry! (missed that, haha wake up!)
- Original Message
From: Chris [EMAIL PROTECTED]
To: JeRRy [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Sent: Wednesday, 8 November, 2006 3:14:01 PM
Subject: Re: [PHP-DB] Re: RE : RE: [PHP-DB] re: small question php/postgreSQL
(basic question
Hi,
In reponse to the person that recently posted for conversion try these links:
(Sorry the proper subject was lost while doing this)
http://www.barelyfitz.com/projects/jssyndicate/
http://www.google.com.au/search?hl=enq=convert+standard+data+to+RFC822+with+phpbtnG=Searchmeta=
Hi,
Not sure but if it does it's not working lately. Probably gone on a vacation.
J
Dwayne Hottinger [EMAIL PROTECTED] wrote:
Doesnt the list run a spam filter ie spamassassin or bogofilter via
procmail?
- Original Message -
From: JeRRy
To:
Sent: Thursday, May 11, 2006
Hi,
Why not use cookies to check if the user has pressed F5 or refreshed the
page? There is a number of ways to do this, all should work effectively
depending on your how many people hit the page etc.
a) Store the message in a cookie, and run PHP code to check before executing
Okay here is the full code. Now I got this code off a friend! In this first
section to display the data that is grabbed from the db.
?php
$db = mysql_connect(localhost, user, pass);
mysql_select_db(db_select,$db);
$result = mysql_query(SELECT `nickname` FROM tipping
WHERE 1
://pastebin.com/650846
J
Chris [EMAIL PROTECTED] wrote:
JeRRy wrote:
Hi,
Okay I must be missing something here.
I changed it to mysql_query and no errors produce however no emails
are sent either. After cross-checking back and fourth with my db the
entries are correct
Okay, but still not working...
is NULL the same as ' '? Or does NULL have to be the inserted value in the
db?
J
Chris [EMAIL PROTECTED] wrote:
JeRRy wrote:
Hi,
Okay I played with the code a bit and ended up with this, it does NOT
produce errors but it's not doing
thankyou.
J
Chris [EMAIL PROTECTED] wrote:
JeRRy wrote:
Okay, but still not working...
is NULL the same as ' '? Or does NULL have to be the inserted value in
the db?
Null means unknown - so completely different to ' ' or ''.
How was your table created?
What do you get if you run
at a time.
Any help?
J
Chris [EMAIL PROTECTED] wrote:
JeRRy wrote:
Hi,
Ahh okay I thought NULL was blank. Okay I understand, therefore, hehe,
I fixed it.
$query = select username from round3 where misc='';
fixed it, the email got sent.
Had to change a few strings
Hi,
No code here unless required.
I run this tipping site. All user details are in a table called tipping
which stores their id, username, password, email address, score and others.
Than I have tables round 1 through to round 22. (all seperate tables)
This is where users
Hi,
I used the following but got this error:
Fatal error: Call to undefined function: db_fetch() in
/home/tassie/public_html/tipping/admin/check.php on line 7
Any help please?
J
$query = select * from users;
$result = mysql_query($query);
while($row =
recording to see where it's failing.
I can't seem to get it to work, changed a heap of code but nothing budges.
I can send the code I have and table structure if you want.
J
Chris [EMAIL PROTECTED] wrote:
JeRRy wrote:
Hi,
I used the following but got this error:
*Fatal
Thanks for your response :)
Chris [EMAIL PROTECTED] wrote: JeRRy wrote:
Not exactly a DB question but the storing will be done in a DB and using PHP.
Anyways with the growing demand of IM's I want to add to my site easy access
for people contact me. I could add my Yahoo! username
Not exactly a DB question but the storing will be done in a DB and using PHP.
Anyways with the growing demand of IM's I want to add to my site easy access
for people contact me. I could add my Yahoo! username for Yahoo! Messenger and
MSN Messenger email address but I want to make it
it for the same result, So it double entries I persume. But what worry
would this be? None I am guessing, it's just doing a double entry as long as
the data is not lost. And only occours on entering tips for the first time.
J
Chris [EMAIL PROTECTED] wrote:
JeRRy wrote:
Hi,
Yes
Hi,
I'll admit it, this is damned messy. But I want to learn from the list in
how to sort it out. Than for future refrence I will know...
Now I am running 2 different queries/statements here completely seperate. I
have made the nickname field in the database UNIQUE. So than when I
and if never tipped it's blank. I think it should show
that in the query. Cant remember, I did the scripts 2 or 3 years ago. Just
want to tidy it up.
J
Chris [EMAIL PROTECTED] wrote:
JeRRy wrote:
Hi,
I'll admit it, this is damned messy. But I want to learn from the list in how
Hi,
Just need some mailing list input here, what is the proper way to close a
mysql query using PHP.
- What is the proper way to close a php query to mysql if one query is in the
file?
- What is the proper way to close a php query to mysql if 2 or more queries
is in the file and
Hi Chris,
Thanks for that, always wondered. So what does just using '?' do than?
Must close eventually but I am guessing by using that as a close the
connection times out after a set period of time and the 'pid' is killed,
correct?
J
---chris said---
I have created several successful HTML and text based emails.. Its a
secret called multipart MIME.The essence of email really. Just as an
attachment is embedded into the same file as the images, html part and
textual part. All you have to do is using 2 seperate boundaries,
Hi,
This is a Discussion Board, previous threads/posts are logged, recorded,
saved to the WWW. I see no point to continue threads over and over and over
again. Why not cut the threads down to a few lines that are important to the
reply your making? If people need to know more about it
snip
Sure, mysql.com and seasrch for crypt. Not sure why this is asked on a
PHP list since it has nothing to do with PHP. b) every language has a
crypt functionThen I guess it's okay to have crypt questions/answers on
every language list.
/snip
quote
Then I guess
Hello all,
People on this list, is your email client plain-text or HTML supported?
I think most email clients come with HTML support, but over the time I have
done HTML emails they flop out and not display correctly. Is there a reason
for this? Is there a way to send out HTML
Hello all,
People on this list, is your email client plain-text or HTML supported?
I think most email clients come with HTML support, but over the time I have
done HTML emails they flop out and not display correctly. Is there a reason
for this? Is there a way to send out HTML
Hi,
All you need to do is run a query to your db to get the times.
than use something like this:
?php
// Multiplying with varaibles
$factorA = .01;
$factorB = number_format(system_value('usercount'), 0);
$product = $factorA * $factorB + .25;
echo $product;
?
What
at all?
Again ISP issue.
Jerry
Hi,
Do this...
1) ping your local server. (paste us the results)
2) ping your IP address FOR THE SERVER (paste us the results)
3) If your server has a domain attached also ping this (paste us the results)
Pointless? No... If you ping your local server with the localhost
Hi,
Do this...
1) ping your local server. (paste us the results)
2) ping your IP address FOR THE SERVER (paste us the results)
3) If your server has a domain attached also ping this (paste us the results)
Pointless? No... If you ping your local server with the localhost
Use getElementById using javascript.
From: r0md0n1 [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] data picker
Date: Mon, 13 Feb 2006 17:00:11 +0700
hi all
I'm trying to create a smalll application to pick data from pop-up
window into a form (like when inserting
in that order
if (ereg(^[A-Z]{2}{0-9]{4}$,$_POST['postal'])){
...
As for pasting it back to the form, I would suggest you have the form as a
function and the processing code as a function, then you can pass the post
arrays back and forth and pass the error handling along with it
Bastien
From: JeRRy
Hi everyone,
I have created this website in PHP and mySQL at http://www.bps-testntag.com/
but have come accross an error I was not aware of before.
Now I am using stylesheets and I have been surfing the net for about 90
minutes and yet to find a solution, so thought I'd post here,
Okay I did some more surfing, on a VERY popular website used by neally a
million users. I checked their CSS and they use px and pt meassurements. So
maybe that is not my issue than. Maybe I don't have an issue to worry about?
What are people's thoughts on this, all the input the better
Hi,
Honesty, no I have not ever heard of floats ... Well I have as in
horse-floats but not for web-pages, I will search it up very soon.
Thanks!
Jerry
Adrian Bruce [EMAIL PROTECTED] wrote:
Jerry
Not a php related question at all for starters but anywayi think you
need
. It's using 32
chars.
Jerry
Thanks for your help Bastien. I have it all working now, no problems. I also
have generated a Unique ID for the form also.
Jerry
Bastien Koert [EMAIL PROTECTED] wrote:
You are in serious need of some regex here...google email regex and you will
have enough results to get you what you
a program that
re-does the HTML for the resolutions you set and bingo the results are spat out
and you add it to the site and use a little script to redirect depending on
their set resolution.
Jerry
PHP Superman [EMAIL PROTECTED] wrote:
Or you can have a page which detects resolution
Hi, I have a form, form results are PUSHED to another page and processed.
Files below. (in plain-tet)
Now this is what I want to do:
1) Make all fields required input, but if easy to configure I want to have
rules for each textarea. For instance an email address must contain a '@'
Hi,
I have written a website in PHP using MYSQL. But I have come accross an
un-common problem. Normally when I create a website it's done on a desktop PC.
But this time for the first time I did it on laptop meaning the screen
resolution is different.
Is there any sort of
Hi,
Thanks for this, got a few reposnses regarding this.
This seems a more professional approach, I will try this and let you know
about it when I do it.
Thanks for your time.
Jerry
Ross Honniball [EMAIL PROTECTED] wrote:
Get rid of both your onload= statements
/script
div id=fader style=font:18px Arial
bold;width:100%;color:rgb(255,255,255)/div
end of text refreshing
Any help would be awsome, or solutions?
Jerry
-
Do you Yahoo!?
Yahoo! Music: Check out the gig guide for live
/script
div id=fader style=font:18px Arial
bold;width:100%;color:rgb(255,255,255)/div
end of text refreshing
Any help would be awsome, or solutions?
Jerry
-
Do you Yahoo!?
Messenger 7.0: Free worldwide PC to PC calls
at it would only output in plain
text. What not ideal for this sort of site.
Thanks for peoples assistance though, I am not sure what they call this sort
of text refreshing.
Jerry
-
Do you Yahoo!?
Yahoo! News: Get the latest news via
Hi,
I did a little bit of script that refreshes a text slogan every 5 or so
seconds with a new slogans and wraps to each slogan, I had about 5, and loops
over and over again. This was done WITHOUT the need of refreshing the page. I
think I used JavaScript but not 100% sure of this. Has
Warning, this person is acting to own your email account server. He tries to
pretend his from Yahoo!, Hotmail or any email account to see if your account is
active for spam. I got his REAL email address because he messed up an email
and put his real email address. I have confirmed from
snip
Now, can you see the causes of these two errors... A runtime error has
occurred. Do you wish to Debug, Line: 20 Error: Expected 9
Are you using pine to edit? Or a HTML editior. If HTML or notepad you have
the option of turning wordwrap on/off. Use this to find line number.
With
about getting the server time instead?
But of course this would not be ideal for everyone in different countries but
I wondered an easy way to do it.
Thanks for your time.
Jerry
Send instant messages to your online friends http://au.messenger.yahoo.com
command to do this?Ron
[input] [input] [input] [input] [input] [input] [input]
[input]
Visit http://www.mysql.com/ and read a little bit about LIMIT command. :)
Jerry
-
Do you Yahoo!?
Take your Mail with you
Hi,
Okay I have a dj site, I have alogin script and cookies to handle the login.
Next I want to add some permissions for each dj account. Maybe 3 to start
with, 3 permissions.
A value or y or n will be set in each permission, with n being the default.
Now I need to
Hi,
Okay I created a user/pass login area. I created the following code. Now I
want the secure area to send a cookie to the users PC we can track so I can
make multiple pages without the need for the user to login to each page
individually. I want to know what is the best method/code
!
Jerry
-
Do you Yahoo!?
Yahoo! Photos: Now with unlimited storage
!
Jerry
-
Do you Yahoo!?
Listen to over 20 online radio stations and watch over 5000 music videos on
Yahoo! Music.
There doesn't seem to be a way to get a response from the mailing list
owner (you just get an automated Hey are you stupid? response), so
I'm posting this here. My appologies.
Are there any plans to make your digests work with Outlook Express?
Yes, I know it's old. Yes, I know it's broken.
Hi,
Well I tried this code but it fails, if I enter a correct User and Pass set in
the db it just prompts for the user/pass again. The error message that should
apply if wrong three times appears but the sucessful message I can't get
regardless of correct user pass or not, any help please?
Hi,
Need some ideas/opinions on a project I have.
The project is for a Radio Station (online one) where DJ's can login to the
site and do stuff and listeners can listen in live to the live feeds.
Now I downloaded a password protected code that uses MySQL to store the info
but it fails each
Hi,
Need some ideas/opinions on a project I have.
The project is for a Radio Station (online one) where DJ's can login to the
site and do stuff and listeners can listen in live to the live feeds.
Now I downloaded a password protected code that uses MySQL to store the info
but it fails each
it may be failing? Thanks again.
On 10/30/05, JeRRy wrote:
Hi,
Errors are more than likely not being produced because of the '@' symbol. Try
removing this and see how you go. Also check your code for syntax errors.
These will be produced within the errors.
J
Hi,
Errors are more than likely not being produced because of the '@' symbol. Try
removing this and see how you go. Also check your code for syntax errors.
These will be produced within the errors.
J
-start of
Date:Sun, 16 Oct 2005 02:40:44 -0400From:Alain Rivest [EMAIL
PROTECTED]To:php-db@lists.php.net php-db@lists.php.netSubject:Re: [PHP-DB]
µç×Ó´«µ¥,×îÁ®¼ÛµÄÐû´«·½Ê½
KOKOµç×Ó´«µ¥ a ¨¦crit
Brent,
Thanks for that I will look into SqirrelMail as that sounds like the one to go
for. Thanks for your time also and assisting me.
Jerry
Brent Baisley [EMAIL PROTECTED] wrote:
SqirrelMail is as customizable as you want, it's written in PHP and
you get the source code. By default
Hi,
Never been to their website, comes in the CPANEL I use. I think that maybe it
though, why?
Jerry
Bastien Koert [EMAIL PROTECTED] wrote:
horde? www.horde.org
bastien
From: JeRRy
To: php-db@lists.php.net
Subject: [PHP-DB] PHP email client Date: Mon, 3 Oct 2005 23:39:42 +1000
(EST
postfix.org
sendmail.org
mysql.com (everything can't be .org)
Price: free
On Oct 3, 2005, at 11:41 AM, JeRRy wrote:
Thanks Brent,
Just for future refrence for this list if i look back on it or for
others interest as well do you have direct links to the ones you
have listed below?
I did
to have it's own domain.
Something like rock.com would be fine.
Thanks!
Jerry
-
Do you Yahoo!?
Find a local business fast with Yahoo! Local Search
to it and be able to get basic info back from the email client to
know who is logged in.
Jerry
Brent Baisley [EMAIL PROTECTED] wrote:
SquirrelMail is used by a lot people and comes with a lot of systems
(i.e. Apple Servers, Linux). It's not tied to any particular email
server, it's open source and PHP
Hi,
From:
Daryl Booth [EMAIL PROTECTED]To:[EMAIL PROTECTED]:Sun, 25 Sep 2005 15:35:40
+0200Subject:HTML Tables in PHP...
How can I give a table /table with all of it's parameters in PHP in eachof
the cells there is a variable that gives me the data back but I
Hi,
When I created a header image I made a mistake when I completed it and did not
relise until some time after it. Now what has occoured is I through a value in
the image instead of getting it to update from the database each time the page
is loaded.
What I want to do is rip out the value
Is there a way to spoof away php-db@lists.php.net who continues to send a
virus via this mailing list. Why does this address need privlidges to send to
the list anyway? The sender is using this to make it look like from the list
but we all know it's fake. Well most do, I hope noone got
PROTECTED]To:[EMAIL PROTECTED]:Re: [PHP-DB] Re: list test subject. .
Plain Text Attachment [ Download File | Save to Yahoo! Briefcase ]
[[[ O-F-F topic ]]]prefer replies offlist if they have to be done, but I had to
clear the waters some on this.that said...JeRRy wrote:[A lot of mostly
Date:Fri, 24 Jun 2005 18:07:26 +0200From:Michelle Konzack [EMAIL
PROTECTED]To:[EMAIL PROTECTED]:Re: list test subject
Plain Text Attachment [ Download File | Save to Yahoo! Briefcase ]
Am 2005-06-25 00:26:13, schrieb JeRRy: Obviously Michelle the instructions
provided with the subject Re
Obviously Michelle the instructions provided with the subject Re: list test
subject was for Windows users. Not that hard to figure out! But thanks for
your smart, i think, response.
Some emails maybe delayed due to DNS issues global. One instance was I sent an
email this morning to a
. If anyone else can bring light on
this feel free to do so.
Jerry
message quota
Hi,I have an intranet application that I wrote in PHP that has worked greatfor
a long time. It uses integrated authentication in IIS. I'm trying tomigrate to
IIS 6 and things are mostly working. The problem I have isthat my ODBC_CONNECT
calls are not resulting in: Login failed for
Hi,
Okay lets say I own www.fred.com (which I don't but still) and
www.getpaid2reademails.com (so I own two domain, lucky me!)
Now I want to connect from getpaid to fred... Okay I have done this and
achieved this but is it possible to reject this operation and deny connections
outside of
From:Patrick Dunegan [EMAIL PROTECTED]To:[EMAIL PROTECTED]:Sun, 1 May 2005
08:22:58 -0500Subject:chat
Does anyone know where there is a good chat room with PHP developers?
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.0 -
Why does this NOT work?
UPDATE tipping SET score = 3 WHERE round1.game1 = H
AND tipping.username = jerry;
Please inform?
J
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http
--- Larry E. Ullman [EMAIL PROTECTED]
wrote:
Why does this NOT work?
UPDATE tipping SET score = 3 WHERE round1.game1 =
H
AND tipping.username = jerry;
For starters, you should quote strings in a query.
There may also be a
problem with the round1 reference.
Larry
I
Thankyou :)
--- Bastien Koert [EMAIL PROTECTED] wrote:
Yes, the 'a' value can also be a table alias name.
Bastien
From: JeRRy [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] Re: Handling database
calculations with a php page
Date: Mon, 14 Mar 2005 19:46:46 +1100 (EST
Hi,
So in other words when we are talking queries anything
before a . for SELECT etc means table name and after
the . means column name within that table?
So...
(table_name).(Column_name) ?
Is that right?
J
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
--
Hello,
3 tables hold money value but they are inputed into
the database without the dollar symbol (without $).
So the value could be 3.00 etc...
I want to calculate by adding (+) them together. A
username is in each table. So only the username
matching in each table must calculate. So if
.
This would solve a bit of my time mucking around and
re-structuring my database until I have more time. :)
If you need more information please let me know.
Jerry
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
--
PHP Database Mailing List (http://www.php.net
.
Jerry
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Jerry
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/en/function.session-cache-limiter.php
Jerry
From: Jason Walker [EMAIL PROTECTED]
To: php-db@lists.php.net
Date: Sun, 13 Feb 2005 19:17:15 -0700
Subject: 'Page can not be displayed' when hitting the
back button
I have a shopping cart that is working completely fine
in Firefox. In
I.E
To: php-db@lists.php.net
From: Mike Rondeau [EMAIL PROTECTED]
Date: Sun, 6 Feb 2005 17:57:17 -0800
Subject: Newbie Setup Trouble
Hello,
Hi :)
I have just begun study of using PHP, MySQL and
Apache server. Right
now
I'm following a book, PHP and MySQL For Dummies and
am having trouble
!
Jerry
php-db@lists.php.net
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I do support you too, Jerry. People should either
somehow exclude
'php-db'/other mailing lists to be auto-replied to
or they must keep
off their auto-replies with themselves.
Yes most mail systems allows you to exclude certain
domains from getting a auto response. Or if they own
.
Now the database names, passwords etc will be stored
on MYSERVER which uses input themself to save.
Now is this method security safe and possible or are
most servers setup to a DB connection can only be made
by localhost?
J
Date: Sun, 23 Jan 2005 15:51:02 +1100 (EST)
From: JeRRy [EMAIL
Hi,
Is it security safe and possible to use my server to
query another server, outside the local zone, and make
updates to another server using a PHP page from my
server?
I'm just wondering.
So in other words I'd have a DB setup to hold users
domains, db names, db usernames, db passwords etc on
Hi,
Is it security safe and possible to use my server to
query another server, outside the local zone, and make
updates to another server using a PHP page from my
server?
I'm just wondering.
So in other words I'd have a DB setup to hold users
domains, db names, db usernames, db passwords etc on
Why do people set auto responses on a mailing list
like this? It's crazy, imagine all the auto replies
this list would generate. As if I care if a user is
not able to reply because they have gone on holidays
or something. If they don't reply obviously they are
not around or can't answer or
to
spice it up a bit. :)
Thanks for your time. If you have time to demonstrate
something that would be good too coz I have made flash
but have no idea on this topic.
Jerry
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
--
PHP Database Mailing List (http
snip
I run this mysql query: select
sum(quantity)*price,price from sale
where dvd_id=1 group by price;
I get this result:
sum(quantity)*price price
450.00 15.00
29.99 29.99
I want to display the sum of the values in the first
column
(450.00+29.99), but I
With PHP latest release from http://php.net/ do we
require to update Zend Optimizer?
People are claiming some scripts previously that
worked in a previous version of PHP works and not with
the new version.
Why is it required to update Zend?
J
Find local movie times and trailers on Yahoo!
1 - 100 of 233 matches
Mail list logo