No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
59 Posted Topics
Hello, I've been in the process of teaching myself C++, going through different tutorials and like. Anyway I was working on a fibonacci sequence program - I looked through the practice problems here and decided to do them all from beginner on upward. I thought I had it working only … | |
I'm really having a hard time understanding this stuff and all the examples I find online just aren't starting from a place that makes sense to me. I missed my lab last week and the prof suggested those of us who missed it should go through the lab anyway because … | |
Hi there, I'm dynamically pulling my sidebar image from a database, the image is resized to fit based on which dimension is smaller. Then I'm using a jquery script to reposition the image so that any overflow on the width overflows both sides rather than just on the right using … ![]() | |
Okay this is strange. I'm new to AJAX and I'm trying to use it with php to check a variable from my database before a form is submitted. It works almost fine. The strange part is that it seems to be saving anything I enter into the text field. var … | |
Hi there, I'm currently rewriting my dynamic urls using mod_rewrite which is working fine. I'm just wondering how best to handle pages that don't exist. Right now it works by getting the page id and displaying the content, if the pageid doesn't exist it displays a custom 404 message. What … | |
I realize this probably isn't something that can be done, or probably something that shouldn't be done. But here's my situation. Perhaps someone knows of a better way to go about it than I do. I have two sections that both have logins. Admin and Members. Some Admins can access … ![]() | |
Hi all, I'm having issues with PDO. I'm rather new at using it, I learned php in school and now I'm learning PDO in the work place. Not terribly difficult but I'm running into a looping issue. I have things set up this way. We have events, documents and usergroups. … | |
Hi there. I have a menu which is toggle-able with jquery. By default it's hidden until the menu link is clicked. What I've been asked to do it make it so that when the user clicks it open it stays open from page to page. I'm assuming some sort of … | |
Hi there, I'm trying to create a button that toggles an sql query. I have a navigation bar with certain elements hidden by the admin, the admin can preview the page and there's a toggle button to hide or show the items that are marked as hidden. $sql = "select … | |
Hi there, so my site has a public side and an admin side, the admin side which requires a login. The used id is stored in a session variable to limit access to certain features based on the number. In the admin side a user and show or hide pages … | |
I have an HDTV (37" I think, not sure of the native resolution on it) and I want to be able to hook my external hard drive up to it so I can watch the movies and shows I've ripped on it. Now I could do this through my laptop … | |
Hi all, so I'm using mod_rewrite with .htaccess to rewrite my urls. RewriteEngine on Options -Indexes RewriteBase / # Disable rewrite for specific directories RewriteCond %{REQUEST_URI} !^/admin/ # If the request is not for a valid directory RewriteCond %{REQUEST_FILENAME} !-d # If the request is not for a valid file … | |
Hello everyone. So I've been dabbling with mod_rewrite and I've run into a snag. I'm taking www.example.com/index.php?id=news and mapping it to www.example.com/news Now my problem is that I already have a news directory in my file structure and it's defaulting to the index file found there. What I'm trying to … | |
Hello. So here's the stitch. I was asked to modify some existing code to only prompt the user to save changes when a change was actually made and not every time the new page button was pressed - which was what it was currently doing. I've ran into a bit … | |
Hi there, I'm trying to modify a form verification script. When you press the submit button it runs a javascript function that checks if the required fields are filled out. If not it sends up an alert and doesn't submit the form. What I'd like to do is have it … | |
Hello all, so I was tasked with looking into a way to rewrite our dynamic url's to something more user and seo friendly. I have absolutely no exprience in this area so it's been a lot of googling and trial and error. However; I've reached something of a wall in … | |
Hello. So I'm a junior web developer at an marketing company (and when I say junior I mean I'm not techincally entirely qualified for the position and overly a large learning exprience :P So bear with me here). Anyway, I was asked to look into a way to rewrite our … | |
I'm a total noob to using mod_rewrite and I'm reading tutorials and trying to wrap my head around it but it's not quite coming together. What I need to accomplish is this: take a bunch of urls structed this way: yoursite.com?index.php?id=# and rewriting it so it becomes yoursite.com/whatever depending upon … | |
Hello all, I've hit a wall in googling for the answers I seek so here I am. I'm new to SEO and I'm doing some research on the subject for my employer in the hopes that this is something I can learn and hopefully handle for the company. I was … | |
I'm wondering if any Dreamweaver users around can help me out. I'm new the program, having done most of my programming in Notepad++ until my new job and there are two features of Notepad++ that I would really like in Dreamweaver but can't seem to find if they exist (which … | |
Hi everyone, so I recently got a position doing web development. Yay. However; web development was not the focus of my schooling and they've hired me with the idea that will learn. In that vein I'm looking for some good online resources or reference books in any of the following … | |
I swear I used to know how to do this ... so I have this array: BYTE bcdData[6]; and a function that returns it: [code] BYTE * BCD::GetBcdData() { return bcdData; } [/code] and I have this other array in another class: BYTE tpIdByte[2]; And what I am trying to … | |
Hello, I have been tasked with writing a test application to convert between geographic coordinate systems. Now math is not my strong suit but I was assured I wouldn't actually have to do any of the calculations since the formulas are provided. The trouble is trying to get the lengthy … | |
Hello all, I'm trying to modify some code but I'm having some difficulty - probably because I don't really understand the function in the first place. Its one my supervisor found online that seemed to work fine for the purposes of our test code. However; after some poking around its … | |
Re: My suggestion, since GIMP is free, would be to download it, play around with for a while - see if you can do everything you want to do with it (there are a lot of different plug ins you can download for GIMP, such as one that will allow you … | |
Hello. I have a simply php script for my school project that checks books back into a library database. What I was trying to accomplish was when you checked in the book for it to check and see if the book has been requested and notify the librarian that there … | |
I'm finding that my session variable isn't following through from script to script. I'm creating a library database for school and I want the administrator to be able to open user accounts and view the details. This works fine. I then set the account number as a session variable for … | |
I'm having a weird problem with myphpAdmin and webpage design. I've been having trouble getting my layout to do what I wanted to so finally I hit the net for examples I could tweak and what have you. So I found this example [URL="http://www.sebastiansulinski.co.uk/demos/three_column_layout/three_column_layout.php"]http://www.sebastiansulinski.co.uk/demos/three_column_layout/three_column_layout.php[/URL] I used the div layout as … | |
My google foo is failing me, try as I might I can't seem to word things well enough to find what I want. I'm really new to javascript and AJAX, we did a little in school and I didn't really grasp it well. Given that this undertaking of mine is … | |
My code is not behaving as I would like and I think I've just been looking at it far to long to find the errors. Its for a library database for a school project (its sort of an independent study so I don't have an instructor to bring it to) … | |
Hello all, I've been using Chrome to develop a database website for a school project and I've been having a couple of issues. The first being refreshing. When I logout or login I have to refresh the page for it to pick it up. Or if sometimes I'm logged in … | |
Urg, I will so happy when I'm finished this project, I feel like I'm spamming you guys every couple of days. So I have a couple date values in my tables. And I'm trying to do some calculations with them. Which are working fine. But I'm retuning the number of … | |
Hello hello. What I'm trying to do is show or hide div layers based upon the previous URL. I have a user panel for a library database project for school that lists all the books a user has out as well as fines, user info etc. When I go to … ![]() | |
hey there, what I want to do is transform search results into hyperlinks. This part isn't really the hard part I don't think. But what I would like it have a generic details.php page which would bring up everything associated with the url you clicked. For example, my database is … | |
So I have this table checkout([U]cardNumber[/U],[U]libraryID[/U], checkoutDate, checkinDate, dueDate) that holds the checkin and checkout information for books in a library database. The trouble is I only now realized that with this set up a cardholder can't checkout the same book at a later date. I've been wracking my brain … | |
Hi there. I'm having a problem getting values from a drop down to insert into a table. What I want to do is get the key for the value and then insert that. For example: I have a table called format which holds an auto incremented ID key and a … | |
I'm having trouble getting my queries to insert properly. this is my table structure books(ISBN(pk), authorID(fk), formatID(fk), publisherID(fk), titleID(fk), yearPublished) the ISBN and year are past directly via a form but the foreign keys are all auto incremented in their own tables. I was trying this: [code] mysql_query("insert into authors(authorName, … | |
I think I realized today that I've been going about things entirely backward. I've spent the last little while trying to use software to generate an ER diagram for me from my database only to find that the relationships weren't being created in the diagram. After a little googling I … | |
I'm trying to create a database for a public library and I'm running into a snag when trying to formulate my tables based on the requirements I've come up with. Authors • Write books • Have publishers Publishers • Publish books • Have addresses and phone numbers Books • Have … | |
Hi there, I'm having a problem getting values inserting properly. What I'm doing is inserting values into a table with an auto incremented key, I then use select to return this key and then I want to insert that into a few more relation tables. But its inserting 0 instead … | |
Hello I'm have this idea for a part of the database I'm building but my javascript knowledge is lacking entirely (I'm a software engineering student and we touched on javascript once and I barely remember anything we did). I have a form where a user is entering the details for … | |
I;m trying to move a database created with WAMP from one computer to another. I've exported it as a .sql file and imported it by creating a new database and then importing into it. The problem I'm facing with this approach is that none of the data in the tables … | |
Hi all. I'm working on a database for school and I'm working between two computers, my laptop at home and my desktop at work. Now my code works fine on my desktop but when I moved it over to the laptop the two drop down select boxes aren't being created. … | |
Sorry its a lame title. Not sure really if this should be hear or over in the sql section. I know what I want to do but I'm blanking on how exactly to go about it. I'm inserting book titles into a library database and what I'd like it to … ![]() | |
Hi, I'm having a little trouble figuring out how to show some of my relationships in an ER diagram and was hoping for some help: Authors([U]aID[/U], aname, abio) Books([U]bID[/U], title, summary, quanity) Format([U]fiD[/U], formatType) hasFormat([U]fID[/U],[U] ISBN[/U]) bookFormat([U]bID[/U], [U]fID[/U]) libraryBook([U]libRef[/U],[U] bID[/U]) Section([U]sectionId[/U], sectionName) Cardholders([U]cardNum[/U], cname) Address([U]addID[/U], streetName, City, PostalCode) cardholderAddress([U]cardNum[/U], [U]addID[/U]) … | |
I know everyone and his cat has one of these up but I'm just so stuck... I mean in theory I think I understand normalization and then I get down to it and I just... don't. I've been googling and looking through examples and I'm ready to tear my hair … | |
Hi there, I'm having trouble figuring out the setTimer function. Does anyone know for an example of using it in a non-MFC application? I mean something simple like printing 'Hello World!' every 5 seconds or something just so I can get a better idea of how its all supposed to … | |
Hello, I haven't done any work with reading or writing from/to files in C++, I think we did some C in school but its all a little fuzzy at this point. What I need to do is store the values for a couple different functions in a text file, have … | |
Okay this feels like a really silly question. Values that I have set to private should be able to be used through out that class alone, yeah. Say I have this: [code] #include <iostream> using namespace std; class Telegram{ public: Telegram(); ~Telegram(); void getData(); private: int **telegram; int rows, cols; … |
The End.