it and really am not sure how to go about correcting this.
--
Dave Cocuzzi
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
For getting error msg your php.ini should enable this line -
error_reporting = E_ALL ~E_NOTICE
chk for this.
-=-=-=-=-=-=-=-=-=-
@nkur [EMAIL PROTECTED] || http://ullu.wordpress.com
-Original Message-
From: Chris Carter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 28, 2006
Just chk your phpinfo() is odbc supprt is ebable in that. ??
If not need to enable odbc settings in that.
-=-=-=-=-=-=-=-=-=-
@nkur [EMAIL PROTECTED] || http://ullu.wordpress.com
-Original Message-
From: Chris Carter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 22, 2006 10:57 AM
Hey,
Chk you phpinfo(); is that is showing the mysql support enable. ??
And chk for linux that mysql.so is not-commented. ??
That are 2 main-basic things to chk the mysql php relation.
-=-=-=-=-=-=-=-=-=-
@nkur [EMAIL PROTECTED] || http://ullu.wordpress.com
-Original Message-
From:
efficiently.
10x, | Ankur Dave | http://ullu.wordpress.com
-Original Message-
From: Tamkhane, Pravin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 7:38 PM
To: php-db@lists.php.net
Subject: [PHP-DB] category management using MySQL and PHP
Hi All,
I am working on small
is to retrieve the table data and manually add a record,
then sort ASC by the startdate which is the forth field...
Something like:
$test = array_multisort($query, $key = '$query[4]');
Any help would be greatly appreciated. Thanks,
Larentium
--
Dave W
He means that he wants to use REPLACE and take out the old entry and update
it with a new one. Although, you would probably use UPDATE instead.
--
Dave W
Another list for code search. Good then google.
http://www.koders.com/
http://www.bigbold.com/snippets/
http://www.krugle.com/
10x,
Ankur Dave
-Original Message-
From: Philipp Schwarz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 11, 2006 12:30 PM
To: php-db
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
--
Dave W
problem, but why don't you just do the
following?
$q = 'SELECT id FROM content';
But here's your problem. Change
$realones = $row['id'];
into
$realones[] = $row['id'];
And you get your desired result.
Matthias
--
Dave W
not put both of them into an array.
--
Dave W
how
to create this feature. I have already created a set of graphical
letters. Ron
--
Dave W
Hi, I was just wondering on how I could get a whole column full of integers
and added them up and display that total? I currently use a for loop to
display the whole column in a table, but I wanted to add all those numbers
up.
Thanks.
--
Dave W
Thanks Natalie and Miles! The loop thing worked. What I had tried before was
put the echo inside the loop and it wasn't working, but now it does, w00t!
Thanks!
On 7/26/06, Miles Thompson [EMAIL PROTECTED] wrote:
At 10:27 AM 7/26/2006, Dave W wrote:
Hi, I was just wondering on how I could get
Thanks for all the suggestions.
On 7/24/06, Neil Smith [MVP, Digital media] [EMAIL PROTECTED]
wrote:
Message-ID: [EMAIL PROTECTED]
Date: Sat, 22 Jul 2006 21:31:35 -0400
From: Dave W [EMAIL PROTECTED]
To: Php-Db php-db@lists.php.net
MIME-Version: 1.0
Content-Type: multipart/alternative
I figured it out before, but I didn't hit reply all. I used files() and
newlines to create it. Would using explode be a more reliable way?
On 7/23/06, Stut [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave W wrote:
Currently, here is my code:
$file = 'ip.txt
td$domain/td/tr ;}
echo '
/tbody/table/div';
It works!
On 7/23/06, Stut [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave W wrote:
I figured it out before, but I didn't hit reply all. I used files() and
newlines to create it. Would using explode be a more reliable
--
Dave W
a numeric array, I shouldn't need quotes around the ip octets.
When I try to echo certain parts of the array like:
echo $ips[0];
It's returning the whole array. The text file is exactly like an array so it
shouldn't be a problem.
--
Dave W
OK, well I did a debug and this is whats coming out:
Array
(
[0] = 127.0.0.1,127.0.0.1,127.0.0.1
)
Should I use fgets?
On 7/22/06, Dave W [EMAIL PROTECTED] wrote:
OK, so I have this text file that holds a list of ip addresses like this:
127.0.0.1,127.0.0.1,127.0.0.1, 127.0.0.1,127.0.0.1
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Dave W
: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Dave W
Currently I have this:
if($quant $amount) {echo You don't have that many!; }
$quant is the user inputted amount and $amount is the amount that they
actually have. Is there any way of checking if the result is negative rather
than doing what I have above?
--
Dave W
They are both positive numbers. I want to see if, when subtract, do they
equal a negative number?
On 7/16/06, Peter Beckman [EMAIL PROTECTED] wrote:
On Sun, 16 Jul 2006, Dave W wrote:
Currently I have this:
if($quant $amount) {echo You don't have that many!; }
$quant is the user
curious if there is a simpler way to do an
already simple task.
On 7/16/06, Stut [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave W wrote:
Currently I have this:
if($quant $amount) {echo You don't have that many!; }
$quant is the user inputted amount and $amount
reason,
I had to convert the textarea to a utf encoding before I entered it into the
database! That was annoying.
On 7/6/06, Dave W [EMAIL PROTECTED] wrote:
I think I might have found the problem, but I'm not sure how to fix it.
I'm just going to rebuild the form and it make it seperate (with all
O, I also tried to change it to a $_FILES array, but that didn't work
either.
On 7/6/06, Dave W [EMAIL PROTECTED] wrote:
I seem to be having a problem posting text from a text area. I have a form
that posts data into a database and there are input fields which seem to
post the data fine. I know
with fulltext.
--
Dave W
before
you even excute the insert, to verify the query, and that you are
getting the proper information from the form.
-B
Dave W wrote:
I seem to be having a problem posting text from a text area. I have a
form
that posts data into a database and there are input fields which seem to
post
] wrote:
Dave W wrote:
I saw this bug: http://bugs.php.net/bug.php?id=22427. Could this be
related
to problem I'm having?
Actually, show us the form you're trying to submit before doing anything
else. Since we haven't seen any html or php code, guessing it's a bug is
a bit of a stretch
wouldn't just
one not work?
On 7/6/06, Chris [EMAIL PROTECTED] wrote:
Dave W wrote:
I'll show you all the steps it passes through.
Here's the form:
form action=proc.php method=post
fieldset
label for=MottoMotto:/label
input class=text type=text size
one.
On 7/6/06, Dave W [EMAIL PROTECTED] wrote:
hmm..interesting. Neither the motto or desc is showing up in the array. I
made a simple form and the
echo 'post vars: ' . print_r($_POST, true) . 'br/';
works fine. I'm just perplexed on why the motto is still working and not
the desc. Maybe it's
and split, but I
couldn't get either to work...It just kept saying Array in the cell. I also
tried strtok.
--
Dave W
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Dave W
oops. yea, chris is right. I thought you were trying to delete files.
On 7/2/06, Dave W [EMAIL PROTECTED] wrote:
You have to use the absolute (or server, whatever you want to call it)
path. So like/home/www/sessions/files/ or whatever it is.
On 7/2/06, Ron Piggott (PHP) [EMAIL PROTECTED
within PHP without having to FTP to the
server?
Ron
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Dave W
事故で生き残った人に 聞いてみなさい
千分の1秒の価値を知るには
オリンピックで銀メダルを獲った人に 聞いてみなさい
時間は待ってくれません
あなたの持っている全ての時間を大切にしなさい
そしてここで全てを発散しなさい
http://vqlh.com/?jy111
拒否
[EMAIL PROTECTED]
--
Dave W
=== is a strict equals.
if you have a string $s = '12345' then
if(12345 == $s) is true
but
if(12345 === $s) is not true because 12345 is an int and '12345' is a string
-dave
Bruno Braga wrote:
Hi guys..
Wich is the diference between if ($var == '1') or if ($var === '1')
== means
What does it show?
It seems strange that Firebird *and* PHP somehow caused a problem, but somet
higns you can try are this. Output the php file into an HTML (use another
browser perhaps, or wget) and then see if you can view the idnividual HTML
file.
-dd
Thejavo [EMAIL PROTECTED] wrote in
);
Obviously this is extremely processor intensive, not to mention it seems sloppy.
Any better recommendations, either on altering the above code, or another way to
get the information we require?
Dave
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Alain Barbu wrote:
Hi,
Is there any free ODBC Driver for ORACLE 9i to use with PHP, APACHE, LINUX
?
Regards
Alain
The Oracle Client software includes a perfectly good ODBC driver. If you
install the client it will be included.
--
Dave Smith
[EMAIL PROTECTED]
--
PHP Database Mailing
Did you
MysqlFLUSH PRIVILEGES;
?
http://www.ephgroup.com
Secure Hosting Accounts for everyone.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 05 April 2003 19:42
To: [EMAIL PROTECTED]
Subject: mysl_connect question
When I use myssql to connect to a db
For any who may be interested:
I fixed the problem, noted below, myself. Evidently the Slackware
PHP/Apache binary is somewhat broken. It worked after I rebuilt PHP with
configure --with-axps --with-pgsql
Apache did not require a rebuild.
dwb
-Original Message-
From: Dave Brunberg
.
If you can advise or help with this I will be most thank full.
Dave C
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 17/03/2003
--
PHP Database Mailing List (http://www.php.net
I'm having a problem with a php script when connecting to a postgresql
database. The problem is this: When Apache runs the php script, the
output is missing everything after my first call to pg_connect(). i.e., I
can echo, print whatever I like, but everything is cut off after that
call--it
I'd suggest building a connection string, explicitly defining the user and
password. Maybe it would give you a more descriptive error that way
(invalid user, etc.).
The other thing I've done is do something like this:
$database = pg_connect ($conn_string)
or die (Help! No connection to
in connecting to
the db server,
but, for some reason PHP is unable to use the connection
after that. Like I
said, it's weird. I have no idea why it's doing that.
- Original Message -
From: Dave Brunberg [EMAIL PROTECTED]
To: 'Nathaniel Price' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent
can make a small image and a large images
and store and retrieve those but I was just wondering if it is possible
to do auto thumbnails from the array of images.
Thanks for na advice in advance
Dave C
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http
, websites,
tips would be very much appreciated.
Thanks in advance for any assistance.
Dave Carrera
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.456 / Virus Database: 256 - Release Date: 18/02/2003
--
PHP Database Mailing
there
.
while(!feof($socket)) {
echo fgets($socket,128);
}
fclose($socket);
$socket is working and echoing a result.
Any help is very much appreciated
Dave Carrera
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version
very much appreciate it.
Once I have this working I will place it on my site to download in case
anyone else could use it. :-)
As always thank you very much in advance.
Yours truly,
Dave Carrera
-- Start of My Whois Function --
Function DomLookUp($domain){
$name = $_POST[domain
Hi All
I have nearly got this working but it dose not seem to loop though or
return the result
I have done something wrong and I ask one of you coders that are much
cleverer that I to glance over my code to see the obvious mistake / s.
Thank you in advance for any help
Dave Carrera
as always
Dave Carrera
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003
, but the
weird thing is that the testdbcache.db file is
actually created in the directory, with 0 length.
has anyone seen this type of error or know how to fix
it?
thanks
dave
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
box if that make a difference.
Thank you in advance and again sorry if its slightly of topic.
Dave C
hey, there's a full featured, open-source db, made available from SAP.
since sap has software running on this database base that powers the ERP
systems of the world's largest companies, it has a lot of powerful,
advanced,
reliable features. you can get free cd's of the database from there web
isn't it funny how all projects are simple till you do them!
well, that is, unless they really are simple. i guess i never take those.
Aaron Lagadyn [EMAIL PROTECTED] wrote in message
003c01c298b6$7a235180$[EMAIL PROTECTED]">news:003c01c298b6$7a235180$[EMAIL PROTECTED]...
Hi:
I'm looking
echo the actual sql statement from runtime and post it.
Natividad Castro [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi to all,
I'm working in a system where users can post projects. Other users will
verify those projects. What I'm trying to do is once a
. 95 s.
Is this true? For regular inserts that seems cool - obviously transactions
would take a little more,
but hey, why bother with MyISAM then?
dave
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Hi everyone, I am new to the forum.
I am using PHP and PostgreSQL.
After I insert into a table Task who's primary key is a serial type (auto
sequence number) I would like to immediately retrieve that generated
sequence number to use for subsequent inserts into another table Points.
So what is a
Perhaps pg_last_oid() will help:
http://www.php.net/manual/en/function.pg-last-oid.php
--Dave
Dave wrote:
Hi everyone, I am new to the forum.
I am using PHP and PostgreSQL.
After I insert into a table Task who's primary key is a serial type (auto
sequence number) I would like to immediately
know which method works best for you. Scalability issues are so cool.
--Dave
Chris Payne wrote:
Hi there everyone,
I have a system I am programming, and each page needs to get various config
elements from a DB, of course this means lots of DB access for each page.
What I was wondering is, after
like to /not/ write the contents to a temp file and include it)
--Dave
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How about:
$my_array = array(); // clears the whole array (and makes a new one)
Or:
$my_array[$i] = null; // clears a single entry in the array at index $i
--Dave
karthikeyan wrote:
How to clear an array?
i used unset. But it destroys the array property of the variablke itself. I just need
anywhere on the filesystem.
--Dave
William Trappeniers wrote:
Hi all
I was wondering if it is possible to protect my password to the MySQL-server
from being in a PHP-script. Now I can't do that, so everybody who gets to
see my php-sourcecode also can see my (not protected/not encrypted)
password
other deviant. Using parens is a sure way to guarantee that your
statements are processed in the order you desire.
--Dave
Aaron Wolski wrote:
Hi All,
I have a query like:
select * FROM OrderTable WHERE submitted=1 AND
dateinserted='1036386000' AND dateinserted='1036502796' AND
order_status
needed.
Thank You
Dave C
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
way to do it.
Does anyone have any good docs on how to setup a 3-tier templated system
in PHP that separates content from style? If not, how about a few words on
this idea? What are your thoughts? How can PHP tackle this problem?
advTHANKSance,
Dave
--
PHP Database Mailing List (http
a simple diagram
of how one might work as it relates to DB-related projects?
Thanks again for the great info. You guys rock!
Thanks,
Dave
On Wed, 9 Oct 2002, Mark Nenadov wrote:
John,
On October 9, 2002 04:29 pm, 1LT John W. Holmes wrote:
One of the most popular template engines is Smarty
Quickstart guide
(http://www.phpinsider.com/php/code/Smarty/QUICKSTART), there appears to
be much more Smarty 'code' than HTML. Does this not defeat the purpose?
Does this not add unnecesary complexity? Weren't we trying to eliminate
this by using Smarty?
--Dave
Peter J. Schoenster wrote
in advance.
Dave C
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try single-quotes instead of double (' instead of ). Could be an
interpolation issue.
--Dave
On Thu, 26 Sep 2002, Hutchins, Richard wrote:
Can somebody tell me what I might be doing wrong in the code below? I'm
trying to use a function to perform an often-used db query and return
will relate to a db so I hope its not completely of
topic.
Sorry if it is.
Web resources, examples, tutorials gratefully received.
Thanks in advance
Dave C
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of excellent
documentation on php. You should rarely need to go anywhere else
(including google) to get most php info.
Good luck. Let us know how it goes!
--Dave
chekmate (remove) wrote:
Hi everyone,
I am new to php.
I have searched the net trying to find a basic code snippet
statement to work properly.
Good luck!
--Dave
[EMAIL PROTECTED] wrote:
if you put quotes around the variable $PHP_SELF it should work...try this.
UPDATE $table SET pages = '.$PHP_SELF.' WHERE session = $holy_cow
hth
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http
as it is vital that I check
the form before posting.
So any help or guidence will be very much appreciated.
Yes I have checked php.net and various other doc sites, just in case
anyone says check the docs.
Hope your all well
Dave C
--
PHP Database Mailing List (http://www.php.net
High all
I cant seem to get this sql working.
I am trying to pull everything from table 1 (t1) where t1.id is not
equal to table 2 (t2) id
I cant find examples anywhere.
Any help or guidance with this as always is very much appreciated.
Thanks in Advance
Dave C
is all rows whether or not col3 is 0 or 1.
I am confused ☹
Any help or guidance is very much appreciated.
Thanks in advance
Dave C
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Is there anything new with header location that I haven't heard of?
Any help is most appreciated.
Dave C
Hi All
I worked it out.
If you would make use of this kind of thing email me and I will gladly
give the code example.
Thanks Anyway
Dave C
and then transfer thier uploaded image to thier newly
created directory.
I am using php4.2 apache 1.3+
I thank you in advance for any help.
Dave C
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
can make it work but some
guidence in this matter would be very much appreciated.
Thank you in advance
Dave C
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All
I am trying to load a mysql statement which i have tested and know to work
from a var in my script.
It is a create table statement.
I have a good connection as a table list shows tables.
I tried to echo my var but no joy
Any ideas?
Thanks in Advance
Dave C
--
PHP
a good db connection of which a can echo what i want.
Thank you for any help in advance
Dave C
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pointer and or code example would be most appreiciated.
Thank You
Dave C
---Original Message---
From: Rasmus Lerdorf
Date: Sunday, May 26,
2002 16:20:39
To: Dave Carrera
Cc: php List
Subject: Re: [PHP-DB
I get this warning with setcookie
Warning: setcookie() expects parameter 3 to be long, string given
But the cookie works ok
this is the line setting the cookie
setcookie(selarea,$gotarea,/ );
any ideas
i am using php 4.2
Thanks in advance
Dave C
--
PHP Database Mailing
.
All help and guidence is most appreciated
Dave C
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
fully in advance for any help you may give.
Dave C
and will need changing
to your suit your needs.
-- End My Code Snippet -
Once again Thank you
Frank Flynn [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi Dave,
The easiest, most direct, ANSI - SQL way to do what you ask is:
SELE
3
2
1
1
Then the result I would like to display is this..
Admin (1) = 3 posts
Admin (2) = 4 posts
Admin (3) = 5 posts
Basically displaying the total post each admin has made
Any help or guidance is very appreciated and thank you in advance
Dave Carrera
Php Developer
http
.
P.S got the restrict by ip number sorted I think..
Dave Carrera
Php Developer
http://davecarrera.freelancers.net
http://www.davecarrera.com
user of this list.
P.S found the answer to this issue.
Dave Carrera
Php Developer
http://davecarrera.freelancers.net
http://www.davecarrera.com
for
displaying the way I am trying at the moment.
Keep happy
Dave Carrera
Php Developer
http://davecarrera.freelancers.net
http://www.davecarrera.com
.
It is returned in the format shown, so my question might be how I read
only the first bit before the space.
I fully appreciate any kind of help with this and as always thank you in
advance for any help.
Dave Carrera
Php Developer
http://davecarrera.freelancers.net
http
all fine and dandy when I added the extra info after
postcode lookup but customer insisted he wants it this way round.
Customers...
(cant live with them, cant live without them...)
Dave Carrera
Php Developer
http://davecarrera.freelancers.net
http://www.davecarrera.com
Hi All
How do you do this?
On click of button to delete a record make a popup yes / no box appear.
On yes then do it else stop.
Is it possible to do with out using JS?
Thanks for any pointers or code in advance.
Dave Carrera
Php Developer
http://davecarrera.freelancers.net
you to do this.
I have come across various probs with JS on client systems so I shy away
from it.
Again thank you all for your advice.
Dave Carrera
Php Developer
http://davecarrera.freelancers.net
http://www.davecarrera.com
the message and cant reply.
Got me foxed.
What could I be doing wrong?
Any ideas as always appreciated.
Dave Carrera
Php Developer
http://davecarrera.freelancers.net
http://www.davecarrera.com
Hi All,
I know how to include the contents of a test file into my app.
But at the moment I have to type in p/p tags to make in render
properly.
Is there a way of reading the contents and dynamically creating
paragraph breaks or line breaks?
Dave Carrera
Php Developer
http
someone can help with this.
As always I thank you in advance of any help, code samples or pointers.
Dave Carrera
Php Developer
http://davecarrera.freelancers.net
http://www.davecarrera.com
1 - 100 of 171 matches
Mail list logo