output = '';
foreach ($data as $value) {
if ($value == $selectedValue) {
$selected = ' selected="selected"';
} else {
$selected = '';
}
$output .= ''.$value.'';
}
$output .= '';
return $output;
, Jun 9, 2011 at 10:53 AM, Jim Lucas wrote:
> On 6/9/2011 5:37 AM, matty jones wrote:
> > formEl.action += '&title=' + formEl['_title'].value;
>
> The only thing I see inconsistent is the above line. But then again, it
> could
> be right
I have a mediawiki extension that allows me to design a form in the wiki to
facilitate data entry into the wiki and it works good except that I also
want to be able to up load images and take the file location/name and enter
that into the wiki so that the image displays on the page as well. I foun
faultseries = 'Batman'; //declare the php variable
$publisher = 'DC Comics'; //declare the php variable
$d_series->execute(); //execute the prepared statement
and they work just fine. Not entirely sure yet why, I am just starting to
really get into PDO's.
> Or
On Fri, Mar 25, 2011 at 8:24 AM, Daniel Brown wrote:
> On Fri, Mar 25, 2011 at 08:18, matty jones wrote:
> > I get the following error " PHP Notice: Undefined index: publisher in
> > /var/www/testfunctions.php on line 65" and I have narrowed it down to
> what I
&
On Fri, Mar 25, 2011 at 8:34 AM, Daniel Brown wrote:
> On Fri, Mar 25, 2011 at 08:24, Daniel Brown wrote:
>
> And, now that I'm not on a three-inch screen, I can see that I
> didn't read your entire message, so my response appears rather idiotic
> --- because you already did the isset(). So
I get the following error " PHP Notice: Undefined index: publisher in
/var/www/testfunctions.php on line 65" and I have narrowed it down to what I
*think* is a variable not being declared. Here is the code.
//this will fetch the data from a table
$d_series_fetch = $db->prepare("SELECT * FROM de
7 matches
Mail list logo