64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for FarrisFahad

I have a search form, and I want to change the url from: https://www.example.com/search?search=term+term to: https://www.example.com/search/term+term I know how to use htaccess, but I don't know how to send user to friendly URL after he submit the form. Here is my form: <form action="search" method="get"> <input type="text" name="search" id="Searchx" placeholder="Search …

Member Avatar for FarrisFahad
0
2K
Member Avatar for Hasan_10

Hello i have this form and my php code skills not very good if someone make change password I would be glad thank you <div class="col-lg-9"> <div class="nk-box-3 bg-dark-1"> <form class="change-password" method="post" action=""> <input type="password" class="form-control input-change-password" name="opass" id="opass" placeholder="Old Password"> <div class="nk-gap-1"></div> <input type="password" class="form-control input-change-password" name="npass" id="npass" placeholder="New …

Member Avatar for Dani
0
2K
Member Avatar for 1981191919

I am required to change ip adress everytime this function gets executed I am trying this code below .But I am completly confused.How can I do this function getData($domainName, $ext) { $proxy = array( 1 => array( '88.255.101.247', '8080' ), 2 => array( '176.53.2.122', '8080' ), 3 => array( '37.123.96.237', …

Member Avatar for Dani
0
12K
Member Avatar for tun712

Need help to scroll when mouse wheel is used. Scroll Up or Down as per mouse action. I'm trying to create `moveDown()` & ` moveUp()` function, to scroll according mouse wheel action On scroll, remove class of current div :- `.active` and add class :- `.active` to scrolled div(div in …

Member Avatar for gentlemedia
0
4K
Member Avatar for tun712

* My [Primary code](https://jsfiddle.net/kvp2Laju/) jsfiddle * I was using [iscroll](https://github.com/cubiq/iscroll) to scroll to target. * **data-section** attribute is used for section id. section is full height & full width size. * **data-slide** attribute is used to get target id, it is animated mouse icon. how to scroll to target ? …

Member Avatar for tun712
0
5K
Member Avatar for omi4u

dear all i have a invoice table now in that datagrid table i have 4 columns itemcode itemdescription qty price now what i need is user come to itemcode and whenever he type itemcode, he should get a list of initial alphabetic itemnames like if i type A so itemcode …

Member Avatar for rproffitt
0
3K
Member Avatar for savedlema

Hi everyone! I'm making an application which requires users with different permissions/previleges to login and use the application.For example, if the user is "admin", all menu items in the menu bar are shown and enabled. If the user is say "user_group1", some of the menu items are to be hidden. …

Member Avatar for Reverend Jim
0
6K
Member Avatar for FarrisFahad

I am working on an image cropper. And I am on the first stages. I want to know how to create the the two divs over the image, one is transperent while the other acts as a mask. Can this be done with CSS? Or should I consider jQuery? This …

Member Avatar for paulmdavis0
0
5K
Member Avatar for Nebil

Hi guys, i'm having a difficulty to set the path in vb.net.i put the code in the module and every time i run the code it throws error "Could not find file 'C:\Users\Abdueie\Desktop\BMS\Bridge Asset Management\Bridge Asset Management\bin\Debug\Adigrat.accdb'." here's the code Public conn As OleDbConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source= .\\Adigrat.accdb;Persist …

Member Avatar for YASHNIT
2
8K
Member Avatar for Violet_82

Hi guys, I seem to have an issue with a boolean method returining a value. Here is the code excerpt - irrelevant code omitted: public class StreamsTest { public static void main(String[] args) { String[] arr = new String[]{"a", "b", "c"}; //convert array to string with streams List<String> list = …

Member Avatar for masijade
0
3K
Member Avatar for kobiperez

I have to take over a php project and I am totally new to php. I have this webpage that displays all packages sent to a customer and I want them to be able to click on the tracking number to do UPS website tracking. The code: <?php $result = …

Member Avatar for kobiperez
0
2K
Member Avatar for guffadi

//With this method, I input a string and return an array that contains a sorted list of characters as per the frequency. Eg: If i input "apple", the out put should be p,a,l,e, How do I do this? public static ArrayList<Character> characterFreqDist(String statement) { char[] Array = statement.toCharArray(); int length …

Member Avatar for JamesCherrill
0
3K
Member Avatar for 68thorby68

Many thanks if you are looking at this. I have a simple order form that allows users to place an order for an item. The form also allows the user to add more items, calling a javascript function that utilizes innerhtml. Included in each order form, are dates. I am …

Member Avatar for tekwalker
0
3K
Member Avatar for Pk11

Hi, I'm writing in C my program and I have a problem with this pieces of code: //lib.h typedef struct Array { char **array; char *searchDirPath; char *searchFile; char *tmpFileName; int tmpFile; int arraySize; int currIndex; } Array; // lib.c Array* createArray(int size) { Array* newArray = calloc(1,sizeof(Array)); newArray->array = …

Member Avatar for kevenm
0
2K
Member Avatar for useruno1

Hello guys, unfortunately it looks like I'll have to use your help again. I'm struggling for few days to configure some filters in woocomerce and I can not do it at all. I'm trying to configure some filters to appear only in subcategories, and a main filter only in the …

Member Avatar for useruno1
0
3K
Member Avatar for CSWinslow

So here's a little background to help with what I'm trying to accomplish (be mindful I'm also fairly new to MySQL): I'm creating a dynamically built navigation for a website using PHP and MySQLi. I've created a class called *Database* where I've got helper functions, such as connect() for connecting …

Member Avatar for CSWinslow
0
3K
Member Avatar for bprosic

Hi, I want to replace ticks in text with other text. This method usually works, but when adding three dots, I get php warning ltrim(): Invalid '..'-range, no character to the right of '..' or invalid range needs to be incrementing. I don't know where to look for error, except …

Member Avatar for Dani
0
3K
Member Avatar for tun712

Working on fullscrfeen slider. Need help to count slides inside main slider container & create navigation `<ul class="Nav"><li><a></a></li></ul>`. Need help to add scroll effect Vertically or Horizontally Add class **.active** to active slide Display tooltip on navigation hover Need help to write function , $('main').slider({ //It may be main or …

Member Avatar for uprawnieniabud
0
900
Member Avatar for Johannes_4

Hi, how do I sort the string in alphabetical order? find most occuring character("blablabla") remove most occuring("aaa") input: blablabla output: "aaa"

Member Avatar for JamesCherrill
0
2K
Member Avatar for developer707

Hello, Recently I am using phpexcel and afer many tries I wasn't able to find out how to make a document with a image in its header. Here is a simplified code that I am using. Can someone helps me with this issue?! <?php require_once 'PHPExcel.php'; $objPHPExcel = new PHPExcel(); …

Member Avatar for Arvind_7
0
10K
Member Avatar for tjsilver

Hello, I found this code in a thread from about 18 months ago in a post by 'woooee' - [CODE]def func_1(): print " func_1 test" def func_2(): print " func_2 test" def func_3(): print " func_3 test" def func_4(): print " func_4 test" ##---------------------------------------------------------------- ## dictionary = list of function …

Member Avatar for August.Garcia
0
3K
Member Avatar for V3N0M

Hi guys so I was playing with some code which would determine the whether a string is a palindrome or not. Its been a mixed bag of results with some palindromes being detected while others aren't. I do apologize to the lack of polish of my comments but I hope …

Member Avatar for JamesCherrill
0
3K
Member Avatar for Start4me

I've been looking tutorials and examples of setting the value field of a input tag. I'm trying to enter two IP addresses into the text fields on [this](https://www.ipaddressguide.com/cidr) website, under IP Range To CIDR. But my code won't enter anything. There's no ID tag, so I can't use the getElementById …

Member Avatar for Start4me
0
2K
Member Avatar for paul1145

In Visual Studio 2015, under Windows 7, I've created a VB application that fills a Checked Listbox with file names from one of my folders. Some of the file names contain an underscore character but when shown in the listbox, that character is replaced with a space. In the code, …

Member Avatar for rproffitt
0
3K
Member Avatar for abdallah mohamad

Write a PHP code to: 1- Create a 2-dimensional array, with a random number of rows and columns. 2- Fill the array with random numbers. 3- Send the array to a function that returns the number of the highest frequency in the array. Who can help me to solve it?

Member Avatar for abdoosh
0
4K
Member Avatar for overwraith

Hello all, I was wondering if I could get some questions answered about how cupons work in the work place. I have an idea which involves creating a very flexible cupon service, but would require knowing the rudiments of how cupons work. The main question I have is how is …

Member Avatar for Schol-R-LEA
0
3K
Member Avatar for ariowishnu

inside mysql db which is table employe in coloumn *id_employee*, some data have a leading zero, etc : **id_employee : 0378192918 empy_name : Daniweb** i need to get id_employee for delete employe in my aplication, then i using ajax method like this : if(id) { alert(id); $("#deleteBtn").unbind('click').bind('click',function(){ $.ajax({ url: 'pegawai/delpeg.php', …

Member Avatar for ariowishnu
0
4K
Member Avatar for Start4me

I'm working in Excel to extract content of a table from a web page and populate Excel sheet cells with it. I'm trying to extract data from a table that gets loaded to a web page after show results method gets called. I have an error that says "Run-time error …

Member Avatar for Ben_32
0
12K
Member Avatar for overwraith

This may sound wierd, or easy, I just don't have a statistics background. How do I alter the statistical value of an array of emmitted random numbers? I am completely capable of using ranges, or creating an algorithim, I just need pseudo code or a brief description to guide me …

Member Avatar for overwraith
0
755
Member Avatar for useruno1

I have an annoying problem on my website, I have been struggling for a few days to fix it and I can not do it at all. On my site here https://codurilevietii-888.ro/ each time i load a new page, the scroll position stays same as it was on the previous …

Member Avatar for useruno1
0
3K
Member Avatar for ayooshkasmth

Hi, I have a problem with retrieving uploaded images from a database. It appears to upload fine, but when i try to display the image i get loads of binary jargon? I have tried looking everywhere for a solution, but unable to, any help would be greatly appreciated. The code …

Member Avatar for gentlemedia
0
8K
Member Avatar for joshi1984

Hello, I want to have a manual IP-input-box like windows. ![tcpip_properties.gif](/attachments/large/4/1b3cb2d2b7b2be11e2b4abcef8d6fcc5.gif) I tried by MaskedTextBox but the problem is, the 3 pionts are sliding when i insert some numbers and i can insert letters and numbers higher then 255 (higher is not allowed in IP´s). I hope anyone helps me, …

Programming vb.net
Member Avatar for xrjf
1
5K
Member Avatar for Emil_4

Hello, So I have buttons on my site connected to a PHP code that updates the column "status" in "users" table with a value based on what button you press. This is the PHP script for that: <?php include('functions.php'); $servername = "localhost"; $username = "root"; $password = ""; $dbname = …

Programming mysql php session
0
2K
Member Avatar for dekker13

I'm trying to add insert functionality to a textbook code example. I have an "off by one" error and I can't think of a way to fix it. Here's my attempt below: template< class NODETYPE > void List< NODETYPE >::insertMiddle( const NODETYPE &value, int position ) { ListNode< NODETYPE > …

Member Avatar for Amanuel_1
0
4K
Member Avatar for misstj555

I am currently studying for an "Associates in Computer Science" with the intention of tranfering to a four year collage to get either a "Bachelors of Computer Science" or a "Bachelor of Applied Computer Science" hopefully this spring. Before I can make a decision on which Bachelors I would like, …

Member Avatar for misstj555
0
4K
Member Avatar for joshi1984

Hello, i got a table in Excel (or exported to CSV). There are 3 columns (1. column = specification / 2. columns = value1 / 3. column = value2). On my vb.net form i got a textbox, 2 labels and a button. If i write in in the textbox "5" …

Programming file-system vb.net
Member Avatar for Ella34
0
5K
Member Avatar for misstj555

# Lab Assignment # We must create a program that will print a sorted list of all the students and the corresponding scores listing the highest score first and the lowest score last. In this case I would need a Bubble Sort. ## Question ## This is my "Bubble Sort" …

Programming java
Member Avatar for misstj555
0
2K
Member Avatar for narendra_jntu
Member Avatar for Mandava PavanKumar
0
8K
Member Avatar for vantage23

![code_error.png](/attachments/large/4/0618569524bcc2abec40e81e5691d469.png) I'm relatively new to python, and I'm trying to create a pokemon battle. This error has come up, I've looked up solutions but it hasn't helped me as I can't understand it properly. Please help, I'd like to learn especially since I'm planning on taking IT and computer science …

Programming python
Member Avatar for vantage23
0
4K
Member Avatar for Adrian_15

I'm somewhat new to coding websites. I'm trying to have a code where it pulls multiple images from a single database and displays it in a grid, not a table. At the top of my page I have a normal connection to the database. (very sorry about not having a …

Member Avatar for Adrian_15
0
3K
Member Avatar for misstj555

# Lab Question# We must create a program that do the following: Allow the user to type in a student name the coorosponds with the student's exam score. The program will be able to accpet exam scores till the user types in the phrase "allDone". The code will determine which …

Programming java
Member Avatar for misstj555
0
2K
Member Avatar for Kam_1

Hi, something weird happened with my program, I mean when I run it I see only grey frame (like I had only JFrame object in my app), then I minimalize application, maximalize it and only then I see all components painted (JButton, rectangels and lines inside Jpanel,...). Changing of frame …

Member Avatar for JamesCherrill
-1
2K
Member Avatar for Fernando_14

Hello! I am interested in the issue of protecting the code from hacking. Do you protect your code from decompiling and hacking? Why did the question arise? I worked in a team that developed games for Android. They all used obfuscators! So almost no one could hack their application. Now …

Member Avatar for StarDrago
1
3K
Member Avatar for purplegerbil

I am writing an application which will process data over night. When it's finished a report is printed out. I am wanting the report to be printed to 3 different printers on the same network. Is it possible to do this? All three printers are installed on the pc. Thanks …

Member Avatar for TwoFeetDown
0
3K
Member Avatar for cambalinho

i create the read(...) function for read to variables. but i need too the read()(without arguments) for press enter before continue\exit. void read() { //wait if the enter key is pressed: cin.ignore(); cin.get(); } template<typename first_t, typename... rest_t> void read(first_t &first, rest_t... rest) { std::cin >> first; read(rest...); //function is …

Member Avatar for cambalinho
0
2K
Member Avatar for cambalinho

i'm trying using the GNU compiler with command lines( using the ShellExecuteEx()). when i do: string FileName1="C:\\Program Files\\mingw-w64\\x86_64-7.2.0-win32-seh-rt_v5-rev1\\mingw64\\bin\\x86_64-w64-mingw32-g++.exe"; run(FileName1,"-c \"C:\\Users\\Cambalinho\\Documents\\CB\\testfolder\\bin\\Debug\\test2.cpp\""); the object file is created. these line creates the exe: run(FileName1,"-o C:\\Users\\Cambalinho\\Documents\\CB\\testfolder\\bin\\Debug\\test2.exe C:\\Users\\Cambalinho\\Documents\\CB\\testfolder\\bin\\Debug\\test2.o"); (tested) but the exe have some dependencies... so seen the Code Blocks: x86_64-w64-mingw32-g++.exe -Wall -g -std=c++14 -c …

Member Avatar for cambalinho
0
2K
Member Avatar for Aild

Hi all, I'm having a little problem with array and some "unqualified-id" problem. I've created gazillions (okay, maybe 80) arrays before but I had never encountered such problem. Especially with static arrays. [CODE] #include <stdio.h> #include <cstdlib> using namespace std; int main() { // with addition of buffers for 3x3 …

Member Avatar for Andy_20
0
13K
Member Avatar for Dani

As Google+ is being deprecated, I need to migrate my Oauth 2 off of Google+ and into the Google Sign-In authentication system. So far, I changed the list of scopes from `https://www.googleapis.com/auth/plus.login email` to `profile email`. However, I'm struggling trying to find in Google's docs what to change the endpoint …

Member Avatar for Dani
0
4K
Member Avatar for SimonIoa

Hello i have a mysql statement and i want to add more parameters to get different results. SELECT DISTINCT M.message,F.friend_one,F.friend_two, F.role,U.uid,U.username FROM users U,friends F, messages M WHERE ( U.status='1' AND F.friend_one = '88') OR (F.friend_two='88' ) AND F.role='friend' 88 is the users id so i want to show M.message …

Member Avatar for SeanDevoy
0
2K
Member Avatar for PM312

Hi, I Have below table I want all rows with all coloumn from below table where ActCode is 1162828 and sum of DocAmount for DocNo. i.e where the docNo is repeated i want only one row with sum of amount of all repeated rows. ** "Select *, Sum (DocAmount) from …

Member Avatar for SeanDevoy
0
3K

The End.