- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
Besides living for Christ, being with family, friends or pets I like to do programming for fun.
- Interests
- God, family/friends, music, traditional/digital art, programming.
35 Posted Topics
Re: Why not put original mail process code between: [CODE]else if ($resp->is_valid) { //....mail process code goes here...before re-direction header("location:request_submitted.php?result=pass"); }[/CODE] The mail code itself, should not have any other redirection functions. As the line header("location:request_submitted.php?result=pass"); won't be called from the new page, unless the new page includes that line of … | |
Re: I'm guessing your HTML utilizes DIV containers, so using CSS, change the z-index of your containers. [CODE]#menu{ /*Other code bla bla*/ z-index: 1; position: absolute; } #map{ /*Other code bla bla*/ z-index: 2; position: absolute; }[/CODE] You will now need to specify height parameters for these containers, and they should … | |
Re: Since I personally don't like mixing PHP and HTML you can try the following edited code if you so wish. Compare with yours to see what was changed. Hope it helps. [CODE]<? //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","root"); //select which database you … | |
Re: Why did you not include actions in your form tags? Like: [CODE]<form method="post" action="<?php echo $PHP_SELF; ?>">[/CODE] action="<?php echo $PHP_SELF; ?>" calls the current php file. Also, why not validate that a button was actually pushed? In your button tag you've got grammatical errors to begin with, and you should … | |
Re: You need to create another column or entity that will hold a value to show whether or not the default password was changed. If you are working with a database (and not a text file or so) then you can create a new column for this, let's call the column … | |
Re: Hmm, strange. Maybe the browser or just..well I've never encountered such a situation so I don't know. I did build a quick page with a DIV with [I]ads[/I] included in it's class name. It showed. So CSS is not allergic to the characters ads bound together. Did you try creating … | |
Re: Why try to reach the basketball rim if the net cannot even be touched? I really hope these help you some in your project. [url]http://speed.cis.nctu.edu.tw/~ydlin/ieice.pdf[/url] [url]http://portal.acm.org/citation.cfm?id=1522692[/url] Good luck. | |
| |
Re: Please check this: [url]http://www.daniweb.com/forums/thread67312.html[/url] | |
Re: That usually occurs when IE has issues with the page javascript. In the page source code I see two main blocks of JS, one in the header, and another linked to an external file. Remove the big block in the header, then run the page again. If the error is … | |
Re: Hmm. Try storing the session in a database. Create a new column in your users table, call it [I]logged[/I] or something. Create another php file, that you'll include at the top of all your pages or so. [CODE]<?php include "sessionStore.php"; ?>[/CODE] Then add something similar to the following to the … | |
Re: What you might want to Google when it comes to IE6 and lower is to code css specifically for it. You'll need HTML conditional statements: [CODE]<!--[if IE]><style type="text/css">@import "css/IEstyle.css";</style><![endif]-->[/CODE] That calls all IE browsers, all the code is located in a IEstyle.css external file. [CODE]<!--[if lte IE 6]><style type="text/css">@import "css/IElt.css";</style><![endif]-->[/CODE] … ![]() | |
Re: Perform what kind of action? JS, PHP..? [CODE]<script language="javascript"> function doAction(){ alert("Hello World"); } </script> <a href="#" onclick="doAction()">Do action</a> <?php if ($_GET['act'] == "DoAction") echo "Hello World"; ?> <a href="myPage.php?act=DoAction">Do action</a>[/CODE] | |
Re: Depends on your HTML and or the effect you want your page to have. For instance you could just create one large image, (with your gradient at the top and the other at the bottom). Then in your css, you can define your background-attachment: fixed; That way, the background will … | |
![]() | Re: That might be because the value of act in line 19 is not equal to the conditional value in line 89. Change line 89 to [CODE]if ($action == "view")[/CODE] Does that help anything? |
Re: Have you ever tried to echo the results of $position and $val as $position determines $val and $val accounts for an id value which in turn accounts for what is to be deleted, it's good to know if the chain is broken. By the way, you should let 'HTML deal … | |
Re: Well, you can put the table in DIV containers and style it like: [CODE]<div style="height:200px; overflow:auto;"> <table> <tr> <th></th> </tr> <?php //Table looping rows here ?> </table> </div>[/CODE] The overflow sets scrollbars only when the data surpasses the height of the table. The method works in IE5.5+ so I guess … | |
Re: Hmmm. What programming languages do you know? There are many programs out there that does this stuff without any programming knowledge. Google web scroller or web gallery scroller. Otherwise, if anyone is going to do coding here, it's required that you yourself know something in the subject at hand. One … | |
Re: Line 68 of the subcategory function does not include a zip parameter in the url, so from self.location url, there's no zip for $_GET ($zip = $_GET['zip']; ) to get. So thus, on line 115, echo $zip will fill nothing for value because $zip was already set to nothing. Did … | |
Re: Add an extra data field in your page one table, say activation. (Or create a new table entirely with necessary three fields: ID, userID, activation, up to you) Give activation field a value that will represent whether or not page two was completed. Say 0, not completed, 1 completed. So … | |
Re: If the out put data comes from a database, then one can store the row IDs in html anchor tags. Then when the user clicks, sends the stored ID back to sql query for all other data retrieval. After using sql queries to get the data, you can output in … | |
Re: Hey, Try adding quotes ' ' or " ". Interesting that the others work without the quotes, as far as I am aware, that's php structure. [CODE]$label=$_POST['rulelabel']; $description=$_POST['ruledescription']; $course_1=$_POST['course']; $prerequsite_1=$_POST['prerequsite']; $errormsg=$_POST['errormessage'];[/CODE] You can use the php line to test the output. [CODE]echo $description;[/CODE] P.S You might not want to publicly … | |
Re: That's because the time values are not accumulated, but instead just re-initiated. Try addition operators. Example: [CODE]$Nss_timestart += $ss_timestart; // $Nss_timestart = $Nss_timestart + $ss_timestart; $time1 = "$Nss_timestart";[/CODE] Hope it helps, if it doesn't please post back for the profit of any one else who wants to know. ![]() | |
Re: I looked at your css file itself: I believe you need to remove: [CODE]padding:0px 0px 20px 0px; [/CODE] So that you end up with: [CODE] .galleries img { float:right; display:inline; /* fixes IE align problem */ text-align:right; }[/CODE] IE seems to be confused because you have this: [CODE].galleries { padding: … | |
Re: Need your HTML code as well, but I can suggest that you add a position:relative; to your #container. By the way, you've got way too many ambiguous pronouns in your explanation. "it goes over it and it wont expand the div tag". Not sure who is "it". ?:| | |
Re: Wow. One problem at a time there. First learn how to upload files with some basic html forms, look here: [url]http://www.tizag.com/phpT/fileupload.php[/url] Then follow up on this tutorial that's actually for image uploads [url]http://www.w3schools.com/PHP/php_file_upload.asp[/url] One thing you'll notice in both tutorials is the use of: [CODE]enctype="multipart/form-data"[/CODE] ..in the form tag, which … | |
Re: [QUOTE=Phil++;1103673]Hey, I'm wondering if this is possible. I store customers in an array: [code] string customer[10]; customer[1] = "Phil"; [/code] But I have a menu, that has things like [INDENT]1. Display customers 2. Add customers[/INDENT] The thing I want to do is not show the 'Display customers' if there has … | |
Hello all, I am Lisa and fairly new to C++/MFC. For a class project, we are to develop any software of our choice and add as much functionality as possible. I have chosen to build a program similar to MS Paint since MFC has functions that makes building shapes very … | |
Re: Hello there midwestartist, nice to meet you. I'm Lisa. A newbie as well. :D | |
Re: Try this link, they've got free scripts. [url]http://www.hotscripts.com/search/all/blog[/url] | |
Re: Happy 2010! I'm new so I'm late with this greeting. Well maybe not late for folks like me who live in China. Anyhow, cheers everyone! | |
Re: Wooooooie. Wow. Great to hear from you my friend with Christ. I love Him too. I see you are interested in HTML and so on. That's my strongest programming point. I do HTML/CSS/PHP. Great stuff. I'm now learning MFC C++. Very interesting but slightly difficult stuff. Anyhow, I don't want … |
The End.