Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 20 of 20
Search took 0.15 seconds.
Search: Posts Made By: carlbrooks
Forum: JavaScript frameworks 09-16-2012, 06:09 PM
Replies: 1
Views: 362
Posted By carlbrooks
a jquery function is stopping numbers from adding up in php

I have a piece of code below where it determines which assessment the user is in and the assessment number the user is currently on:

<?php echo $sessionMinus ?> OF <?php echo...
Forum: PHP 09-16-2012, 06:08 PM
Replies: 1
Views: 215
Posted By carlbrooks
a jquery function is stopping numbers from adding up in php

I have a piece of code below where it determines which assessment the user is in and the assessment number the user is currently on:

<?php echo $sessionMinus ?> OF <?php echo...
Forum: JavaScript programming 07-08-2012, 02:40 PM
Replies: 1
Views: 410
Posted By carlbrooks
how to turn on multiple buttons if there are multiple answers?

Got a bunch of letter buttons in code below:

<?php
$a = range("A","Z");
?>

<table id="answerSection">
<tr>

<?php
Forum: MySQL 06-26-2012, 04:00 AM
Replies: 1
Views: 552
Posted By carlbrooks
I have changed my code back to the original SQL...

I have changed my code back to the original SQL where I know the SQL is correct as it worked in the old mysql code. But since I tried changing the code to mysqli, it does not display a successful...
Forum: MySQL 06-25-2012, 01:03 PM
Replies: 1
Views: 552
Posted By carlbrooks
I need helping fixing mysqli error and warning

I have a query which was correct in terms of the statements as this was tested in MYSQL. But when trying to switch from mysql to use mysqli, I can't seem the get the results to appear after a...
Forum: MySQL 06-21-2012, 10:26 PM
Replies: 1
Views: 407
Posted By carlbrooks
How to remove the warning below in mysqli

The problem I have is that it is giving me a warning in mysqli stating this:



Warning: mysqli_stmt::bind_param() [mysqli-stmt.bind-param]: Number of variables doesn't match number...
Forum: PHP 06-06-2012, 01:23 AM
Replies: 1
Views: 296
Posted By carlbrooks
changing from mysql to PDO

I am trying to convert my mysql() code into PDO (PHP Data Object) code. I don't quite understand how to parametrize the query using mysqli:

<?php

$username="xxx";
$password="xxx";...
Forum: JavaScript frameworks 05-28-2012, 03:55 AM
Replies: 0
Views: 432
Posted By carlbrooks
How to add a content into the correct textarea by clicking on an “Add” button

I have a simple application here (http://helios.hud.ac.uk/u0867587/Mobile_app/QandATable2.php) which you can access.

When you open the application can you please click on the "Add Question" twice...
Forum: JavaScript programming 12-05-2011, 08:23 PM
Replies: 0
Views: 361
Posted By carlbrooks
buttons unselect problem

I included a jQuery handler for my dropdown menus so that when something is selected in the first dropdown menu, it will manipulate the options in the second dropdown menu. Now what the user does is...
Forum: JavaScript programming 12-04-2011, 10:36 PM
Replies: 0
Views: 241
Posted By carlbrooks
buttons do not refresh when an option from drop down menu changes

This is hopefully my last jquery question. I have a slight issue with my buttons and dropdown menu. What happens is lets say user chooses option type "ABCDE" in first dropdown menu and then second...
Forum: JavaScript programming 12-04-2011, 12:37 PM
Replies: 0
Views: 240
Posted By carlbrooks
Second dropdown menu is not appearing

I have a two dropdown menus, the second drop down menu appears depending on what is selected in the first dropdown menu. Problem is that in some browsers, if something is selected in the first...
Forum: JavaScript programming 12-03-2011, 03:46 PM
Replies: 3
Views: 353
Posted By carlbrooks
answerA, answerB, answerC ... are just all...

answerA, answerB, answerC ... are just all buttons. They are nothing to do with drop down menu.
Forum: JavaScript programming 12-03-2011, 10:17 AM
Replies: 2
Views: 443
Posted By carlbrooks
You're right there was no need for multiple lines...

You're right there was no need for multiple lines of coding and set attributes. My code now works in Internet Explorer. Thank you again :)
Forum: JavaScript programming 12-02-2011, 11:44 PM
Replies: 2
Views: 443
Posted By carlbrooks
My code does not work in Internet Explorer but works on all other major browsers

I have a function which allows the number of buttons selected depending on the number selected from the drop down menu. Problem is that this code works in all of the major browsers except for...
Forum: JavaScript programming 12-02-2011, 11:31 PM
Replies: 3
Views: 353
Posted By carlbrooks
I want dropdown menu to display right values

I have two dropdown menus.

1st -> Drop Down Menu (name="optionDrop") has 5 values which are "ABC", "ABCD", "ABCDE", "True or False" and "Yes or No".
2nd -> Drop Down Menu (name="numberDrop") has...
Forum: JavaScript programming 12-02-2011, 03:14 AM
Replies: 1
Views: 296
Posted By carlbrooks
Javascript - buttons select and unselect issue

I have a dropdown menu and some buttons below in my HTML:

<p>
<select name="numberDrop" id="numberDropId" onClick="getButtons()">
<option value=""></option>
<option...
Forum: JavaScript programming 11-29-2011, 06:27 PM
Replies: 0
Views: 321
Posted By carlbrooks
I want text box in a table to display maximum number if this number is exceeded

I have a function below where every time a question is submitted, it will add a new row in the table with a textbox which allows numbers entry only. My question is that I don't know how to code...
Forum: JavaScript programming 11-29-2011, 03:15 AM
Replies: 7
Views: 314
Posted By carlbrooks
Hi, Thanks for your sample of code. I looked...

Hi,

Thanks for your sample of code. I looked at it and tested and I know what you mean. What I will be is that I will have 3 sections, Write Question, choose weight, write Answer and then I will...
Forum: JavaScript programming 11-29-2011, 12:38 AM
Replies: 7
Views: 314
Posted By carlbrooks
Hi, The reason I have done the table as it...

Hi,

The reason I have done the table as it is now is that from looking at google, the best way I have found out of inserting data into a table is by creating elements and using appendchild().

I...
Forum: JavaScript programming 11-28-2011, 11:30 PM
Replies: 7
Views: 314
Posted By carlbrooks
My table is creating new rows when inserting a question

I have a table which has the number of rows depended on what the number is in the spinner. This does work e.g If I enter 25 in spinner it comes up with 25 rows, if I enter 7 in spinner comes with 7...
Showing results 1 to 20 of 20

 
Forum Jump

All times are GMT +1. The time now is 11:25 PM.