263 Posted Topics

Member Avatar for eswar.aspire

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] …

Member Avatar for eswar.aspire
0
641
Member Avatar for Ender330

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 …

Member Avatar for dennishall
0
195
Member Avatar for fobos

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" …

Member Avatar for fobos
0
96
Member Avatar for pietpiraat

Just to understand, this will be for all weeks or in a certain time frame? What is the output that your getting right now?

Member Avatar for pietpiraat
0
147
Member Avatar for trilithon
Member Avatar for whiteyoh

Instead of using $result multiple times, try using $result, $result2, $result and seee if that works

Member Avatar for fobos
0
102
Member Avatar for GrahamN

If you are using dreamweaver, you can use the Spry Menu Bar that is provided with the feature that you want.

Member Avatar for fobos
0
137
Member Avatar for trilithon

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 …

Member Avatar for trilithon
0
104
Member Avatar for monstercameron

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 …

Member Avatar for monstercameron
0
341
Member Avatar for Bubbleboy

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() { …

Member Avatar for Bubbleboy
0
172
Member Avatar for fobos

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 …

Member Avatar for arrgh
0
167
Member Avatar for fobos

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?

Member Avatar for arrgh
0
73
Member Avatar for jackparsana
Member Avatar for jonow

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]

Member Avatar for Bruce100
0
108
Member Avatar for srdva59
Member Avatar for fobos
-1
64
Member Avatar for lwaterfo

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']; …

Member Avatar for fobos
0
87
Member Avatar for pruthvikumar

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"]; …

Member Avatar for pruthvikumar
0
146
Member Avatar for webfan16

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 …

Member Avatar for Lsmjudoka
0
95
Member Avatar for markolini

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" . …

Member Avatar for diafol
0
235
Member Avatar for whiteyoh
Re: xml

Could you explain more on the problem. Ex, can you not see it in the browser or what?

Member Avatar for fobos
0
66
Member Avatar for Zexsz

when you launch the webpage in the browser, is it [url]http://localhost/[/url] or [url]http://yoursite.com/[/url]

Member Avatar for Zexsz
0
142
Member Avatar for bwls

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?

Member Avatar for fobos
0
121
Member Avatar for Awah Mohamed

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]

Member Avatar for rch1231
0
48
Member Avatar for digiplaystudios

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 …

Member Avatar for digiplaystudios
0
2K
Member Avatar for hheyh222

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 …

Member Avatar for fobos
0
97
Member Avatar for futuresmkt

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.

Member Avatar for fobos
0
27
Member Avatar for Alicat

I might not be able to answer, but for everyones view can you please post your coding in order for people to help. thanks.

Member Avatar for fobos
0
55
Member Avatar for Matthew N.

Try this website, it has what you are looking for. [URL="http://jquery.com/demo/thickbox/"]Click[/URL]

Member Avatar for fobos
0
137
Member Avatar for BzzBee

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 = …

Member Avatar for dennishall
0
420
Member Avatar for iammirko

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 …

Member Avatar for iammirko
0
101
Member Avatar for muralibobby2015

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]

Member Avatar for muralibobby2015
0
161
Member Avatar for HedoBum

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.

Member Avatar for HedoBum
0
140
Member Avatar for Tekkno

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]

Member Avatar for fobos
0
250
Member Avatar for noufal68
Member Avatar for Shaswat

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 …

Member Avatar for sourcebits
0
154
Member Avatar for wonderland

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 …

Member Avatar for fobos
0
137
Member Avatar for fobos

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 …

Member Avatar for fobos
0
221
Member Avatar for Cheesecake87

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 …

Member Avatar for arrgh
0
246
Member Avatar for fobos

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 …

Member Avatar for Ancyent
0
68
Member Avatar for fobos

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 …

Member Avatar for rajarajan2017
0
188
Member Avatar for Zagga

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 …

Member Avatar for digital-ether
0
153
Member Avatar for rics

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.

Member Avatar for urtrivedi
0
136
Member Avatar for charvie

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 …

Member Avatar for rajarajan2017
0
209
Member Avatar for inetsubscriptio

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 …

Member Avatar for fobos
0
218
Member Avatar for vinpkl

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.

Member Avatar for fobos
0
58
Member Avatar for softheart

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..

Member Avatar for surenkumar
0
3K
Member Avatar for perceptiveforce

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.. …

Member Avatar for fobos
0
322
Member Avatar for logonchristy

could you please show or provide a better example then just a one line request. Code is always helpful

Member Avatar for fobos
0
71
Member Avatar for fobos

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 …

Member Avatar for cwarn23
0
100
Member Avatar for fobos

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 …

Member Avatar for fobos
0
111

The End.