so.15 owned by mysql. I am surely not
about to edit 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 12:1
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
rpose 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
7;)
Installing MySQL is not enough - you need to enable the mysql extension
in your php.ini.
-Stut
--
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
--
Dave W
nothing to do with your 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
If I just echo $row['id'], it will show both
of them, just not put both of them into an array.
--
Dave W
e that shows how
to create this feature. I have already created a set of graphical
letters. Ron
--
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
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 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
>MIME-Ver
7;;
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 way?
I assume yo
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
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,
Data);
Since it's 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
tp://www.php.net/unsub.php
--
Dave W
1 W Broadway
Butte, Montana 59701
406-782-2240
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Dave W
Big Sky Penguin, LLC
> 61 W Broadway
> Butte, Montana 59701
> 406-782-2240
>
> --
> 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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Dave W
, I'm just 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!&quo
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
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
t advise to
In forums. Off list I can for sure if any one wants
To see what's going on.
Karl James ("TheSaint")
<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
www.theufl.com
--
Dave W
t for some 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
just make a new
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) . '';
works fine. I'm just perplexed on why the motto
g a fieldset, but then why 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:
>
>
>
> Motto:
> v
wrong since it's posting the motto (which is just a
text-type input) and not the description (which is a textarea). I echo'd out
the mysql queries and excuted them myself from what echo'd out and it's
selecting the desc column just fine.
On 7/6/06, Chris <[EMAIL PROTECTE
uery to the page 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
I saw this bug: http://bugs.php.net/bug.php?id=22427. Could this be related
to problem I'm having?
On 7/6/06, Dave W <[EMAIL PROTECTED]> wrote:
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:
>
o is a longtext type
with fulltext.
--
Dave W
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 d
ther to work...It just kept saying Array in the cell. I also
tried strtok.
--
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) &
on/calls/script.php on line 47
Any suggestions?
Ron
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Dave W
to delete a file 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
Does anyone know when you get info from a DB, can you restrict how many
characters it gets from it? say you had a paragraph 1,000 letters but you
only wont it to get 100 how would you do that?
=== 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
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 m
, correct?).
thanks
Dave
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
exec($database,$DUPquery);
$DUPcount=pg_numrows($DUPresult);
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
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 PROTECT
Did you
Mysql>FLUSH 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-
le ...")
To load the data from LogFormat.
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 D
ear. Furthermore,
> when I added the line
> echo "$myconn = ".$myconn;
> to my script after pg_connect(), I would get:
>
> $myconn = Resource id #2
>
> which suggessts to me that it is successful in connecting to
> the db server,
> but, for some reason
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 t
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
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
examples, 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
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
he.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.
http://mailplus.yahoo.com
--
PHP Database
LINUX box if that make a difference.
Thank you in advance and again sorry if its slightly of topic.
Dave C
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 onc
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 l
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 site
68 s. 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, v
ostat).
Let us 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 wond
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)
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 i
: I'd 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
sword 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
hether SQL is left-to-right, right-to-left, or
some 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>
nlistop";
echo $nlistsel;
}
}
There error is reported back in the while line...
Any help or advice is appreciated as always.
P.S reason for the fuction is that I will call the select a name list a
few times so I thought of making it a function then calling it when
needed.
Thank You
Dave C
marty 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. Sc
up 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 templa
up at first.
At least, I haven't found a good 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?
advTHANKSanc
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
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
. 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 that will
>demonstrate how to downl
value has to be quoted for an
SQL 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
>
DAP server so I
can list available attributes for each object. I can do this sort of thing
with OpenLDAP's ldapsearch on the command line but I can't figure out how
to formulate my request with PHP's ldap_search(). Any ideas?
Thanks,
Dave
--
PHP Database Mailing List (http://www.p
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.ph
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
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
also.
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
guidance in advance.
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
to finish my project :-)
Dave C
P.S you can add a message var under break to then echo it to inform
your user that its finished.
---Original Message---
From: Rasmus Lerdorf
Date: Sunday, May 26,
2002 17:10:53
To: Da
or me.
Any 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
nd from my script to include the ; as part of the
sql.
phpmyadmin copes with this ok so it must be able to be done.
Thanks for any help in advance
Dave C
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
.
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
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
k you fully in advance for any help you may give.
Dave C
sed are specific to my tables and needs 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 easi
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
Hi all
I have a checkbox field in a form and want to set a cookie to the values
below.
Using the code below it always returns "NO" errr why?
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
1 - 100 of 192 matches
Mail list logo