64,152 Solved Topics
Remove Filter ![]() | |
Hello. I'm a newby in web development and I wanted to know if you guys knew any good books our websites to go to to learn Jquery for my new website. I've only used some css and a little bit of javascript but I wanted something better. I don't think … | |
I want to use Python to make something similar to the fc command found in MS-DOS and Windows. How would I handle opening 2+ files and reading them a byte at a time for comparing? | |
Greetings, I need help with basic cloak, which counts how many times will small and big pointer on the cloak cover each other, with first one starting at 12 cloak. I have idea of how to do it, but I can not realize it, so if you guys have some … | |
I'm using the following swap function to swap two elements of an array. The element pointed to by 'x' and 'y' and the one right below it, to be particular (then i want x and y to point to the second of the swapped elements, hence i use auto increment). … | |
<?php echo "<table border='1' style='border-collapse: collapse;border-color: silver;'>"; echo "<td width='100' align='center'>date in</td><td width='100' align='center'>date out</td> <td width='100' align='center'>model</td> "; echo "</tr>"; include("proses/dbcon.php"); $date_in = $_POST['date_in']; $date_out = $_POST['date_out']; if(isset($submit)) { $sql = "select * from inventory where createdate >= '$date_in' and createdate <= '$date_out' "; } $result= mysql_query($sql); while($row=mysql_fetch_array($result)) { … | |
Can you test google analytics even when im just running the website Im doing in localhost? (Mysql)..if so, how should I do it or( give me the link to its tutorial)? | |
good day! I just want to ask if is it possible to have count on dinstint? I have a query below but it produces error in the expression. Im pulling data in MSAccess using ADODB. SQL = "SELECT" & _ " (SELECT COUNT(DISTINCT DateOInvoice) FROM InvoiceMain AS A WHERE (DateOInvoice>=DateValue('" … | |
SO I found a javascript I want to use: <script type="text/javascript"> function FindNext () { var str = document.getElementById ("findInput").value; if (str == "") { alert ("Please enter some text to search!"); return; } if (window.find) { // Firefox, Google Chrome, Safari var found = window.find (str); if (!found) { … | |
I have been working on this for some time now and i cant get it to work, idk if im missing something small which im sure is the case, but the strange part is it works on an older installation of apache, so maybe im using code thats no longer … | |
Hi I have tried to implement Linked-List data structure and i was folowing a guide but i have an `error` in line 12 in `contactlist.h` I have included `contact.h` properly but still not working :-/ contact.h #ifndef CONTACT_H #define CONTACT_H #include <iostream> #include <string> #include "contactlist.h" class Contact { private: … | |
Hi there! I have a problem and i want you guys to help me. I have 1 table which has many fields. (mysql and im connected from microsoft visual studio..runs very well so there no problem with this). lets forget the fields that we dont want now.. i have 4 … | |
Hi how do I use jQuery to show a Jquery mutliselect based on a checkbox option, here is my codes //html <input type="checkbox" value= "checkbox1" name="checkbox1"> <select id="dropdown" name="dropdown" multiple="multiple"> <option id="item"></option> </select> //jQuery $("#checkbox").change(function(){ $('#dropdown').multipleSelect(); | |
Hi, I'm facing some problem while returning string. I want to return final string value and print it. Below is the code that i tried, int main() { int Input = 0; //Tried using tmpstr also //char *tmpStr = NULL; scanf_s("%d", &Input); //Tried as below also but it was crashing … | |
Greetings Sirs. Can somebody help me with this problem i'm stuck here on this problem for about 4 days no. What i wanted to do is this.. Add a device named "Project C" And Add a Location "000-0001" Add another Location "Jake" First Input: Assign the device to Location "000-0001" … | |
Hello, I got terrible need :) I have this: $profile_data = file_get_contents("http://tyxo.bg/d/148025/daily"); $sep1 = explode('<table id="general-table">', $profile_data); $set2 = explode("</table>", $sep1[1]); echo $set2[0]; which output this: http://i.imgur.com/2THUUve.png I need to export only this values without anything else: http://i.imgur.com/IQG708Q.png You can test by your self the code i give - he … ![]() | |
Just a quick question. can you activate a browsers ctrl+F functionality using php?Like click the button and ctrl+f activates | |
I know this has been asked before, but I can't find any simple answers for a noob like me in C#. What exactly is a static method. I mean what does it mean to be static vs. nonstatic. I know in the code with the main method we use `public … | |
I'm sorry if this is the wrong place to put this, but since I normally code in C#, and my potential solution would involve using C# I figured this would be the best place to start. I've been given a task at work to allow our customers the ability to … | |
Maybe a bit silly question, but in one of my projects I needed an enum and I suddenly wondered what would be the best place for it to write it in a file. Should it be in a .cs file of his own or could I place it in the … | |
Hi. I'm learning by myself data structures with c++ but i got stuck Here's my code: #include<iostream> #include<cstring> #include<string> #include<sstream> using namespace std; template<class T> // node class class nodeType { public: nodeType(); nodeType(T); ~nodeType(); nodeType *next; nodeType *previous; T data; //string getkey(); string Id; //void borra_todo(); void imprime(); // … | |
My code has me stumped, My method is right...I think but the output begs to differ. Basically this code is supposed to convert seconds to minutes but the output is somewhat off..here's what I have don so far. String input = JOptionPane.showInputDialog(null, "Enter a value for seconds (positive whole number): … | |
hi, pls i have written a set of codes for a program and i want to deselect the radiobutton and also clear the contents of the entry widgets,the entry widgets get cleared tho. thank you def adduser(): name = "Name: " + entry_box1.get() reference_number ="Reference_number: " + entry_box2.get() room_number = … | |
Here is a php file that i HAVE...so at the moment it displays the latest news on the site but I want to add 5 more...how should my query be? <?php $stmt = $db->query('SELECT postID, postTitle, postURL, postDesc, postDate FROM posts where postid=(SELECT max(postID) from posts)'); while($row = $stmt->fetch()){ $output … | |
Hey guys im stuck in a project for school.. i need to creat a console app that stores info in tables. so were im confused is the part were the search is.. so i the client inputs an id for customer,but i want to check the table(lets say artist) if … | |
Hello guys, i have a problem, is there someone can help me? this is my logic.. public static void Check_Fund(){ String header = "Text1,Text2,Text3,FUND_UALFND_1,FUND_UALPRC_1,FUND_UALFND_2," +"FUND_UALPRC_2,FUND_UALFND_3,FUND_UALPRC_3,FUND_UALFND_4,FUND_UALPRC_4,FUN D_UALFND_5,FUND_UALPRC_5," +"Text4,Text5,Text6,Text7"; String text = "ABC;CDE;EFG;PRMF;0;PRFF;50;PREF;;PRCF;0;PRMP;50;HIJK;;LMNO;PQRST"; String[] head; String[] value; String showText = ""; head = header.split(","); value = text.split(";"); String regex = "\\d+"; String … | |
I have used several methods to save a program's settings in the past. * System Registry * INI files (Encrypted\Plain) * XML file as a resource or external file * XML app.config etc. I'm wondering either: 1. What's your preferred method for saving your program's settings? 2. Is there a … | |
I dont know how to program in Turbo C, My brother need a Hexadecimal Converter that's programmed in Turbo C ( Hex to Bin Hex to Oct Hex to Dec? ) | |
I dont know how to program in Turbo C, My brother need a Hexadecimal Converter that's programmed in Turbo C Hexadecimal to Binary Hexadecimal to Oct Hexadecimal to Decimal ) Thank you for your help :D Good Bless!! | |
Hi I could get my session values in my jsp, now I want to compare the session value whether it matches the textbox, if it matches, it will redirect the user to another page else it will remain the same page, I am not sure how to proceed, please help … | |
Hi.. I am trying to make a broadcast receiver that receives BOOT_COMPLETED when the decvice is powered up; and eventually I want to launch my application. Here's my code: MainActivity.java BroadcastReceiver mReceiver = null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //receiver IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_ON); filter.addAction(Intent.ACTION_SCREEN_OFF); filter.addAction(Intent.ACTION_BOOT_COMPLETED); mReceiver … | |
Alright so I am getting a weird problem with the following code int toDB[2]; int fromDB[2]; char * param1; char * param2; err = pipe(toDB); if(err==-1) { printf("Error on pipe creation: %d\n", errno); exit(1); } sprintf(param1, "%d", toDB[0]); err = pipe(fromDB); if(err==-1) { printf("Error on pipe creation: %d\n", errno); exit(1); … | |
Hello everyone, here i am again, asking for help .... please bear with me, I am a newbie of VB .... ahmmmm I just wanna ask if what codes is appropriate in holding the value that the user choose or select after clicking the ENTER Button? the scenario is this: … | |
I want to implement an algorithm in c++ using two concurrent infinite loop: the first infinite loop produces the upper bound on each iteration and the other infinite loop produces lower bound on each iteration. Both loops would terminate only when the the upper bound and lower bound meets. What's … | |
Hello everyone!!! I need some help on how to put a word "RESERVED" on the "Filled" Column of the Access if the user will select a certain button (for example I have 5 Buttons, namely: A1, A2, A3, A4, A5) and select the ENTER button, a word "RESERVED" will be … | |
hello, im developing a mass mailing application in php...in lot places i see like post to this address... lik this one.. To upload your attachment do a HTTP PUT of your attachment file to: https://api.elasticemail.com/attachments/upload?username=yourusername&api_key=yourapikey&file=test.csv and Step 3) Call mailer send with the datasource value set: To use the send … | |
For class, I had to write a simple program that would calculate the surface area and volume of a torus. I did that, but my answers are long decimal numbers. How do I get the answer to round off? Thanks in Advance | |
Does anybody have a good example of a Functor in Python? | |
Hello, sorry for the rudeness for asking for help on the first post but I'm still a beginner in programming. I am trying to create a GUI for plotting function using Tkinter and Python. In the top a label will show the current position of the mouse in the canvas … | |
I cannot get this table to work even though i hav eit working PERFECTLY in 3 other instances, now what i dont get is it seems to be a connection issue between the database and the form, now that makes some sense to me. What doesnt make sense is when … | |
Hello everyone!!!! I need some help to make a condition that if a user will select or click more than 1 button, there would be a MsgBox("You can only select one seat for every Process") appeared.... The scenario is this: I have 5 buttons(A3, A4, A5, A6, A7) and on … | |
quick question how can I work around this char * dat = "08/11/2014"; char test[10] = dat; I need to be able to take a string and put it into an array of chars, how can i do this? | |
<?php require_once("../includes/session.php");?> <?php require_once("../includes/connection.php");?> <?php require_once("../includes/function.php");?> <?php confirm_logged_in();?> <?php require_once("../includes/validation_functions.php");?> <?php if(isset($_POST['submit'])){ //process the form // often there are form values in $_POST $product_name = mysql_prep($_POST["product_name"]); $product_amount = (int) $_POST["product_amount"]; $visible = (int) $_POST["visible"]; foreach($_FILES['files']['tmp_name'] as $key => $tmp_name ){ $file_tmp =$_FILES['files']['tmp_name'][$key]; $uploaded_dir = "images/"; $filename = $_FILES['files']['name'][$key]; $path = … ![]() | |
I have a curious issue with Twitter bootstrap, I include the bootstrap.js , but my popovers and tooltops dont work? `<button type="button" class="btn btn-lg btn-danger" data-toggle="popover" title="Popover title" data-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button>` All my other js stuff works fine, I have a … | |
Hello... I have three textboxes on a form. The first two are for entering numbers for addition. And the third is for displaying the result of addition. I want the result of addition to appear in the third textbox as soon as I enter the numbers in the first two … | |
Hello I have a text-editor (CKEditor one) whereby am retrieving all the texts (which are in 3 paragraphs), in a single string variable, using Java codes. However, all the 3 paragraphs being retrieved have leading spaces, and I want to remove them for display purposes. How can I do so, … | |
There are no errors or anything in my code, and the program runs and works. However, when I only enter a value in one of the text fields to test the error message, it enters "0" in all of the text fields below it. How can I get it so … | |
I have this script that will NOT work no matter what i add to it, i have fopen not working and i believe that is the root of all my other errors but i cannot be sure, i originally had 8 errors but 4 of them were simple notices for … | |
Ok so here's the thing my classmate did a very good html file...this is the basis of the design of our homepage...there is a part where I should put the news on a collapsible group blah blah..i need help Here's the query to show news and events(nevermind the paginator Im … | |
i want to show a video from a url that its stored on the database. What am i doing wrong <object width="620" height="320" data="<?php echo $profileurl;?>"> </object> the string works because when i use it it appears e.g. https://www.youtube.com/watch?v=DbVkiN0Zip4 | |
I downloaded daily build and did python3 setup.py build and then python3 setup.py install So far so good! I tried import wx and no errors I tried to run the program [here](http://wiki.wxpython.org/Getting%20Started#Getting_started_with_wxPython) and all I got was the error below. Have anyone got wxPython working with Py3 especially on Linux … |
The End.