why not:
"select count(*) as counter from table"
- Original Message -
From: "Tyler Longren" <[EMAIL PROTECTED]>
To: "Chuck "PUP" Payne" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, September 10, 2002 1:02 PM
Subject: Re: [PHP] Count in PHP
> $sql = mysql_query(
> I want to change the default session name 'PHPSESSID' to say ex. 'seid'.
>
> How can I do this without editing to the php.ini since I'm having a site
on
> a virtual host.
Try putting this at the start of your scripts:
ini_set ('session.name', 'seid');
Luke Welling.
--
PHP and MySQL Web Develo
> On the PHP Bug board, I managed to find that it was to do with the
> Apache configuration settings, namely, you should put
>
> AddType application/x-httpd-php .php .php3
>
> instead of;
>
>
> SetOutputFilter PHP
>
>
> in the httpd.conf file.
>
> This took ages to find and was only posted w
And by the way, please check the NOTE: on
http://jp2.php.net/manual/en/function.header.php for the use of header().
Something's missing in the way you used it--perhaps, this is causing the
problem...
- E
Note: HTTP/1.1 requires an absolute URI as argument to Location: including
the scheme, ho
Hello,
On Tuesday, September 10, 2002 1:52 PM
Jean-Christian Imbeault wrote:
> The problem is that the POST variables are coming in EUC-JP (japanese)
> correctly but for some reason IE re-encodes the variable into some other
> charset (SJIS I am guessing) when requesting the new page sent in th
I also just noticed that your first variable in the query string (which
begins after the ? character) begins with an &, which is a separator
character. I'm not sure what's going on there, but it should be
something more like this:
header("Location:
http://192.168.254.14/show_products_html.php
You should always use a proper full URL in the Location header. Try that
first.
header("Location:
http://192.168.254.14/show_products_html.php?&maker_name=$maker_name&PHPSESSID=$PHPSESSID";);
I doubt this will solve your problem, but it is good practice anyway.
One thing that would help debug
I want to change the default session name 'PHPSESSID' to say ex. 'seid'.
How can I do this without editing to the php.ini since I'm having a site on
a virtual host.
Thanx for help in advance ...
Mohd Q.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
> I am wanting to do a count in PHP. I want to be able to count the number
of
> records from a given database and display this count on the page. Can this
> be done using PHP or is the sql thing?
If you're using MySQL - I don't know if COUNT() is a part of SQL'92 - you
can use SELECT COUNT(*) FRO
$sql = mysql_query("SELECT * FROM table ORDER BY whatever");
echo(mysql_num_rows($sql));
that should do it.
tyler
On Tue, 10 Sep 2002 00:58:26 -0400
"Chuck \"PUP\" Payne" <[EMAIL PROTECTED]> wrote:
> I am wanting to do a count in PHP. I want to be able to count the
> number of records from a g
it's best done in sql using "select count(*)"
but can be done in php by looping through the result set
-Original Message-
From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 2:58 PM
To: PHP General
Subject: [PHP] Count in PHP
I am wanting to do a count i
I am wanting to do a count in PHP. I want to be able to count the number of
records from a given database and display this count on the page. Can this
be done using PHP or is the sql thing?
Chuck Payne
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
I have the following code which works fine in Netscape7 but doesn't in IE5.5
$maker_name = $_POST["maker_name"];
$loc = "show_products.php?maker_name=$maker_name&".SID;
header("Location: $loc");
The problem is that the POST variables are coming in EUC-JP (japanese)
correctly but for some re
Does anyone know of a guestbook and messageboard similiar/equiv. to the
ones found here: http://www.scriptarchive.com/ on the homepage.
I know there is a link to PHP on the left, but I've been searching
around and haven't been able to find one that are similiar to the link
above.
Thanks.
-M
The text field only has newlines (\n) not breaks.
For starters, in the text area tag, you need wrap="virtual":
Then instead of
print "$mailingAddress";
try
print nl2br($mailingAddress)."";
... which converts all new lines (\n) into breaks ()
Regards,
Justin
on 10/09/02 2:21 PM,
The only brain cells I've got awake at this moment figure out that when
copying an upload form/code the "enctype" must be copied as well...
sorry for this. I had some more trouble, but it was solved by giving the
appropriate permissions to the folder.
Thanks again, C.
> -Original Message
thank you very much :-)
"Chris Shiflett" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am guessing you mean the input is a textarea.
>
> At any rate, I believe what you want is nl2br()
>
> Happy hacking.
>
> Chris
>
> Hans Prins wrote:
>
> >Hello,
> >
> >
Villie,
Might seem a silly question, but do you have gd-2.0.1 installed in
/usr/local/gd-2.0.1?
Which version does phpinfo() say you're running?
What does the libphp4.so file link to? Type "ldd libphp4.so" in your
apache/libexec folder. Perhaps you need to put the path to libgd in
/etc/ld.s
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 53738 bytes) in /var/cli/mp3anal/mp3anal.php on line 68.
Segmentation fault
This is line 68: while ($found = fscanf ($fp, "%s - - [%[A-Za-z0-9/]:%[0-9:] %[+-0-9]]
\"%[A-Z-] %s %[A-Z0-9/.]\" %[0-9-] %[0-9-]\n",
&$ip, &
Hi Richard
If you're using Apache I'd recommend using .htaccess files
that way there is no php needed.
AuthName "Your Directory Service - Authentication"
AuthType basic
AuthLDAP on
AuthLDAPServer ldap://ldap.yourdomain.com/
AuthLDAPBase "ou=Your Division, ou=Staff, o=Your Company, c=US"
require
I am guessing you mean the input is a textarea.
At any rate, I believe what you want is nl2br()
Happy hacking.
Chris
Hans Prins wrote:
>Hello,
>
>I have a form field of the type "scrolling text box" it lets users input a
>multiline string. I then pass this string as a variable to a php docume
Hello,
I have a form field of the type "scrolling text box" it lets users input a
multiline string. I then pass this string as a variable to a php document
that prints this string to the screen:
print "$mailingAddress";
however. this outputs it all in one line.
Does anyone have an idea as t
If you've typed your code in accurately then...
> $detailqry = "SELECT id, parentitemid, itemtypeid, itemstatusid,
[etc]
> $result = mysql_query($detailqry) or die("Failed finding
> task details");
somewhere in about here you want to have something like:
$sqldata = mysql_fetch_array($res
Hi all.
I just saw my code laugh at me when this exploded into my face. Can
anyone tell me why isnt this working? I just copied it from another
page made by me for the same site, changed the parameters and tested it,
but it doesnt work here
hows this possible?
BEGIN CODE***
Hi,
Tuesday, September 10, 2002, 1:41:23 PM, you wrote:
PH> Hello everyone..tryin to run this qry against a mysql db, but after it runs,
PH> it doesn't assign anything to the variables as it should. If i return all
PH> rows, and spit out each record in the result in an array, i have the same
P
Hi,
Is there a way that when someone add a submit or edits a record that I can
have my php page e-mail that record? And is hard to do?
Chuck Payne
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello everyone..tryin to run this qry against a mysql db, but after it runs,
it doesn't assign anything to the variables as it should. If i return all
rows, and spit out each record in the result in an array, i have the same
problem, but have 24 'blank' records instead of 1. Any ideas? Thanks f
Greetings:
We've got a Netware 6.0 server setup, and this is our network's primary means of
authentication of users, and I would like to use NDS (eDirectory) to authenticate
various web pages of ours that are written in PHP. I know that NDS interfaces with
LDAP, and was wondering if I could us
on 10/09/02 1:01 PM, Jiaqing Wang ([EMAIL PROTECTED]) wrote:
> Hello, Everyone,
> I'm having some problem with the session handling in my code, it's kind of
> hard to explain the whole problem but let me try.
> I currently have a login page login.php which will take user input for
> userid and pa
Well, for lack of a better solution (and mainly lack of time to invent one)
I decided to go with a simple indeterminate progress bar. I've already
found more uses for this than just uploading files and thought some of you
might have a use for it in your scripts which take a while to complete.
Well, for lack of a better solution (and mainly lack of time to invent one)
I decided to go with a simple indeterminate progress bar. I've already
found more uses for this than just uploading files and thought some of you
might have a use for it in your scripts which take a while to complete.
Hi all,
I need to build php as a CGI for some scripts that need to run as the user
(image gallery scripts, where safe mode isn't enough to write to user
directories, I need the files written AS a user, and chmodding the
directory 6777 is just nuts.).
To this end I figure I can add a new mime typ
> A bunch of inpatient stupid users whom
> are click happy when they get impatient.
> impatient, not very technical, people. People who kept canceling and
> canceling, despite our directions, because they thought it was stuck or
> frozen or taking too long.
the simplest and most elegant work aro
Hello, Everyone,
I'm having some problem with the session handling in my code, it's kind of
hard to explain the whole problem but let me try.
I currently have a login page login.php which will take user input for
userid and passwd and check them against my backend PostgreSQL database,
after the pa
Hi,
Tuesday, September 10, 2002, 7:08:27 AM, you wrote:
KF> Hi,
KF> I apologize for asking this question as it must have been asked many times
KF> before but I can't find it in any of the archives..
KF> What I would like to do is setup forms in javascript and then on a submit to
KF> assign the
Where should I post to find information on how to debug an apache crash on
windows using the latest 4.3.0-dev snapshot?
-lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Kurt,
not pretty, but what about using the CLI tool ls with an exec() call?
Timo
Am Dienstag den, 10. September 2002, um 00:07, schrieb Kurt Glazemakers:
>
> Hi,
>
> I need the filesize in PHP for very large files, over 2 Gigabyte. The
> problem is that the integer returns the size in by
Regarding the idea of using a socket connection with Flash:
It's not possible. You neither have file access with Flash (at
least not from the browser plugin), nor access to a low level of
the data to send it packet-wise.
It would be nice if the POST method did handle more details
(total file
Regarding the idea of using a socket connection with Flash:
It's not possible. You neither have file access with Flash (at
least not from the browser plugin), nor access to a low level of
the data to send it packet-wise.
It would be nice if the POST method did handle more details
(total file
Hi Jay,
you suggestion does not make any difference.
The problem is that @idsum seems to be destroyed for every row!
Is there any other access method on a query that works properly
or do I have to live with different results of the very same
query asked directly in MySQL and asked through P
Hi Okar,
the client decides what to do with incoming data in regard of
the MIME type.
Usually, there is a list of MIME type and corresponding action
in the clients browser, and you can't change it from the server.
Timo
> Regardless the nature of the attachment, things are happening
> ex
Hi Adam,
Am Montag den, 9. September 2002, um 18:45, schrieb Adam Voigt:
> The code in the braces will never be executed
> because $a will always be ateast $b if not greater
> (assuming $c has a value) which means that it couldn't
> be greater, however it could be >= if $c was 0.
$c could also h
Yep,
I was thinking about a similar solution, but if the file exceeds the 4
Gigabyte limit, the solution won't help anymore. And it wil be a matter
of time to exceed this limit.
But I'm afraid there is no other solution for this.
Kurt
-Original Message-
From: Evan Nemerson [mailto:[EMA
Just figure out what the limits of 32-bit integers are. It might be enough to
do something like $num = INT_MAX + abs( INT_MIN - filesize(bigFile) );
I'm not sure if that's the right math, but I hope you get the idea.
If memory serves, what's happening is that the 32nd bit (which represents the
I was able to get it to work, thanks anyways
Hi,
I need the filesize in PHP for very large files, over 2 Gigabyte. The
problem is that the integer returns the size in byte as an integer. If
the integer is too big, it returns an negative value.
Is it possible to extend the integer to 64 bit ? Or any other solution,
to solve this problem ?
I started off, with my php program in c:/PHP and it worked fine, but i wanted to
rearrange aa few things, so i moved it to c:/usr/php, i edited my apache config files
to the new dir, when i go to a php file, it says 404 cannot find file, even if i go to
the directory index and click on it, it s
Hi Mig,
you have to look for the XMLSocket (data will be transported in
XML documents). It is available since Flash 5.
But building a socket deamon on the server appears to be not
that easy. The easiest way should be to use Pearl if you are
unfamiliar with C.
Timo
> timo stamm wrote:
>
>>
Hi,
I apologize for asking this question as it must have been asked many times
before but I can't find it in any of the archives..
What I would like to do is setup forms in javascript and then on a submit to
assign these variables to PHP variables. I know how to assign PHP to
javascript with th
I m using the following attachment handling code in my web client
bytes;
// $type = $object->type;
// $subtype = $object->subtype;
//...
$attch = imap_base64(imap_fetchbody($mbox, $id, $pid));
//...
$types = array("text", "multipart", "message", "application", "audio",
"image", "video", "o
I seem to have some trouble with a script using the output buffering
functions on a server running v4.1.2.
Everything works fine on the box with 4.2.2. Is this an issue with 4.1.2?
===
Ron Dyck
WebbTech
www.webbtech.net
[EMAIL PROTECTED]
--
PHP Gene
your problem is nothing seems to happen when they click the submit button, you can use
JavaScript to prevent re-submission, change the text on the submit button or you could
even pop up a window on submit with an animated gif of a dot moving back and forth or
similar and an uploading message an
why not just get creative, pop up a window on submit with an animated gif of a dot
moving back and forth or similar and an uploading message and then close it when the
page reloads.
most of these things on have nothing to do with progress of what's really happening in
my experience.
Paul Robe
David B,
Thanks for suggestions, but this is a very basic app, again it has only
three php scripts which it runs and all three load (include) the exact
same header file which starts the session. Also, again, when clicking
on the links, which basically just switch between the three php scrip
I would bet money on the fact that one of your pages doesn't have a session
start in it. Or there is a link which which requires resets the browser and
initiates the creation of new session. I've had some problems before with
javascript and top.window.location redirections that when set to
http:/
Ya' know guys i'm sitting here thinking about this problem because I have
the same problem on one of my sites. A bunch of inpatient stupid users whom
are click happy when they get impatient. Event a 100K upload can take to
long!
I don't like the ASP idea. It's really not a good solution. I'm a
Additionally,
I forgot to mention that the session file is still viewable in the tmp
directory after the session clears.
David
David Cramblett wrote:
> Hello,
>
> I am having trouble with my session clearing after a few clicks around
> the application. The session is started in a header w
Hello,
I am having trouble with my session clearing after a few clicks around
the application. The session is started in a header which is loaded
first on every page in my application and I can not isolate the clearing
to one page or link, it seams to be random. I can click maybe 10 - 20
You're right about it costing more money. But we had one server handling a
bunch of uploads, most of them over 25 MB, and 99% being instigated by very
impatient, not very technical, people. People who kept canceling and
canceling, despite our directions, because they thought it was stuck or
frozen
[snip]
There really isn't a great solution for this, that I know of. It's one of
the few things that makes an argument for ASP over PHP, as far as I'm
concerned (if you have the luxury of choosing). Below is what I did once to
try to get around the problem. It worked *okay*.
[/snip]
How does this
Hey, that's a starting point!!! :)
Thanks
"Adam Voigt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Oh, ok, I was wondering cause I thought the question was
> fairly basic, as for where in the actual source code to PHP expressions
> are processed I have no
Oh, ok, I was wondering cause I thought the question was
fairly basic, as for where in the actual source code to PHP expressions
are processed I have no idea. I bet they know in the php-dev mailing
list though, you might want to try there.
Adam Voigt
[EMAIL PROTECTED]
On Mon, 2002-09-09 at 12:55
I know how to use these statements. What I'd like to know is how the PHP
parser makes it happen. Where in the downloadble PHP source code is the C
code that actually reads the statement, figures out what needs to happen,
and makes it happen?
Can you help me on this?
Lewis
"Matt Schroebel" <[EM
No, but that's ok...
What am looking to learn is HOW php makes those kind of expressiong work. I
know how to write php intematly, but I'd like to know where in the
downloadable PHP source code it processes these statements.
Any help on that??
Lewis
"Adam Voigt" <[EMAIL PROTECTED]> wrote in me
Hey there,
This is a page I wrote that does that with sessions, sorry its a little
messy but it should help you with the general idea.
HTH,
Steve.
//Copy the below into a php file and change all the variables and sql
statement to reflect your own data.
Error';
echo '1:Connection to PH
> From: OrangeHairedBoy [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 09, 2002 12:41 PM
> Subject: [PHP] PHP Source files
>
> I'm wondering if anyone knows where I can find information
> about how PHP
> parser processes commands like:
>
> $a=$b+$c;
> if ($b < $a) {}
>
> (Ones with oper
Umm, maybe I'm confused, but here's an answer, not
sure if it's right:
The code in the braces will never be executed
because $a will always be ateast $b if not greater
(assuming $c has a value) which means that it couldn't
be greater, however it could be >= if $c was 0.
Adam Voigt
[EMAIL PROTECT
search google for using PHP sessions and you will print the session ID
into the URL.
Adam
On Tue, 10 Sep 2002, YC Nyon wrote:
> I been searching for a user authentication codes all night but got no where
> with the results.
> Therefore, if someone can tell me where to fi
I been searching for a user authentication codes all night but got no where
with the results.
Therefore, if someone can tell me where to find
1. a user authentication using Mysql
2. don't use cookies.
3. also a logout script.
my os is windows.
TIA
Nyon
--
PHP General Mailing List (http://www.
I'm wondering if anyone knows where I can find information about how PHP
parser processes commands like:
$a=$b+$c;
if ($b < $a) {}
(Ones with operators)
I've downloaded the source code, but I'm having much luck narrowing down my
search. Can anyone help me??
Thanks!
--
PHP General Mailing L
http://www.php.net/manual/en/function.trim.php
for the beginning of string use ltrim()
vice versa rtrim()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello every body:
I'm creating a web aplication that allow modify dinamically a Flash
movie with data extracted from a data base.
I download PHP 4.2.3 and the libswf library from sgi... and compile PHP with
swf, aparently this work: the configure step is done without problems, too
make and ma
evet koyabilirsin
degerini bastan verdigin bir degiskenle :
bla bla
>display first
her defasindaselected olan degisecekse ...
display first or".$baskadegisken; ?>
bla bla
kolay gelsin
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
oradaki bir gun kavramini biraz daha açarsan yardim edebilirim -
umarim -
timestamp mi yoksa baska -daha özel bir- formatta mi ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
try this function
nltobr()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all imap gurus out there,
I have sruggling for quite some time to get the
imap_mail_move() function to work.
Imap server : Courier IMAP
PHP Version : 4.1.2
where $msg is an array of imap-mailid's which are to be moved from INBOX to
$movetofolder.
But the above code is not working and is n
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
http://php.net/manual/en/features.file-upload.php
hmm.the "max_file_size" won't do anything - you should remove it.
The post_max_size should be larger than the upload_max_filesize & you might
just to check memory limit..that has to be la
Hi Erwin,
Thanks for the reply but it turned out to be a slightly odd installation
bug.
On the PHP Bug board, I managed to find that it was to do with the Apache
configuration settings, namely, you should put
AddType application/x-httpd-php .php .php3
instead of;
SetOutputFilter PHP
THANKS A TON!!!
--- Brad Bonkoski <[EMAIL PROTECTED]> wrote:
> How about giving this page a look over:
> http://www.macromedia.com/desdev/topics/php.html
>
> Here's an article especially for using PHP and MySQL
> with Flash MX
>
http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php.html
On Mon, Sep 09, 2002 at 10:29:04AM -0400, Paul Nicholson wrote:
> Hey,
> First of all, you can *not* set the upload size via .htaccess. You have to
> set it in httpd.conf or php.ini. And you need to use php_value instead of
> php_flag.
>
> php_value upload_max_filesize 8M
>
Actually, that
Of course, you restarted Apache?
Also, try leaving this out ---> and just write
LoadModule php4_moduleextramodules/libphp4.so
(Applies to AddModule as well...)
And make sure that the "extramodules" folder does exists!
- E
On Monday, September 09, 2002 11:43 PM
R'twick Niceorgaw wrote:
Dan Hardiker wrote:
>
>Ive thought of writting a load testing script, but Im not after
>reinventing the wheel.
>
Dan,
Apache comes with "ab" for this sort of testing. "man ab" for details.
HTH
Chris
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
I think this one worked because
> > if($count ==1){
> > $user_data = mysql_fetch_row($user_res);
> > $user_id = $user_data[0]; // <--- of this
> > if(!session_is_registered("user_id")) session_register("user_id");
> > if(!session_is_registered("username")) s
I'm sorry.
but that's what I have in the config file. I just wrote it wronge here.
Here's my complete php related configuration
LoadModule php4_moduleextramodules/libphp4.so
AddModule mod_php4.c
AddType aplication/x-httpd-php .php
AddType application/x-httpd-php-source .phps
-
> From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 09, 2002 10:32 AM
> Subject: [PHP] help with installation
>
> Sure I'm missing some thing silly here but its monday morning :)
> I have just installed php 4.2.3 with apache 1.3.26.
> I have all loadmodule/addmodule as
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
First of all, you can *not* set the upload size via .htaccess. You have to
set it in httpd.conf or php.ini. And you need to use php_value instead of
php_flag.
php_value upload_max_filesize 8M
btw, this was discussed on the list within this
Sure I'm missing some thing silly here but its monday morning :)
I have just installed php 4.2.3 with apache 1.3.26.
I have all loadmodule/addmodule as well as AddType x-httpd-php .php
directives present in httpd.conf. http://myhost/server-info shows I have
php module loaded. But, when I browse a
php-general Digest 9 Sep 2002 14:31:11 - Issue 1575
Topics (messages 115697 through 115744):
Re: How to program very basic chat on PHP?
115697 by: M
115698 by: Justin French
115708 by: M
Problems with GD 2.0.1
115699 by: Ville Mattila
Re: turn register_glob
Thanks for your reply!
I tested $_SERVER['QUERY_STRING']. Seems like it only return the
string for get method but not for post. Any idea?
Alex
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If you cannot use square brackets, get the value
I need the sablot extension
Can someone send me the dll file? sablot.dll & LIBEXPAT.dll
Thank's
I can't log in Internet so please send me by email
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
I'm working on a simple file upload form here, where the user can upload
large zip files containing images to be added to the selected image
gallery...
However, uploading large files seems to be a little problem.. Whenever I
upload large files (the file I'm experimenting with is about 8MB) b
h I dunno why but if I returned $data from my function and registered it
out side the function it works fine and yes my session_start() is above my
function
John
> I am having problems with my sessions.
>
> This function registered my username password and userid in the session no
> problem
I am having problems with my sessions.
This function registered my username password and userid in the session no
problem.
function login_chk($username, $password){
global $user_id;
$user_res = mysql_query("SELECT * FROM fan_users WHERE name = '$username'
and password ='$password'") or die("Li
> I've got an html form but when I use the POST method the form
> variables don't make it to the destination page, when I use the GET
> method, there's no problem. I've uploaded the test pages to our web
> servers and the POST and GET methods both work fine, therefore I'm
> assuming it's a proble
If you want to put the SELECTED option into your select list while you are
building the page, use an if statement in the ... something
like this:
> Option 1
> Option 2
Peter
At 02:05 PM 9/9/2002 +0300, you wrote:
>Hi,
>
>Can I put the "selected" option of select box later by using php?
If you read:
http://www.php.net/manual/en/function.mysql-query.php
You will see what $sql4 can be.
My guess would be he is connected to 2 or more different databases, and this is
specifiying which one to execute the query on.
-Brad
> [snip]
> if ($update_type == update_Williams) {
> mysql_query
Hi there,
I don't really see any "serious" problem in your code except that your
opening tag is in the wrong place :).
Since I don't have php/apache running on my XP I cannot really tell if this
is an installation problem. Anyway, I have php/apache (4.2.2/1.3.26) on
Linux and (4.2.2/2.0.40)
Hi there,
I don't really see any "serious" problem in your code except that your
opening tag is in the wrong place :).
Since I don't have php/apache running on my XP I cannot really tell if this
is an installation problem. Anyway, I have php/apache (4.2.2/1.3.26) on
Linux and (4.2.2/2.0.40) on
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
>
>___
Hi,
I need suggestion regarding handling multipart/mixed mail with attachment and
embedded image, I need to forward this mail using php, what can be best and
safe way !!!
Is there any class, example on the net !!!
Thanks in advance
Regards,
Santosh Pasi
--
PHP General Mailing List (ht
1 - 100 of 126 matches
Mail list logo