Sure, define them outside the function :)
Justin French [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
If I define a constant within a function, it appears that the constant
is only defined within the namespace of the function. Fair enough.
Can I globalise these definitions?
Robby Russell wrote:
Not to start a SQL war, but have you consider PostgreSQL as well in your
decisions?
And how about Firebird, Oracle has roots from the same original
development in the 1980's.
--
Lester Caine
-
L.S.Caine Electronic Services
--
PHP General Mailing
Hi all,
FIrstly apologies if this is slightly OT, but it is relevant to PHP.
I have been working on a pretty big project over the last couple of
months and then all of a sudden I started getting errors in my browser,
the error in the bottom left corner with the yellow icon. anyway Im not
sure
Hi,
I have this date in timestamp format:
$a= 20040810114155;
I want to add 7 days to this date. How can i do that?
Thanks
Home, no matter how far...
http://www.home.ro
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Angelo Zanetti wrote:
I have been working on a pretty big project over the last couple of
months and then all of a sudden I started getting errors in my browser,
the error in the bottom left corner with the yellow icon. anyway Im not
sure what causes these errors. It says that it expects a ) on
DIFF FanneHH wrote:
I have this date in timestamp format:
$a= 20040810114155;
I want to add 7 days to this date. How can i do that?
echo
date('YmdHis',mktime(substr($a,8,2),substr($a,10,2),substr($a,12,2),substr($a,4,2),substr($a,6,2)+7,substr($a,0,4)));
Looks like a MySQL timestamp. If so, you
That's a mysql timestamp, if you want to manipulate dates in PHP you'll need
to use unix timestamps.
You have a couple of options,
select unix_timestamp(myFld) as myFld from myTbl
Then just add 60*60*24*7 to it.
Or, parse it with:
function convert_timestamp ($timestamp)
{
$timestring =
yes but even If I take the page source, its not anywhere near 597 lines
long...any other ideas? Sorry forgot to mention it in initial post.
John Holmes [EMAIL PROTECTED] 8/11/2004 12:44:25 PM
Angelo Zanetti wrote:
I have been working on a pretty big project over the last couple of
months
Greetings,
I have heard about PHP Encoding technique. What exactly it does and how is
it useful?
Any more help will really be appreciated.
Thanks a lot for giving your time.
--
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Angelo Zanetti wrote:
yes but even If I take the page source, its not anywhere near 597 lines
long...any other ideas? Sorry forgot to mention it in initial post.
Do you have a URL? It's a Javascript error, either way.
--
John Holmes
php|architect - The magazine for PHP professionals -
Please do not top post.
On Wednesday 11 August 2004 19:03, Angelo Zanetti wrote:
yes but even If I take the page source, its not anywhere near 597 lines
long...any other ideas? Sorry forgot to mention it in initial post.
Depending on your browser and how you view the source the line reported
This might be slightly off the topic but I would recommend you use a
database abstraction layer which will do what you want to achieve
Check out
Pear DB
http://pear.php.net/manual/en/package.database.db.php
and adodb
http://adodb.sourceforge.net/
pete
Dan Joseph wrote:
Hi Everyone,
On Wednesday 11 August 2004 19:11, Kevin wrote:
I have heard about PHP Encoding technique. What exactly it does and how is
it useful?
Any more help will really be appreciated.
google PHP Encoding
Thanks a lot for giving your time.
Thank google.
--
Jason Wong - Gremlins Associates -
There was a little mistake in the code I posted before, try this one:
http://aidan.dotgeek.org/lib/?file=function.convert_timestamp.php
Diff Fannehh [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have this date in timestamp format:
$a= 20040810114155;
I want to add 7
[snip]
I'm looking for some examples of sites that are purely MySQL and PHP
running
on Unix and that contain a few thousand records preferably held in
relational databases.
Rationale:
I need to justify PHP as a tool of choice over say vb.net or Oracle. My
recommendation, despite my limited
[snip]
Sure, define them outside the function :)
[/snip]
I have not tried this (we usually place constants in a section of the
code external to any function) but are you saying that if a constant is
defined within the bounds of a function it is not global?
--
PHP General Mailing List
Hi,
Following class may be usefull.
http://www.phpclasses.org/browse/package/699.html
One Advice :: Please check your script in another
browsers too. some Buggy Browser may cause the
problems.
zareef ahmed
--- Aaron Todd [EMAIL PROTECTED] wrote:
I was going to post another follow-up
Ive stumbled onto a rather strange problem, atleast I cant see why this
is happening. Im using phpMailer to send mails, and I have the following
straight forward code :
$mail = new phpmailer();
$mail-IsSendmail();
$mail-From = '[EMAIL PROTECTED]';
$mail-FromName = 'From Name';
Hi all,
I have encountered some troubles in trying to achieve the following:
- overload class properties by means of __set() and __get() magic functions
- store references to objects rather than copies of them in the overloaded
class properties
using the following code I can actually store and
[snip]
Then to send the mail we use this :
if(!$mail-Send()) {
echo $lang_error['mailer_error'] . br\n;
}
As you see above, Ive dropped the what if all goes well loop, since I
believe that the $mail-Send() is initiaded in the first statement
For some reason the above results in a
Thanks for your reply, it all seems logical when you think of it,
still I also think it sounds logical without the extra ELSE statement
since the function has to executed for the first IF to do the comparison,
meaning that the email should be sendt in the first place. (If it didnt
how could it
Hi!
i need do two querys in one.
First query is a load data and the second query is insert into.
My idea is to concatenate with and, but i'not know.
Is it possible?
Regards,
Juan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Matthew Sims [EMAIL PROTECTED] writes:
Uh, well...Squirrelmail is simply a webpage. The number of simultaneous
users is defined by the web server application, aka Apache.
Perhaps we view it differently. Apache is a web server. SquirrelMail
and Horde are applications, written in PHP. I'm
Juan Pablo Herrera [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi!
i need do two querys in one.
First query is a load data and the second query is insert into.
My idea is to concatenate with and, but i'not know.
Is it possible?
Regards,
Juan
Please specify a bit more clearly
[snip]
i need do two querys in one.
First query is a load data and the second query is insert into.
My idea is to concatenate with and, but i'not know.
Is it possible?
[/snip]
a. It is possible. http://catb.org/~esr/faqs/smart-questions.html
2. This is a PHP list, not a SQL list.
III. HTH!
Torsten Roehr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Juan Pablo Herrera [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi!
i need do two querys in one.
First query is a load data and the second query is insert into.
My idea is to concatenate with and, but
Hi all. As the subject suggests, I am using PHP4 and am having something
going on that I don't think should be.
Presume the following code
class Foo {
function Foo () {
return Bar;
}
}
$foo = new Foo;
echo $foo;
$foo comes out as an object. Does this have to be done in two line
[snip]
Hi all. As the subject suggests, I am using PHP4 and am having something
going on that I don't think should be.
Presume the following code
class Foo {
function Foo () {
return Bar;
}
}
$foo = new Foo;
echo $foo;
$foo comes out as an object. Does this have to be done in two
Im sure you should be returning a value in your constructor at all?? Ill
check the manual, but i dont think ive ever seen a constructor return
anything, doesnt sound right.. Let me check.
Jason
Jed R. Brubaker [EMAIL PROTECTED] wrote:
Hi all. As the subject suggests, I am using PHP4 and am
On 08/11/2004 9:28 AM, Kim Steinhaug [EMAIL PROTECTED] wrote:
Thanks for your reply, it all seems logical when you think of it,
still I also think it sounds logical without the extra ELSE statement
since the function has to executed for the first IF to do the comparison,
meaning that the
Torsten Roehr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Juan Pablo Herrera [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi!
i need do two querys in one.
First query is a load data and the second query is insert into. My
idea is to concatenate with and, but
[snip]
It's OK, but i need concatenate load data with insert.
I have a file *.cvs that used three fields (a,b,c), my database have
four
fields(a,b,c,d). The insert have the data for last field.
[/snip]
This cannot be done.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
hi...
can anyone point me to a way to do a page redirect using the php 'Header'
function to another frame. I have a page in one frame, when the user does a
submit, i want to have the app do a redirect using the 'Header' function,
with the subsequent page being displayed in another frame.
didn't
* Jason Davidson [EMAIL PROTECTED]:
Im sure you should be returning a value in your constructor at all?? Ill
check the manual, but i dont think ive ever seen a constructor return
anything, doesnt sound right.. Let me check.
From my experience, returning a value from a constructor currently
Kim Steinhaug wrote:
[snip]
For some reason the above results in a blank mail, no $body at all,
rest is fine. However, if I include a dummy for if all goes well :
if(!$mail-Send()) {
echo $lang_error['mailer_error'] . br\n;
} else {
// Why do I need this one???
}
Hi,
Currently i'm working on a php script which allow to archive the content of email
accounts. It fetch the accounts through the imap extension and store the messages in a
database. It is easy to subscribe an address to this list and collect email adresses.
I mean the attemp to hide emails,
Michael Sims wrote:
string at various points to see what it contains. You may need to
drill down into the actual source code for the Send() method to see
what it things the body string is.
Errr... s/things/thinks/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wed, 2004-08-11 at 11:14, Jed R. Brubaker wrote:
Hi all. As the subject suggests, I am using PHP4 and am having something
going on that I don't think should be.
Presume the following code
class Foo {
function Foo () {
return Bar;
}
}
$foo = new Foo;
echo $foo;
Yup, i typo'd .. should have read, Im not sure you should be returning a
value..
Jason
Matthew Weier O'Phinney [EMAIL PROTECTED] wrote:
* Jason Davidson [EMAIL PROTECTED]:
Im sure you should be returning a value in your constructor at all?? Ill
check the manual, but i dont think ive
bruce wrote:
hi...
can anyone point me to a way to do a page redirect using the php 'Header'
function to another frame. I have a page in one frame, when the user does a
submit, i want to have the app do a redirect using the 'Header' function,
with the subsequent page being displayed in another
On 11 Aug 2004 10:35:37 -, DIFF FanneHH [EMAIL PROTECTED] wrote:
Hi,
I have this date in timestamp format:
$a= 20040810114155;
Convert it to a unix timestamp (that's a mysql timestamp), then add 7
days worth of seconds to it. Search the archives or the web for more.
If you're stuck,
On Wed, 11 Aug 2004 13:03:23 +0200, Angelo Zanetti [EMAIL PROTECTED] wrote:
yes but even If I take the page source, its not anywhere near 597 lines
long...any other ideas? Sorry forgot to mention it in initial post.
How long is the JavaScript file? Look at line 597 in that file. If
that also
On Wed, 11 Aug 2004 06:54:35 -0500, Jay Blanchard
[EMAIL PROTECTED] wrote:
[snip]
Sure, define them outside the function :)
[/snip]
I have not tried this (we usually place constants in a section of the
code external to any function) but are you saying that if a constant is
defined within
The magic methods tend to screw up references in PHP4. I've turned it
off completely myself. My advise is to switch to PHP5 or not use the
overloading.
On Wed, 11 Aug 2004 15:06:51 +0200, Alessandro Vitale
[EMAIL PROTECTED] wrote:
Hi all,
I have encountered some troubles in trying to achieve
bruce wrote:
can anyone point me to a way to do a page redirect using the php 'Header'
function to another frame.
No. Use Javascript.
--
John Holmes
php|architect - The magazine for PHP professionals - http://www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
SPAM wrote:
Currently i'm working on a php script
You forgot the part where you ACTUALLY ASK A QUESTION...
--
John Holmes
php|architect - The magazine for PHP professionals - http://www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wed, 11 Aug 2004 12:49:22 -0300 (ART), Juan Pablo Herrera
[EMAIL PROTECTED] wrote:
Torsten Roehr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Juan Pablo Herrera [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi!
i need do two querys in one.
First query
This is probably getting a little offtopic (okay, a lot and my last for
today) but I'll answer what I can. Now I can't speak for Horde but I can't
see how Horde would be any different than what Squirrelmail provides.
Matthew Sims [EMAIL PROTECTED] writes:
Uh, well...Squirrelmail is simply a
On Wednesday 11 August 2004 23:01, Chris Shenton wrote:
IMAP doesn't HAVE to be on the same box. You can use SM to connect
to an another server running your mail.
Yes. But both Squirrel and Horde must speak IMAP to the mail server,
whether on localhost or remote. IMAP's nontrivial and
Wow, Michael. Nice response.
-Ed
-Original Message-
From: Michael Sims [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 9:03 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] PHP logic - Whats going on here?
Kim Steinhaug wrote:
[snip]
For some reason the above results
-Original Message-
SPAM wrote:
Currently i'm working on a php script
You forgot the part where you ACTUALLY ASK A QUESTION...
Hehe I wonder if this is covered in the Newbie Guide
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wed, 11 Aug 2004 09:14:08 -0600, Jed R. Brubaker
[EMAIL PROTECTED] wrote:
Hi all. As the subject suggests, I am using PHP4 and am having something
going on that I don't think should be.
Presume the following code
class Foo {
function Foo () {
return Bar;
You shouldn't be
There was a little mistake in the code I posted before, try this one:
http://aidan.dotgeek.org/lib/?file=function.convert_timestamp.php
Diff Fannehh [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have this date in timestamp format:
$a= 20040810114155;
I want to add 7
On Wed, 11 Aug 2004 10:15:00 -0700 (PDT), Matthew Sims
[EMAIL PROTECTED] wrote:
[snip]
Yes. But both Squirrel and Horde must speak IMAP to the mail server,
whether on localhost or remote. IMAP's nontrivial and introduces more
load on the web app server than -- say -- a POP-based mail
On Wed, 2004-08-11 at 00:13, Matthew Sims wrote:
hi...
this probably doens't belong here.. but i'll try!
i have a two frame window. when the user logs into the 'main' window, i
want
to be able to 'update' the 'main' window and then hte 'nav' window. some
underlying vars are getting
hi...
can anyone point me to a way to do a page redirect using the php 'Header'
function to another frame. I have a page in one frame, when the user does
a
submit, i want to have the app do a redirect using the 'Header' function,
with the subsequent page being displayed in another frame.
On Wed, 2004-08-11 at 10:38, Justin Patrin wrote:
On Wed, 11 Aug 2004 10:15:00 -0700 (PDT), Matthew Sims
[EMAIL PROTECTED] wrote:
[snip]
Yes. But both Squirrel and Horde must speak IMAP to the mail server,
whether on localhost or remote. IMAP's nontrivial and introduces more
load
Hi List,
I have a qty posted via a form field, lets say 46.
In my mysql table I have two rows which I want to reduce their qty fields.
1 row has a qty of say 13 and the second has a qty of 50, making 63 in
total.
So I would like to say something like if $_POST[qty] is greater than row 1's
qty
Yup, confused me...
what is it for?
J
Dave Carrera [EMAIL PROTECTED] wrote:
Hi List,
I have a qty posted via a form field, lets say 46.
In my mysql table I have two rows which I want to reduce their qty fields.
1 row has a qty of say 13 and the second has a qty of 50, making 63 in
On Wed, 2004-08-11 at 00:13, Matthew Sims wrote:
hi...
this probably doens't belong here.. but i'll try!
i have a two frame window. when the user logs into the 'main' window,
i
want
to be able to 'update' the 'main' window and then hte 'nav' window.
some
underlying vars are
Scot L. Harris wrote:
snip
Have been trying to find a way to do this myself. One idea I had to do
this from within PHP was to define the nav frame as a function which
would be called based on the actions in the main window. The nav frame
function would use the target elements to send their
I am deving a goods in system that REQUIRES that each delivery of items be
entered into raw stock separately. This is why two rows in the table have
identical details like,
Supplier
Product name
But the qtys may be diff.
Ect ect
Now the PREPARATION dept need to internally order the RAW STOCK
Dave Carrera wrote:
I have a qty posted via a form field, lets say 46.
In my mysql table I have two rows which I want to reduce their qty fields.
1 row has a qty of say 13 and the second has a qty of 50, making 63 in
total.
So I would like to say something like if $_POST[qty] is greater than row
Have been trying to find a way to do this myself. One idea I had to do
this from within PHP was to define the nav frame as a function which
would be called based on the actions in the main window. The nav frame
function would use the target elements to send their output to the
correct
I don't think you can have a single mysql query do what you're wanting.
Break it into mutiple queries.
-Original Message-
Hi List,
I have a qty posted via a form field, lets say 46.
In my mysql table I have two rows which I want to reduce their qty fields.
1 row has a qty of
I think John's right. Your schema sounds like it needs some serious work,
especially if you're storing identical details with every single
transaction. Go back and study relational database basics before trying to
create an inventory management system or you'll end up in a world of hurt.
-Ed
Dave Carrera wrote:
I am deving a goods in system that REQUIRES that each delivery of items be
entered into raw stock separately. This is why two rows in the table have
identical details like,
Supplier
Product name
But the qtys may be diff.
Ect ect
Now the PREPARATION dept need to internally order
in the event the user disbales j'script, i'm looking for an alternative...
in my case, it should be pretty easy, because i'm looking to reload the
entire page into the _top/parent frame/window. however, when i send the
header, it gets interpreted as reloading in the same frame. which is not
what
On Thursday 12 August 2004 01:26, Ed Lazor wrote:
Wow, Michael. Nice response.
Could we please trim our posts? Thank you.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
Sort of...
Here is a sort of layout of my table data:
Id | prodname | qty | datein
1 toy1332004-08-11 13:41:26
2 toy2122004-08-11 14:41:26
3 toy1162004-08-11 15:41:26
4 toy3222004-08-11 16:41:26
This is what I mean by rows, maybe wrong
Multiple queries are going to be in order as mentioend i beleive, also,
as mentioned, you may want to put some relational db design into
practice here, im not sure how big your table is going to be, but its
going to have a lot of same data in it.. how about
table products
id INT AUTO_INCREMENT
-Original Message-
in the event the user disbales j'script, i'm looking for an alternative...
There is none. Assuming the client has disabled everything on their end
means you only have HTML to work with in presenting content. Are you
understanding this concept?
Btw, I forgot to
-Original Message-
Wow, Michael. Nice response.
Could we please trim our posts? Thank you.
Sorry. Thought I'd sent it to him only.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
bruce wrote:
in the event the user disbales j'script, i'm looking for an alternative...
in my case, it should be pretty easy, because i'm looking to reload the
entire page into the _top/parent frame/window. however, when i send the
header, it gets interpreted as reloading in the same frame. which
in the event the user disbales j'script, i'm looking for an alternative...
You can't substitute PHP for javascript. Their functionalities are
completely different.
in my case, it should be pretty easy, because i'm looking to reload the
entire page into the _top/parent frame/window. however,
Hi,
I wanted to know if there is way with PHP to take a bunch of data
points and create a plotted graph image (jpg, gif or png). The data
points would be inputed into a web form and then the data points would
be plotted on a graph once the user submitted the information.
Any help would be
[snip]
I wanted to know if there is way with PHP to take a bunch of data
points and create a plotted graph image (jpg, gif or png). The data
points would be inputed into a web form and then the data points would
be plotted on a graph once the user submitted the information.
[/snip]
i am trying to print some values from a table with using
mysql_fetch_array in a loop but not able to get correct values.
it works fine for the loop i=0, prints all desired values but when it
bocomes i=1 and starts the loop again the result values gets reset and
prints the same old values.
for
On Wed, 11 Aug 2004 17:13:49 -0400, Deepak Dhake
[EMAIL PROTECTED] wrote:
i am trying to print some values from a table with using
mysql_fetch_array in a loop but not able to get correct values.
it works fine for the loop i=0, prints all desired values but when it
bocomes i=1 and starts the
(Sorry if this is a repost, had some problems with my news client not
sending properly)
Thanks for the pointers Raditha, unfortunately I still can't get it
working.
I have been banging away at this for a few days now, and I currently
have the following my script:
ini_set(max_execution_time,
I am trying to change some of my functions in to classes and objects. I
have been checking out the php.net and google and still not grasping the
concept.
here is my example all I am trying to do is print 2 numbers to the
browser that are randomly generated from dieRolls.
Thanks in advance
On 11 Aug 2004 21:30:38 -, Mark Collin [EMAIL PROTECTED] wrote:
(Sorry if this is a repost, had some problems with my news client not
sending properly)
Thanks for the pointers Raditha, unfortunately I still can't get it
working.
I have been banging away at this for a few days now, and
On Wed, 11 Aug 2004 16:35:33 -0500, Blake Schroeder [EMAIL PROTECTED] wrote:
I am trying to change some of my functions in to classes and objects. I
have been checking out the php.net and google and still not grasping the
concept.
here is my example all I am trying to do is print 2 numbers
Justin
Thank you now I have a working example to go from.
Justin Patrin wrote:
On Wed, 11 Aug 2004 16:35:33 -0500, Blake Schroeder [EMAIL PROTECTED] wrote:
I am trying to change some of my functions in to classes and objects. I
have been checking out the php.net and google and still not
Thank you
On Aug 11, 2004, at 1:25 PM, Jay Blanchard wrote:
[snip]
I wanted to know if there is way with PHP to take a bunch of data
points and create a plotted graph image (jpg, gif or png). The data
points would be inputed into a web form and then the data points would
be plotted on a graph
Hi All,
I guess regex can do the trick but I don't know much about regex :((
Here is what I want:
Say a text string in which there're several words enclosed by {
and }, for example {hellow}. I need to pick up each of the words
like this and print them or do some processing one by one.
Can any
On Wed, 11 Aug 2004 18:07:57 -0400, Alex Shi [EMAIL PROTECTED] wrote:
Hi All,
I guess regex can do the trick but I don't know much about regex :((
Here is what I want:
Say a text string in which there're several words enclosed by {
and }, for example {hellow}. I need to pick up each of the
Michael,
My company has recently developed a Web site module for a local
manufacturing company. The Web site module is a PHP and MySQL application
composed of several screens and advanced engineering functionality
(graphing, calculations etc). One of the database tables for the application
has
Hello All,
Does anyone of any good documentation for compiling Netegrity's Siteminder
module with Apache for use in a PHP based application?
Thanks.
Saqib Ali
http://validate.sf.net XHTML/DocBook XML Validator and Transformer
On Wed, 11 Aug 2004 18:20:23 -0400, Lukasz Karapuda [EMAIL PROTECTED] wrote:
Michael,
My company has recently developed a Web site module for a local
manufacturing company. The Web site module is a PHP and MySQL application
composed of several screens and advanced engineering functionality
It works the way as supposed :)
Thanks!
On Wed, 11 Aug 2004 18:07:57 -0400, Alex Shi [EMAIL PROTECTED] wrote:
Hi All,
I guess regex can do the trick but I don't know much about regex :((
Here is what I want:
Say a text string in which there're several words enclosed by {
and }, for
Hi All,
I have this expression;
$query = INSERT INTO $table (%s) VALUES (%s);
$query = sprintf($query, implode(,, $fld), implode(,,
$val));
$result = mssql_query($query) or die($errmsg);
I am trying to insert values from an array into the database.
I
On Wed, 11 Aug 2004 19:03:32 -0500, Alex Hogan
[EMAIL PROTECTED] wrote:
Hi All,
I have this expression;
$query = INSERT INTO $table (%s) VALUES (%s);
$query = sprintf($query, implode(,, $fld), implode(,,
$val));
$result = mssql_query($query) or
Hi Chris,
Horde is little bit heavier than Squirrelmail. You can
buy a Zend acclerator to speed up the things.
I think your community is not that big and Horde works
fine in our organization where we have 1000 users and
all are pretty active.
Look and feel matters in the web mail so before you
On Wed, 11 Aug 2004 18:25:34 -0700 (PDT), Hardik Doshi
[EMAIL PROTECTED] wrote:
Hi Chris,
Horde is little bit heavier than Squirrelmail. You can
buy a Zend acclerator to speed up the things.
You can also get the free TurckMMCache to cache the parsed PHP files.
I think your community is
Why does this query not work?
It should only show the eventdetails for the shown event.
-
?php
$event = mysql_query(select id, information from event where id=.$id);
?
?php
whats the error, are there any matching fields for the columns
eventetail.event and event.id?
Jason
Karl-Heinz Schulz [EMAIL PROTECTED] wrote:
Why does this query not work?
It should only show the eventdetails for the shown event.
Hi,
Thursday, August 12, 2004, 10:03:32 AM, you wrote:
AH Hi All,
AH I have this expression;
AH $query = INSERT INTO $table (%s) VALUES (%s);
AH $query = sprintf($query, implode(,, $fld), implode(,,
AH $val));
AH $result = mssql_query($query) or die($errmsg);
AH
I found my problem.
$eventdetail_query = mysql_query(select DISTINCT titles, informations,
file_name from eventdetail, event where eventdetail.event = .$id);
-Original Message-
From: Karl-Heinz Schulz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 10:13 PM
To: 'Jason
How can I encode my string using my own key? Is there any method to do this?
i.e. using base64_encode() and convert_uuencode() functions?
--
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 105 matches
Mail list logo