2,528 Recommended Topics
Remove Filter ![]() | |
I am trying to hide a radio button based on wether or not a user is an admin <?php if (($_SESSION['admin']) == 0) ?> <script>document.getElementById('adminbutton').style.display = 'none' </script> <?php if (($_SESSION['admin']) == 1) ?> <script>document.getElementById('adminbutton').style.display = 'block' </script> Obviously the above doesn't work.. Any help is, as usual, greatly appreciated. … | |
Hello, I'm having trouble getting a part of this program to work... the update student part is supposed to update/edit student's scores. When i run the program i cant get the bttnUpdate to work in the frmMaintStudentScores.cs. can someone help me fix it? the other parts of the program are … | |
I created a crystal report in vb.net 2003 that generates invoices. I need to be able to print this report to a Canon copy machine(with four paper drawers), but I can't select the paper drawer to print from at runtime, it has to print to the fourth drawer. I am … | |
Hi been working on this final piece of the puzzle and it seems like the last step is the hardest. So far been able to stop it from adding multiple items per button click (number of rows + 1) Update QTY count for first item only. Trying to have it … | |
I see countless of so call "docks" or "toolbars" that all share the same features: 1) they only take up part of the android screen 2) they can be collapsed and popped up by a single fingertip (either on the side or as an icon in the notification bar) 3) … | |
Hello Guys, I'm a beginner in web developing and currently building a website for my assignment.In the website,i have to create a form that allow user to upload multiple images in multiple field. My problem is when user upload the first images,they can't proceed to upload the second images and … | |
can someone help me write this short programme I am newby... Create a class Student that will have private attributes string name, string last name, string date_birth, double average_ grade. This class must have a constructor without parameters (in which all string attributes are set to an empty string, and … Programming c++ | |
Hi, I would like to ask for help regarding on passing multiple data or array in View Composer The error that I encounter is **Trying to get property 'settings_cust_comments' of non-object (View: B:\projects\web\redesign\resources\views\myapps\myapps\index.blade.php)** Please see code below Thanks in advance MyComposer.php <?php namespace App\Http\View\Composers; use Illuminate\View\View; use App\Model\MyApp\SettingsApps; use App\Model\MyApp\SettingsMainMenu; … | |
I have some problem with my code, i can fetching data from database perfectly fine without any freezing, but after the fetching finish and i want to add the fetched data into grid view, the program will freeze even though i already input the code inside background worker. Here is … | |
Hi. I have one drop down menu and one textfield. The drop down menu will display the book's id and book's name that retrieve from the database while the textfield will automatically display the book's name based on the user selection from the drop down menu. I try to use … | |
![]() | // This program will calculate the highest and the lowest, // variable out of a set of numbers. Also, it is going to give // the sum and the average out of this set. #include <iostream> #include <cmath> using namespace std; int main() { int number, average, amount, sum; int … |
I need help in filling array in Pascal with random number. I have 9 empty array ( A: array[1..10] of integer ), and i want to fill the array with integer for 1 to 9 randomly, but one number can only be choosen one time. So when a number (eg. … | |
Hi to all! I am making an android app for a ready made social medial website. Website url is: "www.MixMasala.in" I am using webview for this site, all the functionality working accept two. As this is a social media website it has also audio and video calling option. When I … | |
I have to make my sample run look like this . I cannot seem to get it right. Sample run Welcome to Vending Machine capable of deep frying twinkies Please insert coin: Enter D or d for Dollar Enter Q or q for Quarer Enter M or m for Dime … | |
I’m trying to create a program that accepts a string of characters, which should be able to perform push, pop and peek. The code is running, but the program only accepts the first letter of the string. I’ve tried many different ways to implement the code, but I’m still not … | |
Hi dear forum members, I am brand new in C programming and have to program an "X" as homework (see attached picture). The edge length of the "X's" should be entered by the user, ie the "X" should be arbitrarily large or small. Can someone help me with the task? … | |
Hello Could I please ask for assistance? I need a file that I am able to download that holds all the streets and postal codes of the Ireland. | |
I need to get the values from below following html snippet. So far I came up with this regex which helps me trim it down to the values I needed, but to automate this I need to join 2 regex statements to get the result "18" which is where I … | |
I have a fillin form , which has a submit button. In order to get to the fillin form, the user has already been authenticated and a session has been created, and variables have been added to the session. In order to process the information, I have another 'insUpSel.php' file … | |
I would like to start building a search database, by providing a portal for users to search a search engine, like Google. Is it possible for a visitor to the portal site, to present to Google their own IP address, instead of the portal site's IP address? Is it also … | |
Can you help me decrypt the message with the given information. I figured out the first line is using Xor ciphers but how do I figure out the rest? Y[ZU[XZWZ\XXZjZ[[WWVWU Ogaqkxpgbqbfiof! Cyw'ss bun! Zqksxl cywd lnepwvs uozneh. Qjc mgabiy nfx vmz-djrhkfalfq. Xnjfx ai qjvi viqi uat pgw odjwp. The radio … | |
I am writing a program that uses a while loop to determine the largest number input so far. I have to input 10 numbers in whole. At the end of the loop, it should output the largest number. [CODE]import java.util.Scanner; public class Largest { public static void main(String[] args) { … | |
Hello, It appears we started receiving errors similar to the one below since last week on our Exchange Server 2016. A staff member stated he was receiving emails normally on his PC but not on his phone. This server has been set up since November 2019 without any issues. The … | |
I am trying to create an interactive terminal to use in a project that I am working on. the idea is that I will have a web page which looks like a terminal and can use it to work with command line tools. anyway I need to use php as … Programming php | |
Making a scrolling game and I want to make a boss level. How do I make a picturebox invisible for 10 seconds and then appear? | |
Looking for directions. Where would one go to find a downloadable excel sheet, listing the streets of Algeria city? | |
I want to add a try catch block in the CalculateAverageRate method where I want the user to enter grades 1,2,3,4,5 and for other numbers to throw an exception... I would also like to make a constructor with three parameters (string name, string surname, string date_birth) in which string attributes … | |
New to this forum and to programming in PHP, so apologies if I miss some detail. I have found some code which does almost everything I need, but I can't figure out how to get the 'selected item' from the results on an secondary page (reading in post) .. this … | |
i was on the site pyschools working through the exercises, but i dont understand why it wont accept the code i input. [url]http://www.pyschools.com/quiz/view_question/s4-q2[/url] Create a function generateNumbers(start, end, step) that takes in three numbers as arguments and returns a list of numbers ranging from start to the end number (inclusive)and … | |
How do you call a constructor to initialize a variable using form1? Programming c# |
The End.