Back to the month index |
Back to the list index
|
Corey Sanders (csanders@entropy.muc.muohio.edu)
Fri, 23 Apr 1999 14:05:46 -0400 (EDT)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Spallek, Heiko: "mSQL: Checkboxes checked?"
- Previous message: CSM30014: "$var[column] into textbox?"
Date: Fri, 23 Apr 1999 14:05:46 -0400 (EDT) From: Corey Sanders <csanders@entropy.muc.muohio.edu> Subject: Re: $var[column] into textbox? Message-ID: <Pine.LNX.4.04.9904231355070.6858-100000@entropy.muc.muohio.edu>I don't follow everything here, but I think I've got the idea.
Provided your string does not contain ["] or [\n] ...
echo("<input type=text value=\"" + $var[$column] + "\" name=blah>");
or
<input type=text value="<%
echo($var[$column]);
%>" name=blah>
-- Corey
On Fri, 23 Apr 1999, CSM30014 wrote:
> Hey list,
> chop(), split() and strseg() are all fine for segmenting
> strings. But what if I want to concatenate?! I've been trying to insert
> a couple of rows from a table into a textbox with my w3-msql code.
> It works fine with dropdown boxes("select value=$varname[column
> number]>$varname[column number]") but not so well with text
> boxes.
>
> I've been using $varname[0](a seperator)$varname[1] but column
> one appears just outside the box - why?
> any help appreciated,
> Alan.
>
>
- Next message: Spallek, Heiko: "mSQL: Checkboxes checked?"
- Previous message: CSM30014: "$var[column] into textbox?"