126 Discussion / Question Topics

Remove Filter
Member Avatar for rotten69

Hey everyone, I have posted a couple of threads looking for a plugin that gives some of the features of CakePHP if not all. However, the threads were going dead. I'm just looking for a good editor that is going to provide me an auto-completion code like HTML helpers, functions …

Member Avatar for diafol
0
736
Member Avatar for rotten69

Hi everyone, I consider myself as a java beginner because I haven't been involved in a lot of projects. I'm opening this thread to raise awareness that we don't have java projects thread primarily for beginners and it could help advanced java programmers in terms of practising their java knowledge. …

Member Avatar for renato.francia
4
870
Member Avatar for rotten69

Hey everyone, I have got a Sony laptop that stops working and starts showing me this line "Operating system not found" when booting up. I entered the BIOS to check out something after I tried re-installing Win7 but I discovered the internal hard disk not being recognised and it said …

Member Avatar for rotten69
0
176
Member Avatar for rotten69

hi there, I'm experiencing a problem with the keyboard on my laptop. So what happens is that when I start typing really fast, the cursor goes somewhere else and doesn't stay at the end of a line. Any idea on how to fix this problem? Thanks

Member Avatar for rotten69
0
144
Member Avatar for rotten69

Hi everyone, I've just installed ubuntu 10.10 LTS and it is giving me an error that it can't update packages because this version isn't supported anymore. Is there a way of fixing that? If not, I think I'm downgrading to ubuntu 10.4 which will be supported until April 2013. It …

Member Avatar for Nutster
0
357
Member Avatar for rotten69

Hi everyone, we were taught about Generics and Interfaces at uni and I wasn't sure what the perfect situations are to use interfaces because they don't have implementation in them so they work as a contract to other classes where everyone can implement their methods as long as they extend …

Member Avatar for Ketsuekiame
0
160
Member Avatar for rotten69

Hi there, Today, I had a chat my lecturer about instance methods and static methods. I thought you make methods with static modifier (let me know in the comments below if I'm wrong) if you want to access them without creatng an instance of the class which they're defined in. …

Member Avatar for ChrisHunter
0
166
Member Avatar for rotten69

Hi everyone, I'm learning C# at the moment and really enjoying it. I'm wondering though how I can develop my own algorithms. do I need to read on data structures and algorithms? Is there a book for all programming languages so you can apply the knowledge to basically any programming …

Member Avatar for ddanbe
0
222
Member Avatar for rotten69

Hi there, I've been reading a book on c# and come across a method that is EnsureCapacity on StringBuilder which from understanding it makes sure that how much capacity a variable can hold. What I made is a variable and then tested it. StringBuilder st = new StringBuilder("string builder"); // …

Member Avatar for rotten69
0
261
Member Avatar for rotten69

Hey everyone, I'm wondering why my reputation points don't go up when people give my posts in thier threads a vote-up. Cheers,

Member Avatar for pritaeas
1
564
Member Avatar for rotten69

Hi there, I'm reading a book on Javascript and trying to understand a few concepts that are about hasOwnProperty(), propertyIsEnumerable() and isPrototypeOf(). I don't understand when and how these methods are used. That would so appreciated if someone can explain them to me in a nutshell. This example is from …

Member Avatar for rotten69
0
178
Member Avatar for rotten69

Hi everyone, I am trying to compile a sencha touch 2 project to build an android app but it doesn't compile fully and successfully. When I run this command, `sencha app build native` targeting android/iOS platform. The error I get is as follows below: [WRN] [ [1000] : Yui Compressor …

Member Avatar for rotten69
0
375
Member Avatar for rotten69

Hey folks, I am running into a really good function in JavaScript but I wonder how it is used. I've done a bit of search on how it is used and have seen examples but none of the examples seem to work for me anyway. it throws an error at …

Member Avatar for rotten69
0
228
Member Avatar for rotten69

Hi there, am I doing something wrong with the if-statement? it either doesn't evaluate the conditions I've got in there or throw an error. $('button').click(function(){ var button = $($(this)).text(); console.log(button); // this logs the value of button as night or day depending on the button I click if(button == 'day'){ …

Member Avatar for AleMonteiro
0
329
Member Avatar for rotten69

I deleted some of the MSI Files and wasn't sure that they had affect on the installed programs. Now, I can't remove any program from the OS and some programs dont display their icons. is there a program that checks for any missing MSI files and download it possibly? I'm …

Member Avatar for JorgeM
0
138
Member Avatar for rotten69

Hey everyone, I have just uploaded my php files onto a free hosting server and tried to access the website. I got this error " mysql_fetch_array() expects a resource in parameter 1" or something like that. By the way, the files did work on my local machine. What is the …

Member Avatar for paulinetaylor85
0
195
Member Avatar for rotten69

Hey everyone, I haven't recently done my research on this yet. I can recall from memory that I did some short research on storing images in a database and also had some questions answered in the forum about it. Additionally, I was told it is not a good practice to …

Member Avatar for diafol
0
164
Member Avatar for rotten69

Hey everyone, I'm having a trouble with the navigation bar when redirecting users to other pages. For example, if a user logs in, then they will be redirected to the main page (mysite/index.php) but the url displays as mysite/login.php which is the pure PHP script that doesn't contain any HTML …

Member Avatar for rotten69
0
230
Member Avatar for rotten69

Hi there, I have been trying to fix the problem in the below code for a long time, it did work for me at some point. Then, it suddenly stopped storing user's details in a session. $user = $_POST['username']; $pass = $_POST['password']; $query = "SELECT username, password FROM USERS WHERE …

Member Avatar for diafol
0
211
Member Avatar for rotten69

Hey guys, I don't see anything wrong in the function but mysql_result is complaining about the parameter value passed to it. function question_exists($question_id){ $question_id = (int)$question_id; return ( mysql_result(mysql_query("SELECT COUNT('id') from `posts` WHERE `id`=$question_id"),0) == 0) ? false : true; // if the question doesn't exist (equal to ZERO) then …

Member Avatar for rotten69
0
132
Member Avatar for rotten69

Hi everyone, I'm making my first jQuery mobile app and using a fixed bottom navbar. But the app is acting a little weird. When I tap the background twice, the navbar disappears or moves up a little. how can I fix this problem?

Member Avatar for rotten69
0
129
Member Avatar for rotten69

I'm using jQuery for mobile and making the app show users a dailog box to let them enter their credentials when they want to log into the app. Ok. it redirects them to the home page but the url stays as mysite.com/login.php rather than mysite.com/index.php This removes the menu bar …

Member Avatar for rotten69
0
168
Member Avatar for rotten69

Hey there, I'm just having a tiny problem with this function. the toggle function works fine but what I want to do is to display the date whenever particular buttons are clicked or active. function showDate(element){ if(element == "#selection3" || element == "#selection4"){ document.getElementById("dateinput").style.visibility = "visible"; }else{ document.getElementById("dateinput").style.visibility = "hidden"; …

Member Avatar for rotten69
0
291
Member Avatar for rotten69

Hey everyone, I'm having trouble to get this code to work as I wanted. My application is running on the top jQuery for mobile framework. The message I'm getting is this "undefined". I enter the right username and password but don't know what is undefined. <?php include('funcs/connector.php'); $port = new …

Member Avatar for rotten69
0
122
Member Avatar for rotten69

hey guys, I don't seem to understand why this code is throwing a type error at me. It is saying the variable is undefined. The error I'm getting is this **TypeError: datasplits is undefined datasplit2s = datasplits.split(":");** var urlphp = 'ajaxgamesperday.php?&start_date=' + startDate + '&end_date=' + endDate; $.ajax({ url: urlphp, …

Member Avatar for rotten69
0
172
Member Avatar for rotten69

hi there, I just have a few questions about HTML5 and one of its features that is geolocation. My group members and I are thinking to develop a social-networking IOS application that lets you check-in only if you're using a mobile phone. The core idea is that if you're at …

Member Avatar for chrislim2888
0
284
Member Avatar for rotten69

Hi there, I'm supposed to integrate different sources of data into one database. I am given these types of sources: * .txt * .csv * .html * .xls * access file as well. what attributes should I be looking at to construct a global schema because all of them have …

Member Avatar for debasisdas
0
159
Member Avatar for rotten69

Hello everyone, I'm just wondering if there is another of calling functions in a different php file without making the app run strangley. So what I have got are a few forms without specifying their action. <?php 1- checking for the fields 2- if they are not empty and so …

Member Avatar for adam.adamski.96155
0
208
Member Avatar for rotten69

Hey everyone, I'm just wondering how the read more feature is achieved in PHP. It is like facebook where it displays a couple of lines then if you're interested in reading more about the status or article click 'read more link' which expands the box. Cheers,

Member Avatar for JorgeM
0
148
Member Avatar for rotten69

Hi everyone, When I purchased my hard drive, its size was 1TB. Iformatted it a few times and I don't know why and how it has lost 70GB. Is there a way that I can get it back up to its original size? if yes, Will I be able to …

Member Avatar for technoknol
0
2K
Member Avatar for rotten69

Hey everyone, I'm using sessions in my application which retrieves the questions and answers asked by users. The tricky part here is how I can know how to allow users that they can edit and delete their own posts. As far as it is concerned, I have got this idea …

Member Avatar for broj1
0
178
Member Avatar for rotten69

Hi everyone, I'm sure there are people who are using highCharts framework. I'm having a trouble passing the values to jquery code from PHP json. Your help is so appreciated. This is my php section <?php header('Cache-Control: no-cache, must-revalidate'); header('Expires: Mon, 01 Jan 2013 00:00:00 GMT'); // The JSON standard …

Member Avatar for rotten69
2
418
Member Avatar for rotten69

Hey everyone, I was doing a search on good tutorials on how to use the mail function. I thought it would be as easy as what PHP api tells me how to use it. I stored the value of mail() in a variable if the variable is true then I …

Member Avatar for rotten69
0
245
Member Avatar for rotten69

Hi everyone, Has anyone had this issue that I'm having ATM? It is about getting the website to function properly using jQuery for mobile for UI. OK. When I added jQuery for mobile in the files, the behaviour of my websites is changing. It basically makes the website not function …

Member Avatar for rotten69
0
131
Member Avatar for rotten69

Hi everybody, I'm wondering where I went wrong. The idea is I'm trying to get data from the database and display in this format Question 1: Answer: Answer: Answer: Answer: Question 2: Answer: Question 3: No answers etc.. foreach($posts as $post){ $id = (int)$post['id']; $comments = get_comments($id); //getting the answers …

Member Avatar for rotten69
0
356
Member Avatar for rotten69

Hi everyone, It is just a really serious concern about a feature. Everytime I post a thread, I'm asked to share it on social media networks. It is really irritating. My message to the Daniweb management is that if you want to keep this feature then let users "us" to …

Member Avatar for Reverend Jim
0
312
Member Avatar for rotten69

Hey everyone, I'm learning how to use cakePHP framework. I'm just wondering that how one gets so familiar with a bunch of API's quickly. Do people memorise them at all? I ain't going to because I don't see the point in memorising some things that I even won't need to …

Member Avatar for iamthwee
0
172
Member Avatar for rotten69

Hi everyone, I just found something interesting in my code but I ain't sure why JavaScript. var input= 0; // But in my case, the input variable is getting the value from a field in a form if(!Number(input)){ document.write('it is not a ZERO'); } This is something similar to my …

Member Avatar for rotten69
0
148
Member Avatar for rotten69

Hi there, I've lost my password and username and am trying to log in using sysdba. It doesn't log me in and I would like to retrieve my username and password without re-installing the software. IS there a way of doing that?>

Member Avatar for rotten69
0
145
Member Avatar for rotten69

Hey everyone, I'm developing a web app for iPhones and hopefully, it can be rendered using an android device as well. I'm using HTML5, jQuery for mobile and cakePHP. Is there a way that I can convert my code to some other code that will produce a hybrid app? I'm …

Member Avatar for rotten69
0
121
Member Avatar for rotten69

Hi everyone! My questions for the day are: Has anyone here used Wakanda studio/server to make a native app for smartphones? if yes or know anything about it, Give us an insight please. Do you know any free and easy to use studio that lets you develop native apps using …

0
96
Member Avatar for rotten69

Hi everyone, I had Oracle working perfectly fine and was able to connect to 127.0.0.1/apex . After a fresh re-install, I couldn't access the page. I can manage to log into oracle database by using SQL command line. I'm running Oracle 11g express edition. The message I get when I …

Member Avatar for debasisdas
0
242
Member Avatar for rotten69

Hi everyone, I had an issue today with my hard disk(internal hard drive). I was trying to partition the C drive.Eventually, I successfully paritioned it then I was asked a question then I pressed yes. Here is the problem. Everything changed from primary partition to simple volume. I was not …

Member Avatar for caperjack
0
630
Member Avatar for rotten69

Hi everyone, I'm sure the update statement is well-written but for some reason Oracle sql command line is refusing to execute it. UPDATE myTable SET country = 'Aus' WHERE username = '"martin"'; // I know you can see single quote and double-quote as well. Well, names were inserted into the …

Member Avatar for rotten69
0
165
Member Avatar for rotten69

Hi there, Just wondering if there is a way of inserting tuples into a table without specifying the primary key id. insert into myTable (username, password) values (value1, value2); Ok. When I use the above mentioned statement, it complains about duplicate keys. Anyone know why? shouldn't the key be generated …

Member Avatar for diafol
0
115
Member Avatar for rotten69

Hi everyone, I want to get started on learning jQuery Framework.I got the basics of the JavaScript at this stage. But now, I don't know where to start with jQuery. Other than the jQuery.com website. Would you suggest easy-to-follow introductions to jQuery? Is there a big difference between jQuery and …

Member Avatar for iamthwee
0
306
Member Avatar for rotten69

Hey everyone, I'm posting this thread in this forum because I am not sure where else it should go to. Anyway, I'd like to straight jump to the question. I want to make the URL to my site look like mob.mysite.com. how do you achieve something like this? do I …

Member Avatar for rotten69
0
110
Member Avatar for rotten69

Hi everyone, I'm looking for the page that explains the rankings within DaniWeb community and shows how many posts are needed to move you up to the next level and stuff. Cheers!

Member Avatar for rotten69
0
449
Member Avatar for rotten69

Hi there, I would like to know what the differences between primitive string type and object string type are because I declared both of them and had a look the functions that I can invoke on them. They are the same functions. Can anyone explain the differences/similarities please?

Member Avatar for Taywin
0
174
Member Avatar for rotten69

Hey there, Why does the function compact not work for me? it is a function according to the javascript documentation. The problem is, however; if I add the brackets after it, the browser complains for some reason and it says compact is NOT a function. Also, with the function parseInt, …

Member Avatar for Taywin
0
1K

The End.