You don't even have a "file" form element, or an element named
"userfile" so your FOR loop will never run...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
Yes I do. I just forgot to put it here.
-antti
--
PHP
Hello Julie
Have you checked what is passed in your post / get request???
A Simple way of doing this is using a script similar to this one
'.$key.'='.$value; // this prints to the
browser
}
?>
This will show you a simple list of all variables being passed to your
script. I had a pro
On Saturday 01 February 2003 17:39, [EMAIL PROTECTED] wrote:
> Hello Julie
>
> Have you checked what is passed in your post / get request???
>
> A Simple way of doing this is using a script similar to this one
>
> while(list($key, $value) = each($_POST)) // use $_GET for get
> request
>
fredagen den 31 januari 2003 kl 18.08 skrev Chris Shiflett:
Instead of trying to tell us what the problem is, just
explain what trouble you are having. We can then tell *you*
what the problem is.
Could the problem have something to do with the fact that the function
that returns the value of
Hello friends.
I have a listbox which I populate from a query with the database. It is working fine.
But additinally, I want the first item to be "Select category". Can someone please
help me how to modify by below written code to do the above?
My code : Quote :
\n";
}
$sql="SELECT DISTINCT
Hello friends.
I have the following script. Both the errors show green font when actually the first
error should give a red font. Am I doing something wrong here?
Quote:
if($CategoryName==""){
Print "You have not entered the category name. Please go
back and enter the category name.";
Is there any way to access the Function Stack from php?
I would really like it for debugging, ala java style or C debugging style,
where I could get a list of function like
>From afunction line 83
>From bfunction line 179
>From cfunction line 345
Error here..
If I could somehow access the fun
On Saturday 01 February 2003 19:08, Denis L. Menezes wrote:
> Hello friends.
>
> I have a listbox which I populate from a query with the database. It is
> working fine. But additinally, I want the first item to be "Select
> category". Can someone please help me how to modify by below written code
>
php-general Digest 1 Feb 2003 12:21:46 - Issue 1857
Topics (messages 133843 through 133865):
Re: Delete files via PHP
133843 by: Jason Wong
Re: another problem with 4.3.0 : imagecreatefromjpeg undefined
133844 by: Jason Wong
4.3 Install on Solaris
133845 by: Weston
- Original Message -
From: "Joshua Moore-Oliva" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 01, 2003 7:08 AM
Subject: [PHP] Function Stack
> Is there any way to access the Function Stack from php?
Not built in, but you could manually add statement to do it your
- Original Message -
From: "Denis L. Menezes" <[EMAIL PROTECTED]>
To: "PHP general list" <[EMAIL PROTECTED]>
Sent: Saturday, February 01, 2003 6:08 AM
Subject: [PHP] question on listbox.
Hello friends.
>I have a listbox which I populate from a query with the database. It is
>working fin
On Saturday 01 February 2003 20:08, Denis L. Menezes wrote:
> Hello friends.
>
> I have the following script. Both the errors show green font when actually
> the first error should give a red font. Am I doing something wrong here?
>
> Quote:
>
>
> if($CategoryName==""){
>Print "You have not en
This worked perfectly. Thank you.
As for the FAQ, I looked, but I guess not in the right place!
Mike
"Tracy Finifter Rotton" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Change the name of your checkboxes in your HTML to something like:
>
> name="DeleteI
- Original Message -
From: "Denis L. Menezes" <[EMAIL PROTECTED]>
To: "PHP general list" <[EMAIL PROTECTED]>
Sent: Saturday, February 01, 2003 7:08 AM
Subject: [PHP] Strange problem
> I have the following script. Both the errors show green font when
actually > the first error should gi
Hi,
I browsed the web for many different web architecture and frameworks. I
found many Interesting but all wants latest version of PHP at least PHP
4.0.6. I dont want to upgrade the PHP Version(4.0.5) that i have because
many clients are using it and i dont want to mess it up. Its a Pain in P
On Saturday 01 February 2003 20:23, karthikeyan.balasubramanian wrote:
> I browsed the web for many different web architecture and frameworks. I
> found many Interesting but all wants latest version of PHP at least PHP
> 4.0.6. I dont want to upgrade the PHP Version(4.0.5) that i have because
Thanks Jason.
Looks like I am too dumb. I still cannot do it. can u please help me
further?
Thanks
Denis
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 01, 2003 8:21 PM
Subject: Re: [PHP] question on listbox.
> On Saturday 01
Problem solved. The error came because I was calling the function
inside another function, outside the latter it worked good. So I simply
passed the variable with the second function - works great!
Thanks anyway for all your time trying to help me!
/V
--
PHP General Mailing List (http://www.p
On Saturday 01 February 2003 20:40, Denis L. Menezes wrote:
Please don't top-post.
> Looks like I am too dumb. I still cannot do it. can u please help me
> further?
I could write out the complete code for you -- but then I'll have to charge
you for it :-)
OTOH I can walk you through the proces
Hi,
Does anyone know if there is a way for me to produce a function in PHP to pause the
processing of the script for 3 seconds for example without eating up the CPU
bandwidth. I could do with quite accurate control. Is there a better way that doing it
like this:
The output is:
The current ti
Hi,
Does anyone know if there is a way for me to produce a function in PHP to
pause the processing of the script for 3 seconds for example without eating
up the CPU bandwidth. I could do with quite accurate control. Is there a
better way that doing it like this:
The output is:
The current time i
On Saturday 01 February 2003 21:27, OjMyStEr wrote:
> Hi,
> Does anyone know if there is a way for me to produce a function in PHP to
> pause the processing of the script for 3 seconds for example without eating
> up the CPU bandwidth. I could do with quite accurate control. Is there a
> better way
Might this be better?
print "\n";
print "Select Category"\n
//Query
$sql="SELECT DISTINCT CategoryName From Categories ORDER BY CategoryName";
$result=mysql_query($sql);
if ($result)
{
While($Category=mysql_fetch_array($result))
{
Print"$Category['name']\n";
}
mys
what about sleep() ?
OjMyStEr wrote:
Hi,
Does anyone know if there is a way for me to produce a function in PHP to
pause the processing of the script for 3 seconds for example without eating
up the CPU bandwidth. I could do with quite accurate control. Is there a
better way that doing it like thi
On Sat, 1 Feb 2003 07:08:05 -0500, you wrote:
>Is there any way to access the Function Stack from php?
Starting with PHP 4.3.0 you can use debug_backtrace(), which returns
an array of caller stack information. You might want to build a
wrapper around it which formats the information the way you
hi
well actually I know what is the mechanism of sending mime messages with
atttachments works, the problem is that I don't know how to to read
attachment. I tried to use Pear decode functions but it only gives me info
that there are attachments in the message which is obviosly not enough.
"Durwood Gafford" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> To make the issues more clear (assuming everyone's not totally burned out
> thinking about this one), I will submit links to working, example code in
a
> followup post. I'm swamped with a proposa
On Saturday 01 February 2003 23:21, Bartosz Matosiuk wrote:
> well actually I know what is the mechanism of sending mime messages
> with atttachments works, the problem is that I don't know how to to read
> attachment. I tried to use Pear decode functions but it only gives me info
> that there
Hi,
I am new to PHP and I am writing a script that evaluates input from a form
then calls other PHP scripts depending on the input it receives.
The login form is very simple and asks the user to enter a username and a
password. It is used by two types of users, students and supervisors. In the
hi
thanks for advices
I haven't ever heard about reformime, what is it?
brtek
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 01, 2003 4:40 PM
Subject: Re: [PHP] reading attachmentsl
> On Saturda
Hi guys, I have a script which looks in a directory, pulls out all the
files and sorts them by reverse date order. The file name schema is
"mmdd-the rest of the file".
Script:
---
$interestingFile = array();
$interestingFiles = array();
$dir = opendir('/home/danceportal/www/uk/ian') or die(
A co-worker is teaching me to move to the next level in php. I have
started using associative arrays for my scripts, but I am having a problem
using them to do an insert into MySQL. Can someone give me an example of
how to do an insert to the database using these arrays? My array is
this...$item['i
Hi Jason,
Better is to use $_POST if your form's method="post" or $_GET if your form's
method="get"
As long as the user type is available to the new page through a form
variable, or request string like newpage.php?username=student, you can
access it using $_REQUEST/$_GET/$_POST
Take care,
Greg
On a slight side note to this, how can you pass javascript variables to
PHP via POST?
Newbie Powell
On Saturday, February 1, 2003, at 12:21 PM,
[EMAIL PROTECTED] wrote:
From: "Sean Malloy" <[EMAIL PROTECTED]>
Date: Sat Feb 1, 2003 6:48:26 AM Europe/London
To: "Dade Register" <[EMAIL PROTECTE
I am attempting to populate form elements from a text file which has been
read and split into arrays. Some of the items are repeated many times: grade
level, for example. Is there a way of just selecting unique values so that
each value is displayed only once in the check boxes or radio buttons?
M
Hi,
The topic says it all:
How do you connect to oracle 9i as the user SYS?
In the user comments about OCILogon() someone mentions that this is a
little problematic with 9i, but doesn't really spell out the solution.
Regards,
Lukas Smith
[EMAIL PROTECTED]
___
Backend
In a message dated 2/1/2003 9:39:55 AM Pacific Standard Time,
[EMAIL PROTECTED] writes:
>I am attempting to populate form elements from a text file which has been
>read and split into arrays. Some of the items are repeated many times: grade
>level, for example. Is there a way of just selecting uni
I tried but I can't upload any file. My form and code are as following:
File:
Hi,
that's a negative
They say that after uploading the file, the temp file on the tmp directory
(usual) is deleted, anyway in order to confirm the deletion we should use
unlink() function.
Reading from one of the books, they say that the temp files are not deleted
if a misconfiguration is found
Hello Everyone,
I've been working on a small pet project of mine. It involves link
management for my site. I want to be able to tell the program how many
links to display from each of my link files. The program is then to go
to that individual link file, randomly pick out how ever many links I'
Yes Chris,
When you add the item to the database, make sure to leave out the single
quotes inside the brackets of the associative array. For example:
Instead Of:
$item['itemID']
Do This:
$item[itemID]
Example Query:
$query = "SELECT * FROM items WHERE '$item[itemID]';
Hope that helps.
> -
Oops, I forgot the double quotes at the end of the example query from the
last email.
This is how it should be:
Example Query:
$query = "SELECT * FROM items WHERE '$item[itemID]'";
> -Original Message-
> From: @ Nilaab [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 01, 2003 1:0
On Saturday, February 1, 2003, at 10:58 AM, Tomator wrote:
I tried but I can't upload any file. My form and code are as following:
Try looking at:
http://www.php.net/manual/en/features.file-upload.php
There is a working example there.
--
PHP General Mailing List (http://www.php.net/)
To uns
Hi,
Is there a way to pass a variable to a PHP script without using a form? I
want to put several links on my main page that when clicked on goes to a PHP
script - depending on what link was selected, will determine what part of
the PHP script gets executed.
TIA, Beauford
--
PHP General Maili
On Sat, 1 Feb 2003, Beauford.2002 wrote:
> Hi,
>
> Is there a way to pass a variable to a PHP script without using a form? I
> want to put several links on my main page that when clicked on goes to a PHP
> script - depending on what link was selected, will determine what part of
> the PHP script
On Sat, 01 Feb 2003 10:26:10 -0600 [EMAIL PROTECTED] (Cditty) wrote:
> A co-worker is teaching me to move to the next level in php. I have
> started using associative arrays for my scripts, but I am having a problem
> using them to do an insert into MySQL. Can someone give me an example of
> how t
I have a text file which is read into an array $data using fgets(). The data
is then split into further arrays by tab delimiter. I would like to find a
way of extracting and printing items from $data using a form. The form
fields (e.g. grade, subject) are populated from the arrays. When the user
se
Hi,
I've got a html form where not all fields need to be filled by the users.
How can I build a MySQL query based on which fields the user have filled?
My guess is that I can do something like this:
if(!empty($f_name)) {
some_commands_to_add_$f_name_to_querystring
}
if(!empty($l_name))
Dear Sirs,
I am studying on php. And the book say, when the server see php extension it
is running php file and giving results to the visiting browser.
But as I see related directories are normal directory, doesn' t like cgi-bin
directories.
Is there any change to see php file source such as fil
it isnt that hard to do.. if you can get "student" and "supervisor" to
successfully log into the web pages (even if you dont have anything to
display) then all you really need to do is this:
suppose that you had $user for username in the form and $password in the
form for password...
do this:
/*aft
> I am studying on php. And the book say, when the server see php extension it
> is running php file and giving results to the visiting browser.
>
> But as I see related directories are normal directory, doesn' t like cgi-bin
> directories.
>
> Is there any change to see php file source such as f
hi..
this is what i want to do but dont realy know how to do it...
i want to set up a form that will load values from a table and make them the
"value" of the edit box... then when people press an update button then all
of the stuff that changes from the record already in the table gets
changed..
Hey all.
In cold fusion I was able to define a default value with the tag
When I passed the variable "test" via a form or query string, it would over
ride the parameter value.
How can I do this in PHP? I looked in PHP manual for param, default, etc.,
but could find no equivalent.
Any ideas?
I'm trying to install PHP for my first time on a W2000 Server with IIS 5.0, I followed
all instructions twice. I added on App Mappings the extension for PHP, etc. etc but
always that I try to reach my PHP file I get only a blank page. FAQs say there's some
problem with the Web Server and that I
On Sat, 1 Feb 2003, CF High wrote:
> Hey all.
>
> In cold fusion I was able to define a default value with the "test" default = "myValue"> tag
>
> When I passed the variable "test" via a form or query string, it would over
> ride the parameter value.
>
> How can I do this in PHP? I looked in
to set default vale for $id you may use something like :
$id = !empty($_GET["id"])?$_GET["id"]:null;
Cf High wrote:
Hey all.
In cold fusion I was able to define a default value with the tag
When I passed the variable "test" via a form or query string, it would over
ride the parameter value.
The following code is supposed to migrate data from an old database to a new
one, but produces the error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
resource in C:\...\convertdb.php on line 17
The code:
'.str_replace(array("('", " '", "',", "')"), array("('",
" '
In a message dated 2/1/2003 12:52:24 PM Pacific Standard Time,
[EMAIL PROTECTED] writes:
>i want to set up a form that will load values from a table and make them the
>"value" of the edit box... then when people press an update button then all
>of the stuff that changes from the record already in
At 21:36 1-2-2003, you wrote:
> I am studying on php. And the book say, when the server see php
extension it
> is running php file and giving results to the visiting browser.
>
> But as I see related directories are normal directory, doesn' t like
cgi-bin
> directories.
>
> Is there any change t
$stuffArray[$i][value] = strtr($stuffArray[$i][value],
array_flip(get_html_translation_table(HTML_ENTITIES)));
To be bluntly honest, I don't understand hardly any of it, and the PHP Manual isn't
helping this time.. maybe I'm weekend-stupid or something.. *sigh*
Phil
On Sat, 1 Feb 2003 13:28:00 -0800 [EMAIL PROTECTED] (Tim Lan) wrote:
> The following code is supposed to migrate data from an old database to a new
> one, but produces the error:
>
> Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
> resource in C:\...\convertdb.php on
and by the way, the query on line 16 (the problematic one) works fine when
run directly in MySQL.
Tim
"Tim Lan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
The following code is supposed to migrate data from an old database to a new
one, but produces the er
Sorry for the OT question:
I'm loading a .csv file into MySQL, done it a million times but for some
reason it is scrambling the row order. All the fields are making it in
correctly but the order of the rows seems to end up totally random. I've
done this a million times and never saw this..
Any t
On Sat, 1 Feb 2003 13:28:00 -0800 [EMAIL PROTECTED] (Tim Lan) wrote:
> The following code is supposed to migrate data from an old database to a new
> one, but produces the error:
>
> Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
> resource in C:\...\convertdb.php on
Nice Phil.
A little more typing than the CF version, but the more I delve into PHP, the
more I realize its power and flexibility.
Thanks for the speedy reply...
--Noah
- Original Message -
From: "Philip Olson" <[EMAIL PROTECTED]>
To: "CF High" <[EMAIL PROTECTED]>
Cc: <[EMAIL PR
Thomas,
I changed it so that the two connections use different username/password
combination, and everything went smoothly.
Thank you very much for your rapid response.
Tim
"Thomas Seifert" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Sat, 1 Feb 2003 13:
On 01 Feb 2003 16:47:23 -0500 [EMAIL PROTECTED] (Brian V Bonini) wrote:
> Sorry for the OT question:
>
> I'm loading a .csv file into MySQL, done it a million times but for some
> reason it is scrambling the row order. All the fields are making it in
> correctly but the order of the rows seems t
i tried getting the values into vars using fetch_array/fetch_object and
fetch_row and tried to put them in variables but for some odd reason it
really doesnt work because when i try to use the vars in the value section
instead of printing in the edit box the content of the variable i usually
end up
I am having trouble doing things with PHP such as use the exec, system,
etc. functions. I can't seem to find the correct php.ini to turn safe_mode
off. The one file I did find has safe_mode turned off. When I view phpinfo()
it shows the global column with safe_mode off, but for the local column, i
> $stuffArray[$i][value] = strtr($stuffArray[$i][value],
> array_flip(get_html_translation_table(HTML_ENTITIES)));
>
> To be bluntly honest, I don't understand hardly any of it, and the PHP
> Manual isn't helping this time.. maybe I'm weekend-stupid or
something..
It converts HTML entities back
> I'm loading a .csv file into MySQL, done it a million times but for
some
> reason it is scrambling the row order. All the fields are making it in
> correctly but the order of the rows seems to end up totally random.
I've
> done this a million times and never saw this..
So?
Why does it matter to
In a message dated 2/1/2003 2:02:06 PM Pacific Standard Time,
[EMAIL PROTECTED] writes:
>i tried getting the values into vars using fetch_array/fetch_object and
>fetch_row and tried to put them in variables but for some odd reason it
>really doesnt work because when i try to use the vars in the va
if i do this:
/*all the mysql login stuff here*/
$query=mysql_query("select * from members");
while($new=mysql_fetch_array($query)){
echo "$new['company']";
/*so on through the field list*/
}
on output all i get is the title with a submit button..otherwise blank..
same thing with fetch_object()..
Hi,
I have this message coming when calling the page main.php
Fatal error: Cannot redeclare formatdate() in
/home/virtual/site239/fst/var/www/html/home/not_main.php on line 3
the code related to this message is:
I use this code is some other pages and it works well, but here the c
> I have this message coming when calling the page main.php
>
> Fatal error: Cannot redeclare formatdate() in
> /home/virtual/site239/fst/var/www/html/home/not_main.php on line 3
>
> the code related to this message is:
>
> // format MySQL DATETIME value into a more readable string
>
On Sat, 2003-02-01 at 16:47, Thomas Seifert wrote:
> >
> > I'm loading a .csv file into MySQL, done it a million times but for some
> > reason it is scrambling the row order. All the fields are making it in
> > correctly but the order of the rows seems to end up totally random. I've
> > done this
On Sat, 2003-02-01 at 17:25, John W. Holmes wrote:
> > I'm loading a .csv file into MySQL, done it a million times but for
> some
> > reason it is scrambling the row order. All the fields are making it in
> > correctly but the order of the rows seems to end up totally random.
> I've
> > done this a
This is a good reason to use include_once and require_once.
Jason
On Sat, 2003-02-01 at 15:59, John W. Holmes wrote:
> > I have this message coming when calling the page main.php
> >
> > Fatal error: Cannot redeclare formatdate() in
> > /home/virtual/site239/fst/var/www/html/home/not_main.ph
Thx for the help...
Miguel
"Jason Sheets" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This is a good reason to use include_once and require_once.
>
> Jason
>
> On Sat, 2003-02-01 at 15:59, John W. Holmes wrote:
> > > I have this message coming when cal
Karthikeyan.Balasubramanian wrote:
Hi,
I browsed the web for many different web architecture and frameworks. I
found many Interesting but all wants latest version of PHP at least PHP
4.0.6. I dont want to upgrade the PHP Version(4.0.5) that i have because
many clients are using it and i dont
On 01 Feb 2003 18:06:01 -0500 [EMAIL PROTECTED] (Brian V Bonini) wrote:
> On Sat, 2003-02-01 at 16:47, Thomas Seifert wrote:
> > >
> > > I'm loading a .csv file into MySQL, done it a million times but for some
> > > reason it is scrambling the row order. All the fields are making it in
> > > corr
On Sat, 1 Feb 2003, Sunfire wrote:
> if i do this:
> /*all the mysql login stuff here*/
>
> $query=mysql_query("select * from members");
> while($new=mysql_fetch_array($query)){
> echo "$new['company']";
> /*so on through the field list*/
> }
> on output all i get is the title with a submit butt
hi.. i took your idea...
i put the error reporting code at the top of the script and ran it as the
problem was still there to see what would happen.. instead i get 0 messages
from the reporting system and all i get is the last 7 chars of the print
line and the }?> at the end of the script... so for
index.htm
function SubmitForm
{
document.myform.var.value = javascriptvalue;
document.myform.submit();
}
or something. I don't even know if that code works... I haven't tested it.
but that could be the basis for somehting
-Original Message-
From: Nigel Powell [mailto:[EM
you can create a form with hidden fields like this
document.screendata.height.value=screen.height;
document.screendata.width.value=screen.width;
screendata.submit();
bye
"Nigel Powell" <[EMAIL PROTECTED]> escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
On Sat, 1 Feb 2003, Sunfire wrote:
> hi.. i took your idea...
> i put the error reporting code at the top of the script and ran it as the
> problem was still there to see what would happen.. instead i get 0 messages
> from the reporting system and all i get is the last 7 chars of the print
> line
> On Sat, 2003-02-01 at 17:25, John W. Holmes wrote:
> > > I'm loading a .csv file into MySQL, done it a million times but
for
> > some
> > > reason it is scrambling the row order. All the fields are making
it in
> > > correctly but the order of the rows seems to end up totally
random.
> > I've
> >
hi sorry to ask so many questions but i have now realised that php3 doesnt
handle the callback error handling so i can return the line and file of the
error into a function is there a way to emulate this in php3 ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
Perfect. Thanks.
- Original Message -
From: "Philip Olson" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>
Cc: "PHP General" <[EMAIL PROTECTED]>
Sent: Saturday, February 01, 2003 2:22 PM
Subject: Re: [PHP] Passing Variables
> On Sat, 1 Feb 2003, Beauford.2002 wrote:
>
> > Hi,
Nicole <[EMAIL PROTECTED]> wrote:
> I am having trouble doing things with PHP such as use the exec, system,
> etc. functions. I can't seem to find the correct php.ini to turn safe_mode
> off. The one file I did find has safe_mode turned off. When I view phpinfo()
> it shows the global column with s
I have a PHP script that works on older versions of PHP but on 4.3, it
outputs nothing. Here's my code:
'."\n"
."\n".'if (document.location == top.location)'."\n"
.' top.location="home.php?goto='
.base64_encode($_SERVER["REQUEST_URI"]).'";'."\n"
.'';
?>
The problem is, when it
I am displaying a form using values obtained from a database query.
One of the elements contains about 20 different values. I want the
use to be able to select multiple values before pressing submit.
This seems to work, but when my php script is called, all I see is
the last data value assigned to
Put empty square brackets (NAME='in_task_descr[]') after the name of
your select element. Then all the slections will be in an array called...
$_POST['in_task_descr'] or
$_GET['in_task_descr']
Depending on your form method.
James Kaufman wrote:
I am displaying a form using values obtained from
I've read that an include file in each of your pages with the lines below
should do the trick for you with register_globals OFF..
Not sure if this is a valid way to go though...
Regards, Pat
"Davy Obdam" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hell
Weston Houghton wrote:
>
> All,
>
> I seem to be getting a silly error on Solaris when trying to do a PHP
> 4.3 make. I get an error that looks to me like the liner arguments are
> just too long. to be honest, I'm a bit stupified as to why this is
> happening or how to fix it. FWIW, I have compi
On Friday, January 31, 2003, at 08:13 PM, Weston Houghton wrote:
I seem to be getting a silly error on Solaris when trying to do a PHP
4.3 make. I get an error that looks to me like the liner arguments are
just too long. to be honest, I'm a bit stupified as to why this is
happening or how to
Hi,
Sunday, February 2, 2003, 1:29:30 PM, you wrote:
JK> I am displaying a form using values obtained from a database query.
JK> One of the elements contains about 20 different values. I want the
JK> use to be able to select multiple values before pressing submit.
JK> This seems to work, but when
You could create a integer column with an autoincrement flag, then order
the rows by this column, that should give you the data in the order it
was inserted into the db. Depending on your database there are other
ways to do it.
Jason
On Sat, 2003-02-01 at 18:07, John W. Holmes wrote:
> > On Sat,
PHP keeps track of what line# is being executed, so that when there's an
error (say in pg_exec() ) it reports what line the error occured on.
This appears to happen even during runtime (not just during compilation).
For example:
-
--
This woul
ok let me try this question thing again...
i am having a problem using tags by using current values kept in a
mysql table. how do you get the values out of the table and into a form so
they show as the value= part of the tag?
i tried just aabout everything and it doesnt work even htmlspecialchars
1 - 100 of 119 matches
Mail list logo