i find var_dump useful in these situations, and for error reporting
try trigger error. http://php.net/manual/en/function.trigger-error.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Apr 20, 2009, at 17:23, Patrick Moloney wrote:
Some months ago I downloaded and installed Apache, PHP and MySql.
With only light use they seem to be working.
I have downloaded a Test Script from the VBulletin vendor that is
supposed to determine if your setup could run their product. Th
Stephen wrote:
Patrick Moloney wrote:
I've tried their help forum, but they keep telling me to create an
empty database.
Have you tried creating an empty database?
Stephen
yes.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Patrick Moloney wrote:
I've tried their help forum, but they keep telling me to create an
empty database.
Have you tried creating an empty database?
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Jan 21, 2009 at 7:31 PM, Eric Butera wrote:
> On Wed, Jan 21, 2009 at 7:24 PM, Murray wrote:
>> I think this is my problem -- basically to know how to get some benefit from
>> it.
>>
>> If I have a function in a class that is supposed to return some rows, how
>> would I go about performin
On Wed, Jan 21, 2009 at 7:24 PM, Murray wrote:
> I think this is my problem -- basically to know how to get some benefit from
> it.
>
> If I have a function in a class that is supposed to return some rows, how
> would I go about performing a useful unit test on it? In theory (and in my
> current p
I think this is my problem -- basically to know how to get some benefit from
it.
If I have a function in a class that is supposed to return some rows, how
would I go about performing a useful unit test on it? In theory (and in my
current practice), I can simply dump the array or object, or step th
On Wed, Jan 21, 2009 at 7:01 PM, Murray wrote:
> Hi All,
>
> I'd like to understand unit testing better (or, in fact, at all). I
> understand the broad idea that testing Is A Very Good Thing, but when I have
> tried to look into it further (for example, have just been looking through
> the PHPUnit
On Wed, February 13, 2008 6:26 am, pretty wrote:
> hi any one help me out, im using cronofirm, i need to field form
> details will
> converted into pdf as well as it will go maill attachment doing this
> in
> joomla, atleast i need this only php with out joomla.
To make a PDF, you can use:
http:/
On 2/13/08, pretty <[EMAIL PROTECTED]> wrote:
>
> hi any one help me out, im using cronofirm, i need to field form details will
> converted into pdf as well as it will go maill attachment doing this in
> joomla, atleast i need this only php with out joomla.
It might be overkill for your purposes,
On Feb 13, 2008, at 426AM, pretty wrote
hi any one help me out, im using cronofirm, i need to field form
details will
converted into pdf as well as it will go maill attachment doing this
in
joomla, atleast i need this only php with out joomla.
For sending email:
The standard mail function
al Message-
From: Tijnema ! [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 29, 2007 5:03 AM
To: Brad Sumrall
Cc: php-general@lists.php.net; [EMAIL PROTECTED]
Subject: Re: [PHP] Help me put this into phpinesse!
On 4/29/07, Brad Sumrall <[EMAIL PROTECTED]> wrote:
>
&g
On 4/29/07, Brad Sumrall <[EMAIL PROTECTED]> wrote:
What's the sense of above line?
isset is a function, that returns true or false.
if $SESSION=NULL
include './phpbb/login_global.php'
$show="yes";
?>
What am I missing?
Brad
At 12:44 PM +0300 4/4/07, Faisal Murad wrote:
i am making a program to give money to a group of people
lets say that i have to distribute 3000 among 12
people 6 of them are adult and will get 100%
6 them are children those will get 75% from the overall amount.
a common solution might appear as
Satyam wrote:
> You'll give 100 'units' to 6 of them, and 75 to 6, thus:
>
> 6 * 100 + 6 * 75 ==> 1050 units
>
> Each 'unit' is valued at:
>
> 3000 / 1050 ==> 2.8571
>
> Thus, you give:
>
> 6 * 285.71 + 6 * 214.28 ==> 2999.94, and you may keep the change ;-)
pity you don't work as bank dire
You'll give 100 'units' to 6 of them, and 75 to 6, thus:
6 * 100 + 6 * 75 ==> 1050 units
Each 'unit' is valued at:
3000 / 1050 ==> 2.8571
Thus, you give:
6 * 285.71 + 6 * 214.28 ==> 2999.94, and you may keep the change ;-)
Satyam
- Original Message -
From: "Faisal Murad" <[EMAI
2007. 04. 4, szerda keltezéssel 12.44-kor Faisal Murad ezt írta:
> i am making a program to give money to a group of people
> lets say that i have to distribute 3000 among 12
> people 6 of them are adult and will get 100%
> 6 them are children those will get 75% from the overall amount.
>
> a
> On Tue, March 13, 2007 7:27 pm, Mark wrote:
>> I have a web session management server that makes PHP clustering easy
>> and
>> fast. I have been getting a number of requests for some level of
>> redundancy.
>>
>> As it is, I can save to an NFS or GFS file system, and be redundant
>> that
>> way.
On Tue, March 13, 2007 7:27 pm, Mark wrote:
> I have a web session management server that makes PHP clustering easy
> and
> fast. I have been getting a number of requests for some level of
> redundancy.
>
> As it is, I can save to an NFS or GFS file system, and be redundant
> that
> way.
Talk to J
Hi,
The Tomcat server now includes the php javabridge, its a war file called
JavaBridge.war. Also, you can find this war file in
php-java-bridge.sourceforge.net . The instllation is pretty easy just copy
the war file in the root directory (e.g webapps/) and then run it from the
browser (eg. loca
# [EMAIL PROTECTED] / 2007-01-04 15:05:54 +0700:
> I have two web application running on php and jsp. But i don't know how can
> to use php and jsp on tomcat server. Please help me.
Find an implementation of PHP in Java (tough luck) or the official
library wrapped in a JNI interface. But you'll ma
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Just remember in web context is a server-side language ... so you couldn't
have more information than client would want to send to you
in web context, the navigator send some information to the server (like what
navigator, address, proxy, ...)
so ..
At 1/2/2007 12:24 AM, Le Phuoc Canh wrote:
Can we use php to detect client screen resolution? Please help me ?
Do you really want screen resolution or do you want browser window
size? Not every PC user keeps their windows maximized, and I have
yet to meet a Mac user who attempts to do so.
On 1/2/07, Stut <[EMAIL PROTECTED]> wrote:
Le Phuoc Canh wrote:
> Can we use php to detect client screen resolution? Please help me ?
>
No "we" can't. "You" need Javascript or another "client"-side technology
for that.
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
Le Phuoc Canh wrote:
Can we use php to detect client screen resolution? Please help me ?
No "we" can't. "You" need Javascript or another "client"-side technology
for that.
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, December 4, 2006 1:37 am, Le Phuoc Canh wrote:
> Dears,
> I want to make a web app about music online. But i don't know how to
> use
> streaming in PHP to load a music file for playing. Please help me for
> the
> best direction.
> Thanks alot and best regard.
You are making this too compli
with javascript (if you do not need 'fresh' data)
Thomas
-Original Message-
From: Robert Graham [mailto:[EMAIL PROTECTED]
Sent: 19 January 2006 09:34 AM
To: suresh kumar
Cc: php-general@lists.php.net
Subject: Re: [PHP] help me plz
suresh kumar wrote:
> hi,
>i am usin
suresh kumar wrote:
hi,
i am using 2 combo box one for country & another
one for city.when i select country name from combo box
their corresponding city names has to be changed in
their corresponding combo box.i dont know how 2
implement this.pz give me some idea.its urgent.
Whatever
Suresh, I know as a beginer you are facing this problems.
I would suggest that you check standalone htm version of php document.
The dynamic combo script can be located at
http://www.weberdev.com/get_example.php3?count=4074&mode=text
This site has 1000s of FREE ready to use PHP,My
On Wed, 2006-01-18 at 11:11, John Nichel wrote:
> Jay Blanchard wrote:
> > [snip]
> >i am having 2 combo box one for city & another one
> > for country,when i select particular country say
> > "india" their corresponding cities will be displayed
> > in city combobox as "delhi,bangalore
You need to build JavaScript logic for that.
Try searching on JavaScript developer sites and mailing lists.
This has nothing to do with PHP -- unless you are dynamically building the
JavaScript.
--
Anas Mughal
On 1/18/06, suresh kumar <[EMAIL PROTECTED]> wrote:
>
> hi,
>i am having 2 comb
suresh kumar wrote:
hi,
i am having 2 combo box one for city & another one
for country,when i select particular country say
"india" their corresponding cities will be displayed
in city combobox as "delhi,bangalore.",when i
select "Australia" thier cities like
"perth,brisbane..
et
Subject: RE: [PHP] help me pllzz
Or my sense of sailing to deadlines :)
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: 18 January 2006 16:11
To: php-general@lists.php.net
Subject: Re: [PHP] help me pllzz
Jay Blanchard wrote:
> [snip]
>i am having
Or my sense of sailing to deadlines :)
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: 18 January 2006 16:11
To: php-general@lists.php.net
Subject: Re: [PHP] help me pllzz
Jay Blanchard wrote:
> [snip]
>i am having 2 combo box one for city & a
Jay Blanchard wrote:
[snip]
i am having 2 combo box one for city & another one
for country,when i select particular country say
"india" their corresponding cities will be displayed
in city combobox as "delhi,bangalore.",when i
select "Australia" thier cities like
"perth,brisbane
[snip]
i am having 2 combo box one for city & another one
for country,when i select particular country say
"india" their corresponding cities will be displayed
in city combobox as "delhi,bangalore.",when i
select "Australia" thier cities like
"perth,brisbane"will be displayed.p
If this is on the same web page, your question has nothing to do with
PHP - look into, i.e., JavaScript.
suresh kumar wrote:
hi,
i am using 2 combo box one for country & another
one for city.when i select country name from combo box
their corresponding city names has to be changed in
their c
Suresh Pandian wrote:
im currently working on creating musical forum. i need to create
tables for every song uploaded on the fly to save the comments and
rates entered by the viewers. im unable to create tables on the
fly. can anyone know how to create tables on the fly
.plz t
Suresh Pandian wrote:
hello friends,
im currently working on creating musical forum.
i need to create tables for every song uploaded on the fly to save the comments
and rates entered by the viewers.
im unable to create tables on the fly.
...
if I upl
Maybe this could be something? I haven't tried it though.
http://www.activewidgets.com/grid/
/Jesper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
I want to display several fields of values as a row, with header such as
-- |
Name age mail-id | Header part, by clicking over this I want to sort the
--- | rows
be
Hi there!
What do you mean with listview? Of what?
/G
http://www.varupiraten.se/
- Original Message -
From: "Nahalingam N. Kanakavel" <[EMAIL PROTECTED]>
To: "PHP"
Sent: Monday, September 12, 2005 11:05 AM
Subject: [PHP] help me to draw a listview in my website
hi all,
If any scri
Nahalingam N. Kanakavel wrote:
hi all,
If any scripts available to draw a list view.
Plz help me, by giving some links or scripts avilable with you.
What is a list view?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is how I would do it, don't know if it is the best way.
A. get the date out of the database
Let's say $maindate is that date you retrieved from the database
B. split up the date into several parts for day month and year The day as a
number (dd):
$day=date ("j", strtotime($maindate));
The mo
K Karthik wrote:
> i'd like to get a date from my database(mysql).and then show a combobox
> of calendar(date-month-year) with the retrieved data selected.
> can you help me doing this?? am new to php.
http://www.google.com/search?q=PHP+date+combobox
--
Like Music?
http://l-i-e.com/artists.htm
http://www.php.net/date
On Fri, 18 Feb 2005 12:07:14 +0530, K Karthik <[EMAIL PROTECTED]> wrote:
> i am so surprised for the immediate reply.thank you so much.
> i'll be thank ful again if you could help me finding the current date
> and time using php.
> thanks,
> karthik
>
> --
> PHP General M
On Thu, 2005-02-17 at 19:11 +0530, K Karthik wrote:
> > can u help me to use $_SERVER['remote_addr'] to find the IP address ?
> > i am new to php. i also want to find what page of my site he is viewing ?
>
print_r($_SERVER);
what do you see?
--
/***
* Robb
I did something like this a while back, I believe I used chunk_split
[code]
[/code]
it'll output something along the lines of:
20
04
Hope this helps,
--
<<
Jasper Howard - Database Administration
ApexEleven.com
530 559 0107
-
outputs: 2004
Whats the correct syntax for it? The manual said..
This function is an alias of rtrim().
and:
rtrim
(PHP 3, PHP 4 )
rtrim -- Strip whitespace from the end of a string
On Wed, 08 Dec 2004 18:11:19 -0800, Tyler Replogle <[EMAIL PROTECTED]> wrote:
> have you tride using ch
On Thu, 2004-12-09 at 09:55 +0800, Louie Miranda wrote:
> Help me split chars w/o spaces by 2... like: 2004
> How can i make it?
>
> first: 20
> second: 04
>
> Im working on this..
>
> # begin code
> $year_split = date("Y");
> $chars = preg_split('//', $year_split, -1, PREG_SPLIT_NO_EMPTY);
have you tride using chop() ?
# begin code
$year_split = date("Y");
$chars = chop($year_split);
$chars[0] // = 2
$chars[1] // = 0
$chars[2] // = 0
$chars[3] //= 4
# end code
I hope that will help
From: Louie Miranda <[EMAIL PROTECTED]>
Reply-To: Louie Miranda <[EMAIL PROTECTED]>
To: [EMAIL
On Wednesday 13 October 2004 15:08, Francis Chang wrote:
[snip]
> access the post variables. My question is, is the $HTTP_POST_VARS global
> still populated for backwards compatibility? In other words, if I have an
> old script that has the following piece of code running on a PHP5.0
> environm
On Sat, 9 Oct 2004 16:41:28 +0530, suneel <[EMAIL PROTECTED]> wrote:
> I'm implementing mass mailing program...as there are hundred's of users that receive
> mails...as a result i'm getting this error...
>
> Fatal error: Maximum execution time of 30 seconds exceeded in
> d:\phpsites\ac\asc\acend
> I'm implementing mass mailing program...as there are hundred's of users that receive
> mails...as a result i'm getting this error...
>
> Fatal error: Maximum execution time of 30 seconds exceeded in
> d:\phpsites\ac\asc\acendo on line 42
take a look at
http://us4.php.net/manual/en/ref.info.
water_foul wrote:
ho do you make a eregi so it looks at the var as a single line
use the preg_ functions.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.ne
sorry i didn't relise i did that till just now
"Richard Davey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> w> ho do you make a eregi so it looks at the var as a single line
>
> If anyone helps you after you posted 15KB of pointless HTML.. twice..
> I'll be amazed.
>
> Best regard
w> ho do you make a eregi so it looks at the var as a single line
If anyone helps you after you posted 15KB of pointless HTML.. twice..
I'll be amazed.
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I am not young enough to know everything." - Oscar Wil
Dave wrote:
I am setting up downloads.ca so as to be like downloads.com I need to be
able to upload files several gigs in size
Dave
Dave :
Don't top post.
FTP is what you need to "upload files several gigs in size"
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
--
PHP Gene
Dave wrote:
Hi I need to edit my php.ini file. I tried to do this through ftp but no go. I am
really desperate. How do I do it through putty. Ie
I log in
su to root
NOW WHAT?
Find your php.ini file
--
A few ways to do this. The easiest would be to look at the output of
phpi
Dave wrote:
Hi I need to edit my php.ini file. I tried to do this through ftp but no go. I am
really desperate. How do I do it through putty. Ie
I log in
su to root
NOW WHAT?
vi?
Please give me step by step instructions including how to save and make my changes.
I need to do the following
I need
Dave,
First thing you need to do is find the location of your php.ini file. I
typically create a document with the function phpinfo (); and load it up
in the browser. This will tell you the location of the php.ini file.
From there you need to use your favorite command line editor to open
the p
LOL =)
"Steve M" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Thu, 19 Jun 2003 13:21:07 +0200, Daniel wrote:
>
> > Okay, I think I'll have to kill myself...
>
> > I can't believe I am this stupid, but it turned out I was working on a
copy
> > of the file, not the real one. D'OH
On Thu, 19 Jun 2003 13:21:07 +0200, Daniel wrote:
> Okay, I think I'll have to kill myself...
> I can't believe I am this stupid, but it turned out I was working on a copy
> of the file, not the real one. D'OH!!!
> Sorry, guys!
> Daniel
That's no reason not to kill M$...
+a
Steve
--
Steve Ma
Okay, I think I'll have to kill myself...
I can't believe I am this stupid, but it turned out I was working on a copy
of the file, not the real one. D'OH!!!
Sorry, guys!
Daniel
"Daniel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks for the advice, but that would mean I'd
Thanks for the advice, but that would mean I'd have to change the way the
code works, and that would a bit much, I think... I was hoping for some
registry editing or a little utility or something...
But thanks =)
Daniel
"Awlad Hussain" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
try something like this, not sure if this what you want
create a random value like
$random = rand();
then attach it to the each page.. like
index.php?random=$random
good luck
- Original Message -
From: "Daniel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 19, 20
Ben Edwards wrote:
Am talking to a part Bristol City Council in the UK. To persuade them
to use PHP I need to find some high profile reference sites.
You may find some useful references in the archive of this list. I
remember a poster with the subject of: "Is php used by U.S. Government?
By
We use it here (although you can't tell because we have set up the extension
to be .html)
http://library.open.ac.uk
It queries a mysql database for the metadata as well as building up the
pages.
Mark Bond
Systems Manager
Open University Library
-Original Message-
From: Ben Edwards [ma
download and install the apache web server. that along with php should do
the trick. if you're doing any database work you may want to pick up the
windows version of that too.
some decent instructions are here:
http://www.thesitewizard.com/archive/php4install.shtml
-Original Message-
Fr
On Friday 07 March 2003 03:42, Cavallaro, Vito wrote:
> Do You Know java mail list?
I don't, but I bet google does.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
-
ailto:[EMAIL PROTECTED]]
> Enviado el: martes 11 de febrero de 2003 15:06
> Para: Cavallaro, Vito
> Cc: [EMAIL PROTECTED]
> Asunto: Re: [PHP] help me
>
>
> make sure that the php3_xml.dll is in your system path and it can be
> found.
>
> Ray
>
> On Tue, 2003-02-11 at
all *.dll are C:\PHP3 but internet explorer make unload the file.xml
-Mensaje original-
De: Ray Hunter [mailto:[EMAIL PROTECTED]]
Enviado el: martes 11 de febrero de 2003 15:06
Para: Cavallaro, Vito
Cc: [EMAIL PROTECTED]
Asunto: Re: [PHP] help me
make sure that the php3_xml.dll is in
make sure that the php3_xml.dll is in your system path and it can be
found.
Ray
On Tue, 2003-02-11 at 07:38, Cavallaro, Vito wrote:
> how i do work php with xml?
>
> In php3.ini add extension = php3_xml.dll but not work. is runnig on winnt
> workstation
>
>
>
> --
> PHP General Mailing List
the only difference to structure is this line is in the first file and not
the second.
fw_menu_2.addMenuItem("STANDARD
PROMOTION","location='http://www.bis.org.in/sf/sfp2.htm'");
diff is a wonderful tool!!!
Enjoy
Jim
- Original Message -
From: "Amit Gupta" <[EMAIL PROTECTED]>
To: <[EMA
stems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
> -Original Message-
> From: Jason Wong [mailto:php-general@;gremlins.com.hk]
> Sent: 7. marraskuuta 2002 11:51
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Help me learn! with an explanation of
> these t
On Thursday 07 November 2002 16:28, Steve Jackson wrote:
> Finally I have it!
if this is your final code then you still don't "have it" !
> Cheers to all that helped. I was querying twice when I didn't need to
> and as Jason said not doing anything with the extracted information.
> extrac
Message-
> From: Jason Wong [mailto:php-general@;gremlins.com.hk]
> Sent: 7. marraskuuta 2002 10:06
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Help me learn! with an explanation of
> these two functions.
>
>
> On Thursday 07 November 2002 15:15, Steve Jackson wrote:
On Thursday 07 November 2002 15:15, Steve Jackson wrote:
> My second query still doesn't return anything? Even with $orderid = $row
> removed as Jason suggested.
What exactly do you mean by "doesn't return anything"?
a) Does the second query fail?
b) Do you get any errors?
If no to both (a) and
My second query still doesn't return anything? Even with $orderid = $row
removed as Jason suggested.
This is my current function.
function get_order_numbers()
{
$conn = db_connect();
$query = "select orders.orderid from orders, email where orders.orderid
= email.orderid and email.checked='no'";
$
On Wednesday 06 November 2002 21:46, Steve Jackson wrote:
> It doesn't contain a single result. It returns 16 order numbers (which
> is correct - 8 should be in the table emails with no checked and
> therefore the query has worked and pulled out 8 from the orders table
> also). What I want the fun
> On Wednesday 06 November 2002 16:52, Steve Jackson wrote:
> > Ok this is starting to get complex! (For me anyway)
> > This is my function:
> > function get_order_numbers()
> > {
> > $conn = db_connect();
> > $query = "select orders.orderid from orders, email where
> > orders.orderid = email.orde
On Wednesday 06 November 2002 16:52, Steve Jackson wrote:
> Ok this is starting to get complex! (For me anyway)
> This is my function:
> function get_order_numbers()
> {
> $conn = db_connect();
> $query = "select orders.orderid from orders, email where orders.orderid
> = email.orderid and email.che
At 09:52 06.11.2002, Steve Jackson said:
[snip]
>function get_order_numbers()
>{
>$conn = db_connect();
>$query = "select orders.orderid from orders, email where orders.orderid
>= email.orderid and email.checked='no'";
>$result = mysql_query($query) or die("E
Ok this is starting to get complex! (For me anyway)
This is my function:
function get_order_numbers()
{
$conn = db_connect();
$query = "select orders.orderid from orders, email where orders.orderid
= email.orderid and email.checked='no'";
$result = mysql_query($query) or die("Error: cannot select
At 08:58 06.11.2002, Steve Jackson said:
[snip]
>Joins. Cool. Never heard of them before now but have started
>experimenting with them.
>What does this error mean?
>
>Error: cannot select orderid
>select orderid from orders, email where orders.orderid = email
Mobile +358 50 343 5159
> -Original Message-
> From: 1LT John W. Holmes [mailto:holmes072000@;charter.net]
> Sent: 5. marraskuuta 2002 16:59
> To: [EMAIL PROTECTED]; PHP General
> Subject: Re: [PHP] Help me learn! with an explanation of
> these two functions.
>
>
> Y
Your first function is only going to return one row of 'checked=no' records.
The second function will only return one column of the result.
What you want is a JOIN. You can do all of this with a single query. Without
knowing the format of your tables exactly, I can't give you the syntax,
though.
$orderid WILL NOT contain all the rows. mysql_fetch_array() returns only one row each
time it is called. Upon fetching last row, it returns NULL/FALSE/0. Therefore, as you
fetch each row, you will then execute your second function to pull all the data for
that
particular order number. Finally,
Anjali,
Use a BUTTON type element, and some javascript:
Peter
At 01:57 PM 9/8/2002 -0700, you wrote:
>hello,
>
>i dont know how to redirect a page... i mean i want to
>have the effect of submit button without clicking on
>the submit button.
>
>thank you
>anjali
>
>___
This work for me:
liv_1
liv_2
liv_3
liv_n
To get the value i work in this way...
$liv= $_REQUEST['liv'];
$n = 50;
for ($i=1; $i<=$n;i++){
...
echo $liv[$i];
Josep R. Raurell
--
PHP General Mailing List (
Try:
for ($i=1; $i<=$n;i++){
...
$tmp="liv_$i";
echo "{$$tmp}";
...
}
Veronica Ghezzi wrote:
>Hi,
> i must get the information saved in a several select list named
> liv_1
> liv_2
>
";
$i ++;
}
?>
Simply echoing the \$liv_$i will not work, need to evaluate the string
after parsed as in example above...
Kevin Porter wrote:
>You need to escape the dollar sign with a backslash to prevent PHP trying to
>interpolate the variable $liv (which presumably doesn't exist).
>
>echo
You need to escape the dollar sign with a backslash to prevent PHP trying to
interpolate the variable $liv (which presumably doesn't exist).
echo "\$liv_$i";
HTH,
- Kev
> -Original Message-
> From: Veronica Ghezzi [SMTP:[EMAIL PROTECTED]]
> Sent: 10 June 2002 09:24
> To: Php-General
Maybe you should just ask your question in Spanish, because I have no
idea what you just asked... Does it just not work?
---John Holmes...
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 01, 2002 2:34 PM
> To: [EMAIL PROTECTED]
> Subject:
25/03/2002 8:27:51 PM
hehehe
You could start with loosing IIS, it's bad news.
The port of Apache for windows is good, if not, Xitami's also quite good.
http://www.apache.org/dist/httpd/binaries/win32/
http://www.xitami.com/
But, no, sorry. I can't help you.
"Berlina" <[EMAIL PROTECTED]> wro
http://www.php.net/unsub.php
Should be in the bottom of every email you receive.
Dan
-Original Message-
From: Michele Salerno [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 7:53 AM
To: php-general
Subject: [PHP] Help me for unsubscribe
What unsubscribe at mailning list?
--
Web
Simon Willison [mailto:[EMAIL PROTECTED]]
> Verzonden: donderdag 28 februari 2002 12:30
> Aan: hei
> CC: [EMAIL PROTECTED]
> Onderwerp: Re: [PHP] Help me!!!Can I use PHP to send SMS message???
>
> hei wrote:
>
> >Help me!!!Can I use PHP to send SMS message???If yes, ho
: [EMAIL PROTECTED]
Onderwerp: Re: [PHP] Help me!!!Can I use PHP to send SMS message???
hei wrote:
>Help me!!!Can I use PHP to send SMS message???If yes, how can I use
it???
>
>
>(((Please e-mail the answer to me [EMAIL PROTECTED])))
>
One very cheeky way of doing this would be to sign u
hei wrote:
>Help me!!!Can I use PHP to send SMS message???If yes, how can I use it???
>
>
>(((Please e-mail the answer to me [EMAIL PROTECTED])))
>
One very cheeky way of doing this would be to sign up to one of the free
SMS services on the web (such as lycos mobile) and set up a PHP script
tha
- Original Message -
From: "hugh danaher" <[EMAIL PROTECTED]>
To: "Michele Salerno" <[EMAIL PROTECTED]>; "php"
<[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 10:38 PM
Subject: Re: [PHP] Help me
> Michele,
> Please show so
1 - 100 of 114 matches
Mail list logo