* Thus wrote Eugene Lee ([EMAIL PROTECTED]):
> On Sun, Oct 12, 2003 at 06:57:35PM +1000, Wang Feng wrote:
> :
> : If I get rid of the 0 and tried this:
> :
> : $price=.65;
> : $f_price=sprintf("%1.2f",$price);
> :
> : It displays "0.65" in my Mozilla browser correctly. What do you say then?
>
>
On Sun, Oct 12, 2003 at 06:57:35PM +1000, Wang Feng wrote:
:
: If I get rid of the 0 and tried this:
:
: $price=.65;
: $f_price=sprintf("%1.2f",$price);
:
: It displays "0.65" in my Mozilla browser correctly. What do you say then?
I say, "I dunno". :-) It seems to follow C's printf(3) convers
ot; <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 12, 2003 6:49 PM
Subject: Re: [PHP] newbie question
> On Sun, Oct 12, 2003 at 06:09:21PM +1000, Wang Feng wrote:
> :
> : This is the example from the php manual:
> [...]
> : $formatted = sprintf(&
On Sun, Oct 12, 2003 at 06:09:21PM +1000, Wang Feng wrote:
:
: This is the example from the php manual:
[...]
: $formatted = sprintf("%01.2f", $money);// my question comes here
: // echo $formatted will output "123.10"
[...]
:
: I don't understand the meaning of the 01 above, which follow
Greetings,
This is the example from the php manual:
***
Example 6. sprintf(): formatting currency
***
I don't understand the meaning of the 01 above, which follows the % sign. I
tried the "%.2f" and "%1.2f", both work fine
Ok thank you very much
-Ursprungliche Nachricht-
Von: Chris Kay [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 25. August 2003 01:37
An: 'Dennis Dujan - Partycult.de'
Betreff: RE: [PHP] php NEWBIE Question
Try http://au.php.net/manual/en/function.fsockopen.php
If your loo
ennis
-Ursprungliche Nachricht-
Von: Curt Zirzow [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 25. August 2003 01:22
An: [EMAIL PROTECTED]
Betreff: Re: [PHP] php NEWBIE Question
* Thus wrote Dennis Dujan - Partycult.de ([EMAIL PROTECTED]):
> Hi,
> can you tell me how is it possible to c
* Thus wrote Dennis Dujan - Partycult.de ([EMAIL PROTECTED]):
> Hi,
> can you tell me how is it possible to connect to a linux shell via PHP?
Ok, i suppose I should reply to this before you ask the same
question with less details, again.
Please be a little more specific in your question, like wha
Hi,
can you tell me how is it possible to connect to a linux shell via PHP?
Greetz
Dennis
Hi Everyone,
Thanks a lot for all your advice, I really appreciate it.
PHP / mysql is new to me so excuse my ignorance of the subject..
I will go get phpMyAdmin and give it a whirl.
Thanks again.
Phil.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
Whether you write the gui interface or someone else does doens't make a
difference.
Robbert van Andel
-Original Message-
From: Phil King [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 11:49 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question
Hi Robbert,
I be
> Hi Robbert,
>
> I beleive my ISP does not allow any GUI interface into mysql databases on
> the server.
> They have advised me that ALL functions, table creation, modification,
> loading data etc has to be done from PHP.
>
> It appears I have to use SQL statements within a PHP page to load the da
Even if they do know about it, it's functionality conforms to what they
said you can do: use SQL statements within a PHP page to load the data
*grin*.
Cheers,
Rob.
On Thu, 2003-08-21 at 14:53, Curt Zirzow wrote:
> * Thus wrote Phil King ([EMAIL PROTECTED]):
> > Hi Robbert,
> >
> > I beleive my I
* Thus wrote Phil King ([EMAIL PROTECTED]):
> Hi Robbert,
>
> I beleive my ISP does not allow any GUI interface into mysql databases on
> the server.
> They have advised me that ALL functions, table creation, modification,
> loading data etc has to be done from PHP.
>
> It appears I have to use S
to:[EMAIL PROTECTED]
> Sent: Thursday, August 21, 2003 9:25 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [PHP] Newbie Question
>
>
> On the same note I recommend phpMyAdmin(www.phpmyadmin.net). Its interface
> is quite useful especially when you have multiple DB'
Sorry, I did mean phpMyAdmin (no such thing as phpMySQL). Brain fart.
Won't happen again.
Robbert van Andel
-Original Message-
From: Dan Van Derveer [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 9:25 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] Newbie Qu
EMAIL PROTECTED]
Subject: RE: [PHP] Newbie Question
You can download PHPMySQL and locate it in a secure portion of your site.
It's an excellent gui interface into mySQL. This tool will allow you to
upload the script file and insert the data. I'm sorry, but I don't know the
URL whe
bbert van Andel
-Original Message-
From: Phil King [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 7:40 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie Question
Hi,
I 'm in the process of modify one of my sites to use PHP/mysql instead of
ASP/Ms Access.
The Access database has 200 re
Hi,
I 'm in the process of modify one of my sites to use PHP/mysql instead of
ASP/Ms Access.
The Access database has 200 records in it.
I have PWS, mysql and PHP running on my local PC.
I have used Navicat from mysqlstudio.com to import the access database into
mysql and then exported the data
PROTECTED]
Sent: August 17, 2003 8:45 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question regarding Syntax
* Thus wrote Creative Solutions New Media ([EMAIL PROTECTED]):
> Sorry guys.It think there is a bit of confusion.
>
> I miss typed what I need to do.
>
>
* Thus wrote Creative Solutions New Media ([EMAIL PROTECTED]):
> Sorry guys.It think there is a bit of confusion.
>
> I miss typed what I need to do.
>
>
> HREF=mailto:'.$row_rep_RS['repEmail'].'>'.$row_rep_RS['repEmail'].''; ?>
You should make sure to quote your html values ( href="va
Zirzow [mailto:[EMAIL PROTECTED]
Sent: August 17, 2003 8:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question regarding Syntax
* Thus wrote Creative Solutions New Media ([EMAIL PROTECTED]):
> HREF="mailto:[EMAIL PROTECTED]">'.$row_rep_RS['repEmail'].'
* Thus wrote Creative Solutions New Media ([EMAIL PROTECTED]):
> HREF="mailto:[EMAIL PROTECTED]">'.$row_rep_RS['repEmail'].''; ?>
>
> Obviously this isn't working. What is the proper syntax when you have to use
> double quotes inside the tag?
I usually prefer this method, its a style choice and
lutions New Media [mailto:[EMAIL PROTECTED]
> Enviado el: Domingo, 17 de Agosto de 2003 08:08 p.m.
> Para: [EMAIL PROTECTED]
> Asunto: [PHP] Newbie Question regarding Syntax
>
> HREF="mailto:[EMAIL PROTECTED]">'.$row_rep_RS['repEmail'].''; ?>
>
&g
mailto:[EMAIL PROTECTED]">'.$row_rep_RS['repEmail'].''; ?>
Obviously this isn't working. What is the proper syntax when you have to use
double quotes inside the tag?
Thx
Tim Winters
Manager, Creative Development
Sampling Technologies Incorporated (STI)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
W: 902
[snip]
I just setup php on my linux box and have been messing with a tutorial,
and have had some issues.
The tutorial says any name=value pairs in the querystring "automatically
creates a variable with the name and value the querystring indicated".
This does not seem to be happening.
I have in
I just setup php on my linux box and have been messing with a tutorial,
and have had some issues.
The tutorial says any name=value pairs in the querystring "automatically
creates a variable with the name and value the querystring indicated".
This does not seem to be happening.
I have installed
it's a bit
of a kludge. (IMHO, etc.)
=C=
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: Greg Luce [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 9:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie Question
Can
Can someone explain why this code works on the hosting company's server,
but won't run on my local server? I'm not sure what version is on the
host server, but I'm running 4.0.5 locally on winXP Pro. The error says:
Fatal error: Cannot redeclare dbfield() in
c:\inetpub\wwwroot\livinginnaples\databa
Hi Hacook,
> I have a mySQL database called "srchresult" in a "srchresult" base.
> In it, i have 9 fields. Everything works perfectly.
> I would like to know how can i list in a HTML table 30 results for
example
> but only with 7 columns (7 fields only) ?
Try this:
;
// loop through the resul
Hi all,
I have a mySQL database called "srchresult" in a "srchresult" base.
In it, i have 9 fields.
Everything works perfectly.
I would like to know how can i list in a HTML table 30 results for example
but only with 7 columns (7 fields only) ?
I 've tried some scripts but i can't work this out (
Steps:
1. Install PHP. Already installed?
2. make a file accessible via browser and call it test.php
3. put this into it:
";
phpinfo();
?>
4. Now, access that file.
If you see "Hello World" outputted followed by a long blue-gray table
with lots of server data -
http://www.php.net/manual/en/tutorial.php
Bryan Cassidy wrote:
This might sound stupid but what the hell. I am running Red Hat 8.0
with Apache. I have apache working fine right now. I am wanting to
learn some php but really don't know where to start/look or anything
to tell the truth. I do "eve
This might sound stupid but what the hell. I am running Red Hat 8.0
with Apache. I have apache working fine right now. I am wanting to
learn some php but really don't know where to start/look or anything
to tell the truth. I do "everything" from my FreeBSD 4.6.2 box but
Apache runs on Red Hat. With
hi all,
I got a html page, on which I put a form, with quit a lot of questions (all
kinds: textboxes, dropdowns, check, radiobuttons, ...). Its for an online
survey Im doing.
Now Im looking for a php script that puts all the data in a textfile, the
moment someone clicks on Submit. It should write
Give it a try, that's the way I do it.
jennifer villany wrote:
hi,
thanks for your feedback. chmod is greyed out in my ftp client.
im using smart ftp. can i make these changes at the command line?
thanks again,
jennifer
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTE
hi,
i hope im sending this to the correct place.
im getting this error (below) when i run a script on my server. Im assuming I need to
communicate with my admin about permissions, but im not 100% sure what the permission
is. I'm basically trying to create an html file.
if anyone can give
You might be able to solve this yourself, connect using ftp and try
"chmod o+w directory",
where directory is the directory that you want to write to.
[EMAIL PROTECTED] wrote:
hi,
i hope im sending this to the correct place.
im getting this error (below) when i run a script on my server. Im
hi,
i hope im sending this to the correct place.
im getting this error (below) when i run a script on my server. Im assuming I need to
communicate with my admin about permissions, but im not 100% sure what the permission
is. I'm basically trying to create an html file.
if anyone can give me
This is very simple
To access variables from GET form, which you would use request.querystring( ) for in
ASP,
use the $_GET array in PHP, e.g. $var = $_GET{'var'}
To access POST form values, which you would use request.form( ) for in ASP, use the
$_POST
array in PHP e.g. $var = $_POST{'var'}.
nks
Mark
-Original Message-
From: Remon Redika [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2002 12:24
To: [EMAIL PROTECTED]
Subject: [PHP] newbie question
I am newbie in php
I have var $query_string in my address page.
I want get value of query string.
For example I give strin
I am newbie in php
I have var $query_string in my address page.
I want get value of query string.
For example I give string on my query string like
www.mypages.com?var=numberx
I just want get a value of var or "numberx"
I usually do this var on asp
request.querystring("var") , so I'll get the val
Just do this:
Header("Location: $where_you_wanna_go\n\n");
And make sure you do this before produce any HTML autput !! Hope this is
helpful !!
How do I get PHP to automatically open another PHP page in a browser if
a condition is met?
I have a pull down HTML table that submits a form to a PHP
;[EMAIL PROTECTED]>
Sent: Friday, August 30, 2002 1:25 PM
Subject: [PHP] newbie question
> How do I get PHP to automatically open another PHP page in a browser if a
> condition is met?
>
> I have a pull down HTML table that submits a form to a PHP script. That
> script then
On Saturday 31 August 2002 03:25, Brian & Shannon Windsor wrote:
Please do not be lazy and choose a proper descriptive text for your subject.
Imagine the blandness and confusion and the utter uselessness if everybody
used generic subjects such as "Help", "Quick question", "This one is easy",
How do I get PHP to automatically open another PHP page in a browser if a
condition is met?
I have a pull down HTML table that submits a form to a PHP script. That
script then uses a little logic to figure out which web page to go to. I
have 5 different pages, and each has different content.
As mentioned a couple of times on that include page, you can just use
ini_set() directly in your application to set include_path.
eg.
That will run through each directory listed in your include path. That
is, it will check for:
./foo.inc
../foo.inc
../../foo.inc
/usr/local/lib/php/foo.i
I wasn't clear before. The problem I'm having, and most of the others
folks who commented, with include is really with "include_path".
A good bit of the problem seems to be my virtual host's environment.
Most things I've tried with directives in an htaccess don't work and the
error log says
What does include have to do with DirectoryIndex? And what exactly is
your problem with include? The only trick is setting the include_path
which doesn't seem all that obtuse to me.
-Rasmus
On Sun, 11 Aug 2002, Al wrote:
> The problem may be due to the fact that my environment is Apache Unix.
The problem may be due to the fact that my environment is Apache Unix.
I spent about two hours today pouring over the php on-line manual
"include" spec and trying dozens of combinations.
http://www.php.net/manual/en/function.include.php
There must be at least 20 user contributed notes at the b
On Sun, Aug 11, 2002 at 12:33:55PM -0400, Al wrote:
>
> The .htaccess approach appears to fit my situation best; but, I've not
> been able to get it to work.
I wondered about the DirectoryIndex directive's ability to utilize files
in other directories, so did a little test, which is what you i
Does your AllowOverride include "Indexes"? If it doesn't, you can't put
DirectoryIndex in a .htaccess.
httpd -L is your friend.
-Rasmus
On Sun, 11 Aug 2002, Al wrote:
> Appreciate the feedback, but.
>
> The .htaccess approach appears to fit my situation best; but, I've not
> been able to
Appreciate the feedback, but.
The .htaccess approach appears to fit my situation best; but, I've not
been able to get it to work.
I have a folder with a php script and that folder has several
sub-folders each with a small configuration script. I'd like the entry
point to be a subfolder a
On Sat, Aug 10, 2002 at 01:12:38PM -0400, Al wrote:
> I'm on a virtual host without a shell account and need execute a UNIX
> command.
>
> ln -s ../afile.php index.php
In a PHP script, you can do this -- if permissions are favorable:
exec('ln -s ../afile.php index.php');
> Is there some w
I'm on a virtual host without a shell account and need execute a UNIX
command.
ln -s ../afile.php index.php
Is there some way to do this [e.g., with a htaccess file]?
What happens when you execute UNIX commands like the one above? Does it
make a file, change the config?
Thanks
--
On Fri, Aug 09, 2002 at 10:55:52PM +0200, Kristoffer Strom wrote:
>
> How do I convert the result to HTML code, I especially want the linebreaks!!
Two options. Put the output in between tags. Or if you want the
regular font, in PHP use the nl2br() function.
--Dan
PS: For future reference.
Ok, this is totally newbie but I just started messing around with PHP after
programming IBM's NetData for a while.
My first big problem I haven't been able to solve myself is how to format
the result of an SQL query into HTML code.
In the (MySQL) database, I have one field for very long texts. On
OTECTED]
Subject: RE: [PHP] Newbie Question on Efficiency : Follow-up Question
The only reason a compiled language would not include a
function/module/etc
is to reduce the size of the final executable.
Since php doesn't store (barring the caching engines, but they work
differently anywa
g.
Martin
-Original Message-
From: Michael Kennedy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 1:36 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Newbie Question on Efficiency : Follow-up Question
Yeah, that's what I figured. With C++ you could find evidence that it
o
tle
deeper sometimes. Thanks.
Michael
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 8:05 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] Newbie Question on Efficiency : Follow-up Question
PHP loads everything up before it s
On Tue, Jul 16, 2002 at 06:25:42PM -0500, Michael Kennedy wrote:
> OK, if I understand C++ correctly, if I write a program and #include
> or something similar and compile the program it only
> compiles with the used functions in it, right? So, if I never use 'cin'
> it leaves that function out o
olmes...
> -Original Message-
> From: Michael Kennedy [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 7:26 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Newbie Question on Efficiency : Follow-up Question
>
> OK, if I understand C++ correctly, if I write a
ial. Ah, well...
Thanks for humoring me.
Michael
-Original Message-
From: Monty [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 5:44 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question on Efficiency
If you have have a large number of functions, it might be better to
sepa
If you have have a large number of functions, it might be better to separate
them into a few files that you can include as needed. I use one file that
contains functions needed by every page. I have a few other files that
contain functions that aren't needed by every page, so, I include them only
ly 16, 2002 4:01 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question on Efficiency
Unless the file is getting retartedly big (10-20K), then I wouldn't
separate them. Though if you have enough functions, you could justify
making separate files for you
Unless the file is getting retartedly big (10-20K), then I wouldn't separate them.
Though if you have enough functions, you could justify making separate files for your
database functions, output functions, backend functions, etc.
Martin Clifford
Homepage: http://www.completesource.net
Develop
Hello everyone, I'm a newbie and have a question on style that I've not
seen addressed anywhere. I have a large number of frequently used
functions that I'm trying to find a good way to organize. The method
I'm thinking of using is to simply create a .php file called, for
example, functions.php.
ðÒÉ×ÅÔ!
Cal Evans wrote:
> ++ is an incrementor.
He may also consider the position of the inc/decrementor.
Example (note that the first element of an array has index 0):
$a = Array(1,2,3,4,5);
$i = 1;
executing
echo $a[++$i]
will output
3 2
echo $a[$i++]
will output
2 2
In both cases $i ge
++ is an incrementor.
$i=1;
$i++;
echo $i;
=C=
p.s. -- is a decrementor.
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Jay [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 13, 2002 8:32 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie question
I have just started to teach myself php so I am reading through several
scripts to see how the language is "spoken". I came across the following
at phpworld.com
$i = 1;
while ($i <= 10) {
print $i++
Its a little script that counts from 1 to 10, but what does $i++ mean.
What does the ++ do
In that case, the question marks are part of the PHP opening and closing tags.
There are several ways to open and close sections of PHP script, mainly being , , and <% %>. What the below equals is , since http://www.completesource.net (Now Open!)
>>> "Alexander Ross" <[EMAIL PROTECTED]> 07/09/0
How bout the question marks in the following line of php generated html:
what do they mean?
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Sun, 7 Jul 2002, Alexander Ross wrote:
> > Can someone explain to me what the ? does. I have a vagu
On Sun, 7 Jul 2002, Alexander Ross wrote:
> Can someone explain to me what the ? does. I have a vague idea of what
> it means in a URL (please cearify that) but I haven't the slightest what
> it means in php code. Thanks for your help
Read about the ternary operator at:
http://www.php.net/ma
Can someone explain to me what the ? does. I have a vague idea of what it
means in a URL (please cearify that) but I haven't the slightest what it
means in php code. Thanks for your help
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
On Thu, 13 Jun 2002, Leston Drake wrote:
> I've been creating forms that use hidden inputs to retain variables and
> values from one instance of the form to the next (by calling itself in the
> FORM ACTION).
>
> Are there other ways to retain *global* variables and values between
> instances o
Hi,
I've been creating forms that use hidden inputs to retain variables and
values from one instance of the form to the next (by calling itself in the
FORM ACTION).
Are there other ways to retain *global* variables and values between
instances of loading a page?
I apologize for the newbie qu
Here's a newbie question. I installed the Windows CGI InstallShield
version of PHP to use with the MS Personal Web Server I already have
working perfectly on my system.
On restarting my PC and trying a very simple php script, I get the error
at the bottom of this email. Unfortunately there isn'
I am having a hard time getting apache to load the php4 module. Can I still use PHP
for my web stuff...?
Thanks
Taylor Lewick
Unix System Administrator
Fortis Benefits
816 881 6073
"Help Wanted. Seeking Telepath..."
"You Know where to apply."
It a BASIC question,
With the following:
Name :
With the job_action.php I want to display the resaults to the user.
But the variable name is empty.
What's the problem?
Thanks
Frédérick St-Hilaire
--
PHP General Mailing List (http://www.php.net/)
To unsub
}
print $textevalue."\">".$textedisplay."\n";
}
print "";
}
"
a VERY newbie question, just how do I get data into a listbox? In mysql it
was pretty easy with mysql_fetch_row, but for oracle I am totally lost.
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello r,
Sunday, May 12, 2002, 4:25:37 AM, you wrote:
r> Greetings people,
r> Special greetings to all of you who have helped me in the past.
r> As most of you know i am a newbie, I learned a bit of PHP via webmonkey and
r> a few other places, seeing the power of PHP i decided to convert from J
> 1)How many of you have seriously dug into arrays and has it been
important
> in your programming?
> 1.1)Do you think you could have done the same thing you did with
arrays
> WITHOUT arrays?
> (The reason i ask this is theres a whole chapter dedicated to arrays
in
> the
> book & its pretty frustr
I have never really understood why people have problems with arrays. Just
think of an array as a table of values. A one-dimensional array would be
a table with a single column and each row has a number (or index)
assigned to it:
+---++
| 0 | Apple |
+---++
| 1 | Orange
6 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie question to everybodyPHP
Greetings people,
Special greetings to all of you who have helped me in the past.
As most of you know i am a newbie, I learned a bit of PHP via webmonkey
and
a few other places, seeing the power of PHP i decided to co
Hi!
1. I believe every serious programmer out there uses arrays on a regular
basis...
1.1. ...exactly because there are so many problems virtually unsolvable
without them. Take for instance the case of a product page where people
would fill in ordering quantitites.
My recommendation would be
nt: Sunday, May 12, 2002 2:25 AM
Subject: [PHP] Newbie question to everybodyPHP
> Greetings people,
> Special greetings to all of you who have helped me in the past.
>
> As most of you know i am a newbie, I learned a bit of PHP via webmonkey
and
> a few other places, seeing
Greetings people,
Special greetings to all of you who have helped me in the past.
As most of you know i am a newbie, I learned a bit of PHP via webmonkey and
a few other places, seeing the power of PHP i decided to convert from Java
servlets and JSP (JSP coz its expensive to host and not many hos
At 3:02 AM -0700 15/4/02, Alexander Javier wrote:
>Hello to all. Please help me in this problem of mine. I have an html
>template with a frame. I'm using phplib's templating functions to
>replace values in the templates. How do i also replace values both in
>the main template (frleft.htm) and in
Hubert,
It may just be the way you typed it in the email but your
"products.php?tosend = 1" has spaces in it. This will truncate the
tosend parameter and give it a null value.
HTH
Regards
Chris
Janet Valade wrote:
>>On the browser i have a page in which i select the first button which has
>
> On the browser i have a page in which i select the first button which has
> a link in the form of "products.php?tosend = 1"
> but in the second pagein where I try to trap the value of tosend to
> include a file, i don't get anything.
I assume you mean that you can see the value in the URL, but
Hello to all. Please help me in this problem of mine. I have an html template with a
frame. I'm using phplib's templating functions to replace values in the templates. How
do i also replace values both in the main template (frleft.htm) and in the html page
contained in the frame? My code look
I've got a small pb i'm looking to send parameters from a php window to
another. I'll try to explain :
On the browser i have a page in which i select the first button which has
a link in the form of "products.php?tosend = 1"
but in the second pagein where I try to trap the value of tosend to
incl
$fp = fopen($filename, 'r');
while ($l = fgets($fp, 1000))
{
list ($parts, $vignette, $marque, $nom, $pdfproduit, $commprod) =
explode (';', $l);
// now use the data
print "$parts"; // or whatever
}
fclose ($fp);
On Mon, 8 Apr 2002, Hubert DAUL wrote:
>
> Hi ,
>
> Here's my problem
Hi ,
Here's my problem :
I read a data file (no sql file) which contains 8 lines, and in each line, 8
datas
(ex: name1;picture1;title1;anything1;everything1;nothing1)
and when i run it I see only one picture(the second data) and not all of
them
If someone could help me
TYA
Here the code :
Hello all,
I hope my newbie question don't bother you
too much.
I've downloaded the latest PHP for windows
but when I try to use it I get a message
that I have to re-compile it.
("You may disable this restriction by recompiling the PHP binary
with the --disable-for
Hello all,
I hope my newbie question don't bother you
too much.
I've downloaded the latest PHP for windows
but when I try to use it I get a message
that I have to re-compile it.
("You may disable this restriction by recompiling the PHP binary
with the --disable-for
> I'm sure it's something simple, but what's the
> php function that will let me connect to the
> SQL Server?
mssql_*, instead of mysql_*
See them all at http://www.php.net/manual/en/ref.mssql.php
HTH
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
What type of OS are you running this application on and how was php
compiled?
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Greg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 6:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie
I have an app that worked with mySQL, but now I'm trying to make it use
SQL Server. The function that connected to to the mySQL was:
mysql_pconnect($db_host, $db_user, $db_pass) or die("Unable to connect
to SQL server");
I tried to change it to "sql_pconnect($db_host, $db_user, $db_pass) or
di
301 - 400 of 526 matches
Mail list logo