199,114 Archived Topics
Remove Filter ![]() | |
hi, i have searching and tested lots of scripts to get the real IP behind the proxy but still not get the right result. Could anyone with this experienced helps me out. Thanx.. | |
All, Using the standard ac_quicktime.js as shown below - how does one get the video to auto play and then also keep looping: <script language="JavaScript" src="ac_quicktime.js" type="text/JavaScript"></script> <script> function jumpToTime(timeInSecs) { try { var vid = document.getElementById("iaatt_video"); if (vid && ('VIDEO' == vid.tagName) && vid.currentTime) { // video tag, use … | |
I am trying to use a link from a menu item to call a javaScript function that uses jQuery to place the contents of an HTML file into a given ID within a DIV on a page. Here is the link that points to the specific DIV and the also … | |
I think XML is declarative , I am not sure though if you have the right answer could you please provide sources doing a project for analysis of programming languages. This information would be greatly appreciated. | |
Hello i have a problem uploading a file in the local server on Chrome. Works fine on Firefox, it uploads as requested, saves to localserver and puts the values on the database as wanted. But it doesn't on Chrome. On the inspector i am getting this error `index.php:1 Uncaught (in … | |
Write a function write with variable number of arguments that takes a string first argument followed by any number of arguments of type double and prints on the screen a string formatted by the rules described below. The first argument may contain formats in curly braces of the form {index[:specifier]}, … | |
ive just done a simple register form where i can check username exists and before i put the username exists in the register works but when i have the username check in it doesnt work can someone check this over for me the script and error log are as follows: … | |
Hi all I am trying to write a batch file which would recursively delete folders with a specific name inside a tree. i am just not able to do that. Please help me. thanks for your help in advance | |
Hi everyone, im new to this fourm. Ok i'm working on a dgv page, every time i fill out my text boxes ect. i press add transaction button i got. Information shows up in the dgv, but then theres 2 columns i want to have the total sum show up … | |
Hi im ageeting the following error in my script can anyone find a fix or solution hus jan x Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /home/letsswin/public_html/template_pageTop.php on line 7 Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /home/letsswin/public_html/template_pageTop.php on line 8 //check … | |
I have a datagridveiw with 6 differnet columns. I got 2 columns with the header names, "In" and "Out". So my question is, how can i get the sum of each showing in a seperate textbox. Not by the # of columns there are but by the name of the … | |
So I have a phone screening for an intern position coming up on Wednesday. I had a moment this weekend when I realized that I know more about procedural programming (and problem solving) than I do about OOP, though I do consider myself a strong programmer. For someone who has … | |
![]() | Hi Everyone I have 2 variables $price = 60; $dec = 1%; I want to create a function which give me result for next 10 years example: 2017 = 59.4 2018 = 58.8 2019 = 28.2 . . . 2027 = Code can be PHP or Script Regards |
I have the pagination portion working as I would like it, but I am unsure of how to get the 2 html dropdown menus to filter content down further, to show the content that is only relevant to the stuff selected with an onChange event. I have included my entire … | |
Within a php environment we have one checkbox linked to one hidden field with the SAME NAME ($name). How could we send only the values of the selected checkboxes? php <input type"checkbox" name="<?echo $filename;?>_<?echo $variable;?>" id="filename_<?echo $variable;?>" value="1"> <input type="hidden" name="item_<?echo $filename;?>" value="<?echo $quantity;?>"> In the generated html this checkbox … | |
Hi i am trying to insert pdo multiple checkbox value in one column into database and display it to the user, but i am getting this error Error: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined.I cant see the error and dont know how to fix it. :( That is … ![]() | |
Hi guys, can you help me to solve my problem. i have create coding table for my database. i mean i have a form and when user fill in their information into the form, the data will store in this table(coding). but unfortunately, in this coding, my delete button are … | |
Hello im having trouble with my code ! we are asked to organize a list of names from a text.txt file the make them show up into a lits box (got that part down :) ) . then from the list box we are asked to create an array and … | |
I have a code in two files and I want to convert it from mysql to mysqli. func.php: <?php $con = mysql_connect('*','*','*'); mysql_select_db("*",$con); function search_results($keywords){ $returned_results = array(); $where = ""; $keywords = preg_split('/[\s]+/',$keywords); $total_keywords = count($keywords); foreach ($keywords as $key => $keyword) { $keyword = strtolower($keyword); $where .= "LOWER(`keywords`) … | |
i have this code..,. i dont see what's wrong why its only working on the first record of LOOP of X set serveroutput on size 30000; DECLARE VTEMP NUMBER; VPARENT NUMBER; BEGIN FOR X IN ( SELECT TEMPLATE_ID, TYPE_ID, TYPE_KIND, RECORD_ID FROM RT_RECORDS WHERE TEMPLATE_ID = 106 )LOOP DBMS_OUTPUT.PUT_LINE('TYPE_ID X … | |
I must be missing something obvious. Looking to have an if statement where it will only echo the image if BOTH conditions are met. Currently, it is echoing when only one is met if ($row['PROT_A']="Y" and $row['CFHL_A']="$G2") { echo "<img src='/fantasy/images/current.png' width='12' height='12'>"; } ![]() | |
The code below opens a modal window successfully. When I attempt to open the modal window after closing it, my browser window freezes. To unfreeze I press the escape button on my keyboard. Employee.php <div class="modal-footer"> <button type="button" class="btn btn-secondary" ng-click="closeEmployee()" data-dismiss="modal">Close</button> </div> EmployeeModalController.js <div class="modal-footer"> <button type="button" class="btn btn-secondary" … | |
customer.xml <?xml version="1.0"?> <customers> <customer> <ID>C1</ID> <FirstName>Kah Hon</FirstName> <SurName>Wong</SurName> <Email>gahhon@hotmail.com</Email> <Password>081292</Password> </customer> </customers> login.js var xHRObject = false; if (window.XMLHttpRequest) xHRObject = new XMLHttpRequest(); else if (window.ActiveXObject) xHRObject = new ActiveXObject("Microsoft.XMLHTTP"); function reset() { document.getElementsByName('txtEmail').value = ""; document.getElementsByName('txtPassword').value = ""; } function login() { var email = document.getElementsByName('txtEmail').value; var pass … | |
Hi, I am trying to learn OOP with c++ with the help of Turbo C++ version 3.0 and "C++ Primer Plus" by stephen prata. according to the book, the NEW convention for including the iostream header file in c++ is in the following way: #include<iostream> but it causes an error … | |
When I want to save data then show this error massage. Run Time error 3021 Either BOF or EOF is true, or the current record has been deleted. Requested operation requires a current record. With rs1 rs1.Open "Select * from debtordue where debtorname = '" & Me.cmbreceiver & "'", con, … | |
I have tried in many places but all have gone in vain. I am hopeful of getting a solution in this forum. I have a vb.net app in which there are many panels. I want to take a bitmap of a panel which is hidden behind the panel which is … | |
hi this is jus a question. if you are doing a program that uses a GUI, with the radiobutton, checkboxes and so on why do you have add an import for all the jradiobutton and jcheckbox. is is necessary to add an import for each of them | |
Hi guys, i'm a college student in the networking major, and i'm learning php this semester. i have the basic knowledge in HTML and CSS already and i want to move up to PHP, but i'm struggling to figure out how to edit the content of a php website, i … ![]() | |
I have an array having two fields, total minutes and cost of teacher (I have teacher id) and clients. I am showing my data in tabular form. If there are more than 1 records of same teacher then I have to add new array element of sum of total minutes … ![]() | |
Hai every body, i need help in how to import this xml file into database using php i tried this way only one record only inserted, any body plz help me. $comment = $this->filepath."\\".$file ; $content = file_get_contents($plan); // Break it into an array.... ! $content_x = explode("<comment>", $content); reset($content_x); … | |
With the following Jquery - I am trying to default the value of a select to Publication Date: <script> $('[name=form-control] option').filter(function() { return ($(this).text() == 'Publication Date'); }).prop('selected', true); </script> Here is the select code - I'm trying to default to another value: `<select class="form-control" data-bind="options: filterParams.sort , optionsText: 'name', … | |
Hi all, I have a dell inspiron N5010 laptop, a day back it went off. I tried to restart and it just keeps on beeping. After a bit a looking aboud i figured it is a display error (failed LCD). So is figured if i remove the LCD cable from … | |
the following short program asks user to enter # of hospital rooms (between 1-5), and asks for number of flowers, which cannot be a negative number. Then, it picks based on how many rooms the price from the `hospitalRoomsPrices_Array[5]`, and it also displays the total flowers multiplied by $2.50 each. … Programming c | |
Hello, This problem exist whenever I click the table in EasyPHP Web Server. I wonder why? 'squprime.class_list' doesn't exist There are several tables that appears like that. Can anyone help me figure out why? Thanks in advance, Davy | |
Hi Everyone, I have a real noob question please, I am trying to update a mysql database using the code below, I know the invoice number variable is correct, But for some reason the database is not updating, Can someone point me in the right direction please, I have tried … | |
Hello i want a script that shows various text content in the foreground and closes witn an X and shows the original page. Any suggestions? | |
dear sir i have one check box and one button.when i open form above button is hide. if i tick check box and close the form and when i re open form i want to display above button please help me how to do it. thank you wansa Public Class … | |
Hello, I have this home work question to be solved on a cloud ide: Create a class called ShoppingCart. Create a constructor that takes no arguments and sets the total attribute to zero, and initializes an empty dict attribute named items. Create a method add_item that requires item_name, quantity and … | |
We are going to simulate a seat reservation program (think airlines seats). The plane has NUM_ROWS rows, and each row has NUM_SEATS seats (form A on). For this assignment, set NUM_ROWS = 6, and NUM_SEATS = 5. Make sure you use these two constant variables in the program. | |
Hi guys! take a look at this: Sub Timer1Tick(sender As Object, e As EventArgs) initialCountdownNo = initialCountdownNo + 1 Select Case initialCountdownNo Case 3 cars(0).visible = True cars(1).visible = True cars(2).visible = True initialCountdown.Stop() End Select End Sub since thos objects are grouped in an array isnt there a … Programming vb.net | |
Hello guys! This is my first question on codeproject. Please forgive me if I had not provided all the necessary details in my question. I'm working on my college project which is a chrome extension. We've already stored the name of the website, username, and password in MySQL data type. … | |
Hi good day guys.. i am doing a POS in Microsoft access for my thesis.. the problem .. i create a button and i want to enter a data to the list box.. if you click the menu button it will automatically add the item on list box.. and i … ![]() | |
Hello. In my assignment, I must use nested loops to write to and read from a file. We have not yet learned functions or arrays. The program should calculate and display total rent collected, average rent collected, the highest paying complex, and a warning if zero paid by a complex. … | |
**I can't update inserted data via GUI, Its working well on inserting records before I modify it, and when am trying to modify in order to update inserted data its not update as I expect to happen. I can display inserted data well by echo them to GUI Below is … | |
#this program calculates the area of a right triangle #ask for input b=input('Enter the triangle base:') h=input('Enter the triangle height:') #Calculate and print area Area=(b*h)/2 Print '\n The base is '+str(b) + 'units' Print 'The height is 'str(h) + 'units' Print '\n The area is 'str(area + 'units' | |
Car Rental will rent cars to their customer. They have the potential to rent either petrol, diesel, electric, or hybrid cars. They have initially 40 cars in their rental pool made up of 50% petrol, 20% diesel, 10% electric and 20% hybrid. When a car is not rented it is … Programming python | |
please I'm a student of standard institute of tech.. studying comp. sci., we've been asked by our lecturer that all of us should look for all way to view answer on an online CBT(Computer based testing) test which is powered with asp.net, js, HTML, css. plz I'll really appreciate your … | |
Doesn't seem like it should be difficult, but none of my attempts have worked. Thanks a ton. Code found [here](https://www.amcharts.com/kbase/stacked-floating-3d-column-chart/), btw. <style> #chartdiv { width : 100%; height : 500px; } </style> <script src="https://www.amcharts.com/lib/3/amcharts.js"></script> <script src="https://www.amcharts.com/lib/3/serial.js"></script> <script src="https://www.amcharts.com/lib/3/themes/light.js"></script> <div id="chartdiv"></div> <script src="//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js"></script> <script src='https://code.jquery.com/jquery-1.11.2.min.js'></script> <script> var chart = AmCharts.makeChart( "chartdiv", … | |
i have learn this Java since last month for my work purposes. i wanted do this exercise. this is Vending Machine Program. I don't if write it in a wrong way. So i need somebody to show me the in my code. i know there must be wrong somewhere in … | |
I make a setup file. I install it in another computer. When I run the application then show this error massage. |
The End.