199,114 Archived Topics
Remove Filter ![]() | |
I have this code here and I need to know how to make it randomize the amoutn of images there are: Currently it shows the images, and uses a cookie so the image doesnt show up more than it needs to, but i need to randomize the image order instead … | |
I was wondering if anyone had any experience with Cloudflare and what you thought of it? A *LOT* of big sites are using it, and from what I'm hearing, it's really good at caching entire webpages at the DNS server end without ever having to hit your web servers. However, … | |
<html> <body> <?php $username = 'root'; $password = ''; $hostname = 'localhost'; //connection to the database $con = mysql_connect($hostname, $username, $password,'contactmanager') or die('Unable to connect to MySQL'); echo 'Connected to MySQL<br>'.'<p>'; mysql_query($con,'INSERT INTO Personalinformation(Name, YearOfBirth, Email,Location,PhoneNumber) VALUES(Peter,2008-03-05,peter@hotmail.com,kasland,0269015748)'); mysql_close($con); ?> </body> </html> | |
suppose i have a account in a website, and i want to see the users who are members of this website, and my name is also listed there, but i want to remove my name from there, from my account, i can see others name without mine, and this will … ![]() | |
I am seeing some solutions using re, out there on the Interwebs, but not what I want. I want to match several strings with partial content of a list item. # as an example of one of the rows in a csv file hostlist=[192.168.10.17, postgres12, "Red Hat 4.3", "broken"] #pseudocode … | |
I want to create a form wizerd or a multi step form, there is a continue button to step forward, `<button type="submit" name="continue" onclick="return validateNow();">Continue</button>` and a previus button to step backward, `<button type="submit" name="continue" value="< Back">Previous</button>`, button type must be in submit format, because i have php in this … | |
Hi, I want to get the file owner on windows machine using python script. Is there is any way to do that . Please help Thanks, Kamal | |
I'm actually running a system using visual studio 2006 professional edition but i can't load it because of the po up erro activeX component can't create the object? What will I do? I'm using a windows 7 64 bit OS.. | |
I am writing a program that needs to know the type of constants. I am wondering if there is any way of getting this in java? Like for constant "2" type is int and for "2.0" type is double. | |
Hello, I am trying to start implementing functions from a class into my Calculator just to get used to the idea of it. when I tried calling for my min max functions into my calculations function it is spitting out an error arguement of type "float" is not compatable with … | |
Hi I have a issue in print data directly from clicking print button. Below is my code and working fine. if click print button system sends the data to another page not to printer directly. pls help me HTML page <style type="text/css"></style> <?php include '../templete/header.php'; ?> <Script Language="javascript"> function change_action() … | |
Can any one try to guide me through the installation of APACHE AND PHP SERVER with A DATA BASE connectivity.I am currently using WINDOWS 8 64-bit as my OS. I tried so many ways of installing.But couldn't find any way to it. I hope this forum will help me out … | |
well first of all i cant figure out how to move the first letter to the end but before i fix that i need help figuring out why the else branch is being totally ignored. even when the conditions are met for else It still gives me the result in … | |
![]() | Like for example Myspace.com I right clicked and clicked on save as. It saved two Items one a website shortcut and the other a folder filled with. Jpegs Images PNG Images Gif Images JScript Script File Cascading Style Sheet Document PLI File Some Internet Shortcuts - HTML Documents FLOW FILE … |
I need a voice of experience. I am working on a project for school. My project is a small B&M store. I am coding in VB .net I have an Access database with 3 tables - Inventory, SoldInventory and Sales. I need to create a simple POS. I would like … | |
Hello Community, I was wondering if getting an SSL certificate be worth it for my new website it the website doesn't store users personal details all it will hold is users links that would be counted but the thing is i don't know if it would be worth it or … | |
I am attempting to encrypt and string and then decrypt it. I have the encryption part working, but when I try to decrypt it gives me an InvalidKeyException and says that it is missing parameters. Here is the code import javax.crypto.*; import java.security.*; public class Cryption { private Cipher c; … | |
I have created the Colour Dialog as much as I can and have been told that might be helpful but everytime I try to use it in my program I have, which is a basic version of MS Paint, it crashes. Private Sub butCColor_Click(ByVal sender As System.Object, _ ByVal e … | |
Hi All - I am trying to find a solution to the following I am trying to update a form with checkboxes and to compare the value of the data variable $active from the db and if the value =1 then make the checked value as checked if = to … | |
hi we have an office chat messenger in our office, it is executable, and ofcourse cannot modify the codes already. i dont know exactly how this messenger save history, looking from its root folder, i cant see something related from its conversation or message history. I just need to save … | |
the data file contains: 1908,Souths,Easts,Souths,Cumberland,Y,14,12,4000 1909,Souths,Balmain,Souths,Wests,N 1910,Newtown,Souths,Newtown,Wests,Y,4,4,14000 1911,Easts,Glebe,Glebe,Balmain,Y,11,8,20000 Each line represents a season of premiership and has the following format: year, premiers, runners up, minor premiers, wooden spooners, Grand Final held, winning score, losing score, crowd What I need is to display a list of Grand Final held as 'Y'. … | |
hi I want to create an application which contain servlet and jsp and also connected with database but i only want that login page will be open from 05:00hr to 10:00 hr before and after nobody able to access/login the page if they do that it reject the request how … | |
In interview i faced the problem with this program finally i lost that oportunity,i am trying for that code to solve almost for a month ,i can't get get that one, plz help me i can't solve the program upto now. the program was........... he gave me a big String … | |
hi all i want to change my wordpress site category url. now its like this mysite.com/?cat=1 ,but i want to change it like this mysite.com/?category=sports . i dont know how to make this. pls help me to do this. tnx in advnc | |
hi, how to convert db table column datatype from varchar to binary(16) in sql server 2005? thanks | |
Hello to everyone, I Have a table inside 2 div's and I need to get the tables id! How can I do this by javascript? | |
This works in C++ Builder: int chcolor; for(int d, d < 5, d++); { String name = "d" + IntToStr(i+1); TLMDSpeedButton* button = dynamic_cast<TLMDSpeedButton*>(this->FindComponent(name)); chcolor = random(6)+1; switch (chcolor) { case 1: button->Color = clRed; break; case 2: button->Color = clSilver; break; case 3: button->Color = clBlue; break; case 4: … | |
Hi , i would like to include a normal conventiional function in to my obcetive c project. I have tried putting the body of the function outside the implementation section , inside the @implemenation section. I know it wont be part of the class i'm defining , but do i … | |
Hi everyone, I'm working in a project where its required a dynamic insertion of a grup of 3 textfields where one hiels dates. So far I manage to do the insertion part, but Im still with the problem of jquery datepicker only working right on the first(original) textfield. I notice … | |
so I've been looking for a good forum to post to frequently that would help with me problems in my programming if I come across them. Well, this looks like as good a place as any, so I figured I'd let you guys know that I'm a beginner programmer and … | |
hi all; how can i clear paypal after a user has logged out and the session is destroyed` any help would be appreciated thanks ![]() | |
Hello everyone I'm using VB.Net and I have a database contains two tables "Personne" and "PersonneCopy" ( Same schema as Personne [4 columns = N°, FirstName, LastName, B_Day]) I load the first table in a Datagridview all it's fine with that, here's the code: Dim Connection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data … | |
hello! i have here a code <?php include("include/session.php"); ?> <?php echo $session->username; $sql = "select * from employee where fname like 'pedro'"; // CONNECT KO TO DAPAT SA FORM KO NA SEARCH-FORM $result=mysql_query($sql); $num=mysql_num_rows($result); $row = mysql_fetch_array($result); //mysql_close(); if($row) { $i=0; while ($i < $num) { $empnumber = $row[0]; $fname=$row[1]; … ![]() | |
hey, fellas.. I was gonna make a simple website.. Which somehow explains you about the readystate exchange,. But i am not getting the desired ouput. Please help me out.. I am ginna upload the codes, of the javascript and the html file.. the javascript file {a.js}: http://codeviewer.org/view/code:33b6 _______________________________________________________________ the html … ![]() | |
Yes, I know what I'm talking about. which is Creating my own compiler to compile a language say C++,Java,Ruby, Python ..(Any one of them ofcourse -.- ) Actually, if I can just get the source code for an existing one that would be much better. [example] Say there's Turbo C … | |
I am trying make a linkedlist remove() method. It only works half way. When I try to remove a number, it removes the whole right side. For example here is the output: ` before remove: 8,7,3,5,2, after remove: 8,7,` How do I get it so only the three is removed? … | |
hey guys I need help with this I have no idea how to work this out please help me with like atleast the starting coding i am trying to google too but i cannot find any info on this. ***"char * copyString( const char * s ); copyString returns a … | |
Hey guys! It's been a long time since I visited daniweb,but I need some help understanding something.A friend of mine gave me problem to solve, but the assignment is strange,I can't seem to find the actually meaning of what I need to generate as an answer.Here goes: By a given … | |
I am doing code for CAESAR CIPHER. I need to built a histogram or frequency distribution for the output. I thought that finding out the frequency of the ASCII code, then print the frequency with * by using loop. But my code din't have array, can't do ++freq[c[i]]. I have … | |
I have two array's Array1[1,3,5,7,4,0,8] Array2[1,5,8,3,4,2,9] What I would like to achieve is an output count = 3( three of the numbers 3,5,8 from Array2 are in Array1 but in the wrong place) using Math.min. Can someone explain this process to me please. Thank you | |
Dear All I have 7 columns of yes/no data type I want to show them in datagridview in checkbox form. I have written this code where I am showing some values from database to datagridview with a column having check box. I just want to show databse value in Under … | |
I'm making a word descramble program for http://www.hackthissite.org/missions/prog/1/ . I think I have a lot of this code correct but I dont know how to read each indivdual character in the scrambled string and compare it to the letters in the unscrabled string from the word list. #include <iostream> #include … ![]() | |
Hey guys, I recently completed a program for my boss which simulates a brute force hacker in that it hacks a password by trying every possible combination of ascii characters until it finally discovers the password. I'm new to Java and I drew up a logical, straight forward way of … ![]() | |
I have created a application which connection to sql server database as well as oracle database The application is working fine at my end And to connect to oracle i used following namespace using Oracle.DataAccess; using Oracle.DataAccess.Client; But when i run the application on user end It gives following exception … | |
![]() | Hi folks, It's a bit unusual for me to post in the javascript forum but I'm after a bit of assistance if possible. **The scenario:** I have a form with text input box for a user to enter a 'quantity' in. This can be anything from 1 to 99. When … ![]() |
![]() | I bought this eBook called Programming Python O'Reilly 4th Edition 2010 And people told me to start out with Python instead of C, cause C Is for experiance users, at the moment I have no knowelege In programming, only know the basics :) |
Hi, everyday I get a xml file that looks something like this: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <account-information report-date="2012-12-31T23:59:59.000+01:00" xmlns="http://www.XXX.SE/XXX"> <account> <account-number>00000001</account-number> <status>Open</status> <application-array> <application-type>NEW</application-type> <application-date>2013-01-11</application-date> </application-array> <application-array> <application-type>TOP</application-type> <application-date>2013-04-18</application-date> </application-array> <account-information-type> <first-name-main>John</first-name-main> </account-information-type> </account> </account-information> Today I import each account to our db with only the latest application-array (application-date). The … | |
{ global $wpdb; $category_id = $wpdb->get_var("SELECT term_id FROM $wpdb->terms WHERE name = '" . addslashes($category_name) . "'"); return $category_id; } function shorten($string, $wordsreturned) { $retval = $string; $array = explode(" ", $string); if (count($array)<=$wordsreturned){ $retval = $string; } else { array_splice($array, $wordsreturned); $retval = implode(" ", $array); } return $retval; … | |
Hi I am trying get a query to join 2 tables and a result on the information in both. At the moment I have the following $query = "SELECT * FROM TABLE1, TABLE2 Where 'TABLE2.field1' LIKE '%TABLE1.field2%'"; The problem is TABLE2 has a field with names in but TABLE1.field2 has … | |
I got this problem when open this files,how to solve this problem? Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/indomari/public_html/administrator/includes/connect.php on line 64 this code locate at line 64 <?php set_time_limit(0); if (isset($_POST["scan"])) { $url = $_POST['traget']; echo "<br /><span class='start'>Scanning ".$url."<br /><br /></span>"; echo "ReSulT:<br … |
The End.