Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~34.7K People Reached
Favorite Tags

20 Posted Topics

Member Avatar for jaycastr

Hey Guys my goal for this multi dimensional array is to document the answers (right or wrong) for a test that the user is taking. In the beginning the test array is set up. as the user goes throught the questions the app should add to the array. Note: the …

Member Avatar for jaycastr
0
105
Member Avatar for jaycastr

I have save formulas and variables in a database and when I retrieve them I want php to calculate the value like so [CODE] $x = .0832; $y = .0673; $z = 1.5; $formula = '$x -(($x-$y)*($z-1.0))'; $newformula = str_replace('$x', $x, $formula); $newformula = str_replace('$y', $y, $newformula); $newformula = str_replace('$z', …

Member Avatar for diafol
0
1K
Member Avatar for jaycastr

Hey Guys, My problem is that i want to get a random number given a specific range. But it the range is a small decimal or float it rounds up. Here is what i have so far [CODE] $xl=$row['x_lower']; $xu=$row['x_upper']; if(isset($xl) && isset($xu)) { $x = rand($xl,$xu); echo $x; } …

Member Avatar for diafol
0
109
Member Avatar for jaycastr

I have a textarea where i want the user to just enter the values: $x $y $z $a $b $c (,),+,-,*,/ ^ Here what i have so far [CODE] Formula <textarea name="formula" onkeyup="check(this.value)" ></textarea> [/CODE] javascript [CODE] function check(formula) { ???? } [/CODE] Thanks in advanced

Member Avatar for crishlay
0
78
Member Avatar for jaycastr

Hey Guys I am writing a application in PHP. One feature is that the admin can create a question for a test in the application. I want to use the users input to create an xml file and save the xml file in mysql database for later use. This is …

Member Avatar for jaycastr
0
201
Member Avatar for jaycastr

Hey fellas, I have a problem with my current code. I have a checklist that i want certain items to be selected bases of a sql query. here is the code: [CODE] public void PopulateCheckList(int Program_Id) { SqlDataReader myReader = null; String appConnectionString = "Data Source=csdb-wc-1p;DataBase=oparch_metrics_v2;User ID=ops_metrics_admin;Pwd=M3tr!c$@dm!n"; SqlConnection myConnection = …

Member Avatar for jaycastr
0
88
Member Avatar for jaycastr

Hey guys, I am writing a web application in asp.net using c sharp. I have a web page that lets the user create a program. In this system a program is made up of many applications and an Application can belong to many programs hence a many to many relationship. …

Member Avatar for jaycastr
0
156
Member Avatar for jaycastr

Hey guys, I am trying to write a page that has a main horizontal navigation bar and a vertical sub navigation bar. My problem is that the selector(a, il, ul ...) in CSS is effecting both bars. How do i separate the two. Here is my HMTL section for the …

Member Avatar for jaycastr
0
1K
Member Avatar for jaycastr

this query was too hard for me write. so any help is greatly appreciated i have three table , a_device, b_devices and a_app under a_device i have the columns: hostname app_name under b_device i have the columns: hostname cpu_avg mem_avg under c_app i have the columns: app_name department_name I want …

Member Avatar for mwasif
0
152
Member Avatar for jaycastr

i know this is a common question but i didnt understand how ppl fixed it i have 3 divs that each contain a table . they are both in a 4th div i want one div(table2) to line up to the left and the other div(table3) to line up to …

Member Avatar for matricol
0
94
Member Avatar for jaycastr

I am trying to pass two variable using javascript but i dont really know the syntax [CODE] if(entity==3){ var month = document.getElementById('mymonth').value; var program = document.getElementById('mylist').value: location.href = "view_results.php?month="+month; [/CODE] i only how to pass month but i cant figure out how to pass both month and program thanks in …

Member Avatar for Airshow
0
113
Member Avatar for jaycastr

Im stuck with this color changing aspect of my website, can you please help. I have a dropdown with 4 options. I want a specific element that corresponds to the dropdown box to change color according to the option selected. here is some code [CODE] <tr> <td>Application Architecture</td> <td><select name="cate1" …

Member Avatar for jaycastr
0
2K
Member Avatar for jaycastr

I am using a dropdown box with 6 options. On change I want ajax to return part of an HTML/PHP page that corresponds to one of the 6 questions. I was trying to put and if statement on the return page to determine the part that I wanted but I …

Member Avatar for jaycastr
0
149
Member Avatar for jaycastr

Hey guys im getting back into Java after a break from programming. And i was wondering what is the best integrated development environment for running java.Im sure there is no one Best, but your input would be greatly appreciated.

Member Avatar for Akill10
1
459
Member Avatar for jaycastr

Hello all I have a page in php that INSERTs data in a database via a query. My problem is that when you refresh the page the data is INSERTed again. How can I stop this. Thanks in advance

Member Avatar for metalix
0
108
Member Avatar for jaycastr

hey huys i have a javascript ajax function that gets the parameter "id". I want to send it via post or get to a php file that gets database info based on the "id" but i cant get the id to transfer over to the php file. here is my …

Member Avatar for jaycastr
0
93
Member Avatar for jaycastr

Hello all, My question is how would you query (insert into table) a variables that can vary from few to many in quantity depending on the user input. The code looks like this. [CODE] $chkbox = $_POST['chk']; $imp=$_POST['imp']; $step= $_POST['step']; $start=$_POST['start']; $finish = $_POST['finish']; $duration = $_POST['dur']; $status= $_POST['status']; foreach($imp …

Member Avatar for sandeepji1
0
84
Member Avatar for jaycastr

Hello All, I am Writing a code that adds a row of cell(with inputs in them) to the table. But I want the user to complete each cell before adding a new row. I was attempting you use a for statement to go through each of the cells to check …

0
62
Member Avatar for jaycastr

Hello All, I have a simple question How do i get a variable from one function into another function. I am new to javascript. Here is my code[CODE] function timestart(that) { var x = new Date(); that.value = x; } function timeend(that) { var y = new Date() that.value = …

Member Avatar for jaycastr
0
28K
Member Avatar for jaycastr

Hello All, This is my first post on here. I am new to javascript and I have a problem. how can i 1. Have a button that adds a new row of cells to a table 2. In these cells there are input boxes/check boxes/dropdown list/ radioboxes and textarea. 3. …

Member Avatar for jaycastr
0
143

The End.