PHP is a server-side scripting language, there is no way for it to know
what is going on client window, that's a job for Javascript. But if you
are using them in a form you can give them name/value to use them as
form variables which can be used in the form action.
This is a general PHP question,
Hi ,
Does anybody know how php understand which button is pushed on a page ..?
Is there anyway to do different applications according to the different 2
button on a page?..
thanks...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry about the private email didn't mean too. The email header shows you
as it being from you and when I hit "reply" it defaults to go to you. Sorry
bout that.
Well on the goodside I got it fixed. Thanks for the feedback. The thing
that got me was not having "root" has the user. Well thanks
Sorry, I think I orignially sent reply to wrong poster. That was
confusing
I might have missed the first of your posts and may be repeating someone
else's suggestions but have you checked the hosts that the mysql user
account that your are using can connect from the right areas. In the
user tab
I might have missed the first of your posts and may be repeating someone
else's suggestions but have you checked the hosts that the mysql user
account that your are using can connect from the right areas. In the
user table of the mysql database insure that the user account you are
using has the p
$REMOTE_USER
On Thu, 5 Sep 2002, Keith Spiller wrote:
> Hello,
>
> If I were to use a plain old htaccess file with a htpasswd file for user
>authentication, rather than php files, could PHP somehow later retrieve the username
>used through some system or browser variables?
>
> I would assume t
Hello,
If I were to use a plain old htaccess file with a htpasswd file for user
authentication, rather than php files, could PHP somehow later retrieve the username
used through some system or browser variables?
I would assume that the browser keeps the username and password as long as the ses
On 3 Sep 2002 at 23:00, Bryan McLemore wrote:
> - Original Message -
> From: "David Robley" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 03, 2002 9:31 PM
> Subject: [PHP-DB] Re: mysql_connect
>
>
> > In article <000c01c253b2$506d7530$0101a8c0@fwcmain>,
> > [E
Brad,
Thanks a million! That does the trick.
Aaron
On 9/5/02 3:38 PM, "Brad Bonkoski" <[EMAIL PROTECTED]> wrote:
> $variable_to_be_passed = 'some value';
> echo "I am a
> link";
>
> I think this should do it, not quite sure what you mean by wrappinga
> table cell in a anchor tag? Of course i
How's this? (MYSQL example)
$query = "select NAME from table_name";
$result = mysql_query($query)
or die("Invalid Query: $query");
$num_rows = mysql_num_rows($result);
$counter=1;
echo ""; //start of table
for ($i=0;$i<$num_rows; $i++) //loop through the number of records
{
$row = mysql_
Hi..
I'm creating a database result in a table, but I need to put it into 2
columns of looping row like this:
|name1|name2|
|name3|name4|
|name5|name6|
|name7|name8|
|name9|name10 |
etc...
can anyone help me please...
iman
--
PHP Database Mailing List (
$variable_to_be_passed = 'some value';
echo "I am a
link";
I think this should do it, not quite sure what you mean by wrappinga
table cell in a anchor tag? Of course if you need to use the results of
a database, this can be done too with the same method.
HTH
-Brad
Aaron Merrick wrote:
> All
All,
How can I display the results of a table so that the first field (column) is
a link to another page that shows the details of that row? Issue #1, I have
to wrap the cell contents in an http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
you have to restart your mysqld server with
--default-character-set=greek option. You can either do this by
explicitly giving it in the command line when restarting your mysqld, or
you can add that line to your global my.cnf file.
See:
http://www.mysql.com/doc/en/Command-line_options.html
Another way is to refresh the page everytime the user has filled a field in
and moves to another:
function submit_field( i ) {
document.myform.field_to_check.value = "field" + i ;
document.myform.submit() ;
}
The idea is that the "onchange" event is triggered when the
You have to append the data to the href then access the variable and its
value on a resulting page. In general, it would look like this (I'm sure the
list will point out any syntax errors I have made):
To send the data to another page:
Click here
To use the variable on another page (page.php):
$
Another option would be to break your one form into two separate forms where
the first form asks for this number, checks the database, then transfers to
user to the next logical page (rest of form or re-enter data) based on the
results of that query to the db.
I'm not saying it's anywhere near th
Hi,
Is there any way to carry a data by using linking ...I mean can I put a
data on ?...If so how ?..
thanks
meltem demirkus
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That's a toughie. I've done it once where I used a small popup window
(opening it with JavaScript) to go to the server, perform the query to
retrieve the information, stuff it into a JavaScript array and then return
the array to the calling page and close the window.
It works but the user will s
That's wrong!!!
the output starts erlier
everything and i mean realy everything outside is
output!!!
remember that
it's php native behavior to send stuff outside to the client
with the standard header for plain text
greet
Martin
- Original Message -
From: "Devrim GUNDUZ" <[EMAIL PROTE
Hi,
On Thu, 5 Sep 2002, Meltem Demirkus wrote:
>
> Warning: Cannot add header information - headers already sent by (output
> started at C:\FoxServ\www\debugger\project_module\start_html.php:5) in
> C:\FoxServ\www\debugger\project_module\project_add_.php on line 11
>
> start_html.php file inc
I tried but it gave this error
Warning: Cannot add header information - headers already sent by (output
started at C:\FoxServ\www\debugger\project_module\start_html.php:5) in
C:\FoxServ\www\debugger\project_module\project_add_.php on line 11
start_html.php file includes:
There is no o
Hi Meltem,
On Thu, 5 Sep 2002, Meltem Demirkus wrote:
> hi,
> I am new on php Just want to know I am using mysql and php on a page ..
> and after the page do what it should do , I want it to go to another
> page..so I though about using header ("Location:...") but it is giving
> error m
hi,
I am new on php Just want to know I am using mysql and php on a page ..
and after the page do what it should do , I want it to go to another
page..so I though about using header ("Location:...") but it is giving
error message iii..
can anybody help me?...
thanks a lot
meltem demirku
Thank you. I forgot to use the "'s to force mixed-case. Know it works fine.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Matthew Newby wrote:
> Many thanks for the info. I "discovered" that test yesterday. However, if
> that is indeed the way I should test it, then something probably needs to
> change in the PHP docs. On the page
> http://www.php.net/manual/en/function.pg-fetch-result.php it explicitly
> states:
I
Sascha Alexander Jopen wrote:
> Hi there,
>
> I'm new to PHP, especially to the db-functions.
> I've got a problem querying my PostgreSQL server using pg_query.
> The Tables i'm working on contain colume names with uppercase letters.
> Working on those tables directly with psql, the client progra
27 matches
Mail list logo