252 Discussion / Question Topics
Remove Filter Hello. Having some trouble figuring out a CSS footer issue. The footer should fill the page fully, not extend a horizontal scrollbar **and importantly**, not have a 3-5 pixel left gap. I've tried all I know to fix this. Here is the CSS for this: footer { float: left; min-width:100%; … | |
Yes, webpage size- Standard sizes? Dynamic? I don't know! I have been building websites since 2000 and the one area I have never, ever been able to fully understand is this topic. I need serious help with this. Explanations. My site(s) to render properly in any browser. **No horizontal-scrolling**. **I … | |
I am working with a form validation script; I am testing it first and all seems to work fine except for the email validation. This is a snippet of the script dealing with the email validation: else if(! eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email )) { $_SESSION['reg']['email']="Please enter valid email address."; For example, if … | |
[This is theoretical at this point - No code is written for this] On the project I am building (A forum of sorts) I will be the Admin: I will be the only person able to edit posts. Even the User, save for a 15-minute window (after posting), will **not** … ![]() | |
Hello. I am having a bit of trouble with being able to submit/record the data from a selected dropdown field to my DB. Here is what I know so far: 1. Connection to DB is fine; All other data fields are submitted and recorded to DB 2. The dropdown (To … | |
A simple problem with a simple solution, I suppose. I have researced it but do not quite understand it. **Problem**: I have a very nice script for a dropdown that displays country names and the associated flags for each country within a form. This works very well, but... Examples of … ![]() | |
To begin, I have not written any HTML/CSS in about 4-years, so in a sense I'm relearning. My issue at this point is this: I want my footer to span the length of the window. Simple enough; But, it is leaving an approximately 10-px gap on the left of the … | |
(Mods/Admin: Please move if in wrong area. Thank you) I am interested in hosting ads on my site, but I have no idea where to begin. Simply put, I want this to be a selective, semi-targeted process; Companies such as RackSpace, for example. I would not accept just anything on … | |
(I am not sure if this is the correct area for this thread - Admin/Mods, please more if necessary. Thank you.) Hello. I write a lot of code. I save many back-ups, that is, current versions of the code in case I need to roll-back. This can be quite tedious … | |
Hi, I finally figured out how to take a row from a table and display it on a page. Big deal, huh? That was not exactly my main goal, though. When a User submits a form I need *that data* to display. I've struggled with this. I now figure that … ![]() | |
**I want to report a possible issue/bug**: I just replied to a post, went to look at a tutorial link, came back to the thread I had created/just replied to, and the reply I made was gone (This has happened before). Basically, make a reply > leave page > return … | |
I am using mysql_fetch_assoc to retrieve and display an array; This is what I recieve upon loading the page: *Warning: mysql_fetch_assoc() expects parameter 1 to be resource* I have researched it and do not understand it. **Snippet* while ($row = mysql_fetch_assoc('$result')) { echo $row["emp_name"]; echo $row["emp address"]; } Thank you, … | |
*Yes, the reoccurring issue* I have yet to solve: Posting the contents (Saved to a DB) of a form to a redirected page. Everything works except the rendering of the form data on the redirected page. I've been trying everything that I can think of. I've been researching this for … | |
I call it "Compartmentalization", that is, taking a long .php file and breaking it down into smaller components; Seperate .php files. This will keep everything tidier, cleaner, more organized, reusable and I believe, more secure. **Example** (Not my code - Maybe not a *perfect* example of this idea, but for … | |
A simple question (One which I do not have the answer to yet). One small yet important aspect of my current project is collecting IP addresses via email registration/email confirmation. I assume seeing an IP is not difficult (User's email header?) **My question is**: *Is this IP the IP of … | |
Receiving this upon run: Warning: mysql_connect(): Host 'srv26.main-hosting.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' in /home/u871385583/public_html/ob_re4.php on line 32 NEIN! Host 'srv26.main-hosting.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' I am not sure about how to go about *flushing the host*, … | |
I am still working with redirection. **This** works great, but is not exactly what I need: <?php ob_start(); ?> <h1>ob redirect test</h1> <?php $redirect_page = 'https://www.google.com'; $redirect = true; if ($redirect == true) { header("Location:$redirect_page"); } ob_end_flush(); ?> I have spent all day trying to figure out how to use … | |
Hello. What I am planning to do for User registration in regards to agreeing to the EULA: 1)For example, there will be three conditions the User must agree to by selecting checkboxes - Only one condition displayed at a time. 2)Upon checking the first condition checkbox, the second condition appears … | |
I have been researching this as I am getting the distinct feeling I will have to transition my code to this soon, eventually. From your experience, can someone provide a brief overview of the benefits of MySQLi and why I should transition. Is it even necessary? I'm not sure. Any … | |
I am still working on the redirection issue (As noted in a previous thread here). I think I may have found a nice solution via a video tutorial on the subject. When running this test script, it should simply load google.com; The result though is a "Page not found" screen. … | |
*I apologize if this has already been asked/answered* I am have trouble with this, although I imagine the solution is rather simple: 1. User completes form and submits 2. Page either reloads displaying User-entered data *or* redirects to a *new* page displaying said data for User I have been trying … | |
After years of tumultuous shenanigans, I have returned to <DANIWEB>. I am primarily here to research and study PHP/MySQL. I look forward to my time here, helping others and getting help with my project(s). Note: I am formally known here from a recently-created, new account, **The_Thorn**. Regards, Matthew | |
Located in the upper, left-hand corner of the GUI window is a small "[COLOR=red][B][I]Tk [/I][/B][/COLOR]"; is it possible to get rid of this entirely? It is only a small detail, but a detail none-the-less that I wish to have control over in regards to the final product. I would also … | |
Recently my girlfriend's laptop "died", that is, it may be only the monitor but in any case, it is no longer functional. [U] My question is this[/U]: We would like to recover all data from the laptop hard drive without having to take the laptop to a shop to have … | |
I am working on a fairly simple site. At this point I am wanting to assemble 25 images on the [URL="http://stormtrooper.webng.com/"]homepage[/URL] which when assembled will form a [I]whole[/I] image (where each separate image will be clickable). I am only at the point of trying to getting the images arranged as … | |
**Note: I'm not sure if this is the appropriate area for this post-- please move if necessary. Hello. I am working on a small Macromedia Flash project, just learning more about Flash and getting acquainted with the Flash interface as well as Actionscript; my question is not in regards to … | |
Hello. I am completing work on a commerce website and have noticed a small but strange error that I cannot seem to remedy. Each page has a footer that contains text; of course, this should align the same on each page view, but the problem is as follows: Alignment is … | |
Hello. I have been following a great tutorial that I found regarding searching a database: Tutorial: [url]http://www.phpfreaks.com/tutorial/simple-sql-search[/url] When I used this and ran it from my server (doing a search of the database), I bookmarked the page; my question relates to the next step: When I return to the page … | |
I have read through the FAQ sticky regarding this topic (and have also searched/read here further on this topic) but I am still receiving the following error: [B][I]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/a4542527/public_html/index.php on line 8[/I][/B] The scripting for this is basic at … | |
Hello. I need some direction for the following problem (I am not sure where to begin my research): I essentially, using PHP and MySQL, allow a user to enter character data into a form, submit the form, and next have this data saved to the database, then a formatted version … | |
I am in the midst of refreshing myself on MySQL. The basics have been going well but I am having one issue. I have created a table with two columns and three rows. Next I added a third, null column, Price, which I now wish to populate with data, that … | |
Hello, I am brushing-up on SQL (using MySQL). It has been many years since I have worked with this and I'm having some trouble getting started. I have looked at a tutorial and entered the code below: [CODE]CREATE TABLE employees ( employeeNumber into(11) NOT NULL, lastName varchar(50) NOT NULL, firstName … | |
What is your favorite Daniweb word game? Just curious. ;) Mine is "Word Change Game". | |
I have one, reoccurring issue that arises each time I run this incomplete program I am working on; I have spent much time attempting to locate the bug. I am convinced it arises from a simple error. Problem: User has made a "deposit" but when the User makes a "withdrawal", … | |
I have addressed this problem sometime ago; I have either misplaced, misunderstood, or never received a response to this issue so therefore I am again attempting to deal with a Python issue: I am towards the end of a build, and I am dealing with button commands, something that was … | |
[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20532[/URL] | |
Languages: There are so many, and so many are just not right-- but does that matter? These and all coding languages amount to elitist, competitive shells easily brought down to a command-line yelling in binary. The aim is the same, the results the same, but the tongue speaking the output … | |
C-3PO, in the Star Wars movie The Empire Strikes Back, makes the statement: "Sir, I am fluent in six million forms of communication. This signal is not used by the Alliance. It could be an Imperial code." At times I think my compiler only communicates in "Imperial code". I love … | |
I am redesigning my girlfriends website and this time hope to use fluid layout. I have been doing research for some time now but I am not making significant progress. I am not new to web design, HTML or CSS but after my last frustrating attempt at a site (the … | |
This demonstration was originally proposed to be posted as a Python tutorial but with further inspection it was deemed more of a "how-to" guide, in this case, how-to create simple animation via Tkinter (Tool Kit Interface) All the necessary elements are included in the attched zip file. This includes: [LIST] … | |
[COLOR=Black]** I am not sure if this is the correct area for this post-- please move to correct forum if necessary-- thanks.[/COLOR] I am redeveloping the website for the company I work for. It is going along quite well but I have a question in regards to Flash; I have … | |
[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=21198[/URL] | |
I am a member of a QA/testing team for a software company in NYC. We have decided recently to begin the development of scripting tools to automate repetitive tasks used during our testing cycles. We have decided to use Ruby. Although we have admired Ruby from afar for some time … | |
[URL="http://www.cnn.com/2007/US/04/03/collins.commentary/index.html"]LINK[/URL] | |
[U][B]What, if any, online games do you play[/B][/U][B]?[/B] Myself: [LIST] [*]War Rock (great war simulation) [*]Maple Story (old-school, 2D, anime-style RPG)[/LIST]Matty D | |
I have always been a fan of FireFox. Not only a fan but a heated supporter of FireFox in comparison to Internet Explorer. Most of the time I felt very justified in this stance. Mozilla: less bugs, more plug-ins, a myriad of themes and customization. Robust programming. A challenge to … | |
Hi, I am developing a simple site and have (after it being recommended) been using CSS to handle the [URL="http://stormtroopr.webng.com/"]homepage[/URL] image display. The display consists of an array of 25 (95x95 px) images aligned to form one image. CSS has allowed me to display them just as I wanted (please … | |
Hello. I am new to Java and I am easing into this new language via some basic tutorials. I am using the Borland 2005 IDE; it is powerful and I quite like it save for that it seems [I]incredibly[/I] bulky, hogs [I]all[/I] resources, freezes, tries to shut itself down, etc, … | |
[B]Riddles: More challenges to make us think. [/B] [U]Rules[/U]: [LIST] [*]Post your answer\ guess [*]The person who solves the riddle correctly posts the next riddle to be solved [*]12- hour time limit per riddle (when this time is up anyone may post the next riddle)[/LIST] [I]Note: many riddle resources can … | |
[B][U]What are your five favorite albums of all times[/U]?[/B] This is a difficult question; for me this list changes yearly (at least) depending on what I am most into at the time, but I will try to determine now my five favorite of all time. My list is not in … |
The End.