263 Posted Topics
Re: eswar.aspire, First off, you need to post your questions in the correct forum. This is purely Javascript not PHP, because your asking a question that has no PHP in it. Secondly, what you need to have in your parent page is a function that will control the iframe sources. [CODE=JAVASCRIPT] … | |
Re: Honestly, i think the best way to do this is have them sign up to see some of the things you have to offer. If they want to get the full features, have them use paypal to give you a payment for so many weeks or whatever. Once the transaction … | |
Hello all, well i have a problem, but it sorta works. Here is my code. [CODE=JAVASCRIPT] var toggleState = 0 function toggleMe() { if(toggleState == 0) { alert("Checked"); toggleState = 1; } else { alert("Unchecked"); toggleState = 0; } } [/CODE] HTML [CODE=HTML] <input type="checkbox" onclick="toggleMe()" />Toggle me <input type="checkbox" … | |
Re: Just to understand, this will be for all weeks or in a certain time frame? What is the output that your getting right now? | |
Re: First off, is the form being populated? | |
Re: Instead of using $result multiple times, try using $result, $result2, $result and seee if that works | |
Re: If you are using dreamweaver, you can use the Spry Menu Bar that is provided with the feature that you want. | |
Re: Well you have the right idea.. sort of with your if statements, except (in my opinion) they would be better in the checkbox itself. Right now when you use the if else, you are not assigning a variable to the "true" statement. Because of that you cannot reference it in … | |
Re: Did you write this or copy it. If you copied it, then you need to learn javascript and stop asking people what you want. We are here to fix problems that people have on there codes, not code that people copied and have no idea how it works. Sorry for … | |
Re: Im just going to try and get the ball rolling with "hopefully" other people helping. Well one thing i do know that you shouldnt put a name on a jquery function because thats the whole point of the structure. Im im wrong, hey oh well. You [CODE=JAVASCRIPT] $("#someid").mouseleave(function animatebackgroundsout() { … | |
Hello CF Coders, I have another question. Basically i want to use a cfif statement with out haveing to use it until im ready. Ill give an example and problem i getting. page.cfm [CODE=CFM] <body> <cfif #URL.get#> or <cfif isDefined(URL.get)> // execute code </cfif> <a href="page.cfm?get=this">click</a> </body> [/CODE] When i … | |
Hello all, Ive been stuck and i dont know how to add a .mdb or .accdb to my "Data & Service". Currently i am using CF9. If its not too much trouble, i would like to know how to do both if this is possible? | |
Re: Use Navicat for MySQL | |
Re: Here is a good tutorial on how to insert values into a database and how to use php mail function [url]http://www.w3schools.com/php/default.asp[/url] | |
Re: try [url]www.dhtmlx.com[/url] that is what i use and it is wonderful. | |
Re: No it doesnt require additional languages. To do this first you must initiate the connection and access the database and table. In this we will user and name as fields in your table [CODE=PHP] <?php // use variables to identify the user. session would be the best $user = $_SESSION['username']; … | |
Re: ok, first thing is your using $result twice, basically you have colliding variables. second thing is that your insert statement is incorrect. Whenever you use an insert statement you need to define the table fields, then use the "VALUES" to insert into the table fields. [CODE=PHP] $name=$_POST["name"]; $addressline1=$_POST["addressline1"]; $addressline2=$_POST["addressline2"]; $email=$_POST["email"]; … | |
Re: You have this [CODE=PHP] echo "<td>" . 'Please <a href="/view.php">try again</a>.' . "</td>"; [/CODE] Try this [CODE=PHP] echo "<td>Please <a href=\"view.php?id=".$row['id']."\">try again</a></td>"; [/CODE] What this will do is when the user clicks on the link, the link will contain the id to the row in the database. Then when it … | |
Re: well there is a couple of ways to do this. First, you could add the email address in the "action" of the form Ex.. [CODE=HTML] <form action="mailto:someone@yahoo.com" enctype="text/plain"> [/CODE] or PHP method.. [CODE=PHP] <?php $to = "somebody@example.com"; $subject = "My subject"; $txt = "Hello world!"; $headers = "From: webmaster@example.com" . … ![]() | |
Re: Could you explain more on the problem. Ex, can you not see it in the browser or what? | |
Re: when you launch the webpage in the browser, is it [url]http://localhost/[/url] or [url]http://yoursite.com/[/url] | |
Re: Well if the pop-up window is a new paged that is displaying the data, then you want to pass the data via URL.. [CODE=JAVASCIPT] function passData() { var input1 = document.getElementById("input.name").value; window.open("showduty.php?param1="+input1); } [/CODE] Let me know if this is what you are looking for? | |
Re: Check this web page out. It has really good examples of how to create a database with fields. Then i would use PHPMYADMIN to make it auto increment. [URL="http://www.w3schools.com/php/php_mysql_create.asp"]W3SCHOOLS[/URL] | |
Re: Ok so say we have users.php and i want to see someones profile using the "id" method. Just like what you said [url]http://www.website.com/profile.php?id=1[/url]. Well if you have mysql database, just output the a field like names or something. Then with the name being outputed, just assign an href tag to … | |
Re: No offense, but the horizontal menu clearly tells you that its overlapping..lol [CODE=CSS] /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */ ul.MenuBarHorizontal ul ul { position: absolute; margin: -5% 0 0 95%; } [/CODE] Just write the marins -5% to 0% for top overlap … | |
Re: If the font increases after you click the link (the visited link), then look for a:visited in your css code and just lower the font size. Let me know if this helps. | |
Re: I might not be able to answer, but for everyones view can you please post your coding in order for people to help. thanks. | |
Re: Try this website, it has what you are looking for. [URL="http://jquery.com/demo/thickbox/"]Click[/URL] | |
Re: Ok, if you can copy the values from the fields in editor 1, then this should be able to assign them to editor2. With the onlick function that was shown, you have to get the values of the input fields in editor 1 [CODE=HTML] function get() { var input1 = … | |
Re: Try creating a seperate page to see if the variables are being passed after validating. [CODE=PHP] <?php if(isset($_POST['submit'])) { echo $_POST['getName']; echo $_POST['getPass']; } ?> [/CODE] If they are, try this code. I think i know what login script your using. If you want, this is the one that i … | |
Re: Try this. just put this in the head with the other meta data. [CODE=HTML] <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> [/CODE] | |
Re: when you display the tables, your mysql query should be [CODE=MYSQL] SELECT * FROM table ORDER BY id ASC or DESC // pick either ASC or DESC. [/CODE] I think that is what you were talking about. If not, please post code so we can analyze it. | |
Re: Here is something for your tool bag to use one element to show and hide content [CODE=JAVASCRIPT] $("#content").hide() // to hide the content onload $("#text").toggle(function() { $("#content").show('slow') }, function() { $("#content").hide('slow'); }); [/CODE] | |
Re: Depending on what service your going to be using.. IE yahoo or anything else, there is a setting that needs to be set either in your php.ini or on the page itself. just google the smtp address and port number for the mail provider. sometimes you might have to provide … | |
Re: Hello wonderland, well first off nice site. Ok to get to your question, yes it is possible. Right now, you have the images in an iframe, but the main content is is on the page, so when you click on a link, it just reloads the page and the iframe … | |
Hello CF coders, I am new to coldfusion and it seems very nice to use. I used to be a PHP coder, but then switch last week because i like some of the things that CF has to offer. I am currently using Coldfusion 9 with Dreamweaver CS5. The one … | |
Re: I had that same problem with searching between dates. here is what i used. [CODE=CFM] SELECT * FROM db.table WHERE ((date BETWEEN #CreateODBCDate(URL.from)# AND #CreateODBCDate(URL.to)#)) [/CODE] i used url because i was using a url to pass the variables and the "date" is in my database, so adjust to what … | |
Good morning, i know this was probably asked before, but im kinda in a jam. i have a database where it has a date field and a time field. i want to use a radio button to filter the fields. Say i have 3 radio buttons, the first one only … | |
Hello all, so im kinda stumped. Im a real big O'Riellys fan, so i came across one of tuts in PHP Cookbook. So basically i wanna display files in a folder or a directory using this code. The only problem is that when i load it in a page, it … ![]() | |
![]() | Re: Zagga, yes you can still use the method you are using now where you display the data on one page and analyze it on another. Using the back button, to go back to form after submit, never really works for analyzing the data. If im not mistaken, when you fix … |
Re: You must understand something when posting a forum. We are here to help, but you must show some code to let us know that you are trying. There are no freebies here, so expect handouts. | |
Re: Hi, First off, a really good tutorial website would be [URL="http://www.w3schools.com/php/php_mail.asp"]www.w3schools.com[/URL]. They have alot of different things you can learn. Thats where i got my email code. Most mail servers require a SMPT in order to find it, its like have a website but with no DNS lookup. So a … ![]() | |
Re: You need to add values to your drop down boxes. Before - <option>Cyprus</option> After - <option value="Cyprus">Cyprus</option> Now the value will get passed.. Hope this helps [QUOTE=inetsubscriptio;1196428]I understand how to sent info e.g. emal address, but the problem is that I have radio buttons and select functions, so how do … | |
Re: Hi, well i have to ask, why would you want to have someone check a checkbox then have them enter something into a input box, then have the value be of the checkbox? Not scrutinizing or anything, because people have different ways of doing things. | |
Re: you should use "if/else" statements.. [CODE=php] <?php if(isset($user) && (isset($pass)) { //whatever u want for this echo "<td><a href='www.something.com/file.htm'>Click</a><td>"; } else { echo "<td>Click</td>"; } [/CODE] Hope this helps.. | |
Re: you could try using WHERE statement in your sql syntax.. [CODE=php] $query = "SELECT firstname, lastname FROM swilregion132 WHERE onlineid = 'sessionname'" or die("Could not query mysql_query."); [/CODE] This way its only pulling the information from that specific onlineid. then u can use the rows for first and last name.. … | |
Re: could you please show or provide a better example then just a one line request. Code is always helpful | |
hello all, i have a problem. First off, i am able to upload 200mb to mysql database; so im good there. I changed the values in "my.ini" to 700mb. The problem is, when i try to download it, i get a error 404 or something like that. Its like the … | |
Hello, im in a jam, i have tried to use count for my database to count a row, but i was wondering how to count individual things by name. ex.. +++++++++++++++ + id + name + color + +++++++++++++++ + 1 + joe + blue + + 2 + frank … |
The End.