263 Posted Topics

Member Avatar for jpknoob

If your not getting anythinng in the drop down box, try this. You: //Changes are in RED [CODE] [COLOR="Red"]while($row = mysql_fetch_array($result)) {[/COLOR] $kinase = $row['kinase']; $tracer_conc = $row['tracer_conc']; $options.= "<option value=[COLOR="red"]'$id'[/COLOR]>".$kinase; // You do not have ID defined in $row.. } [COLOR="red"]echo "</select>"; [/COLOR]<-- Why is this here? ?> <select …

Member Avatar for cscheck
0
379
Member Avatar for sk8ergirl

assign id's to your form inputs. <input type="text" name="name" id="name"> then when you submit the form, the php page will grab the id called name <?php $name = $_POST['name']; echo $name; ?>

Member Avatar for minitauros
0
231
Member Avatar for lemur

You will probably have to use DOM and get the elements id, like in javascript. I had the same problem in javascript, but i figured it out using jQuery and its simple. [Click Here](http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/422290/counting-words-using-jquery)

Member Avatar for diafol
0
121
Member Avatar for jemz
Member Avatar for jemz
0
429
Member Avatar for UFO Disko

Here is an example on how to read an XML file. books.xml <books> <book> <author>Jack Herrington</author> <title>PHP Hacks</title> <publisher>O'Reilly</publisher> </book> <book> <author>Jack Herrington</author> <title>Podcasting Hacks</title> <publisher>O'Reilly</publisher> </book> </books> readbooks.php <?php $doc = new DOMDocument(); $doc->load( 'books.xml' ); $books = $doc->getElementsByTagName( "book" ); foreach( $books as $book ) { $authors = …

Member Avatar for UFO Disko
0
159
Member Avatar for vindom

Are you trying to redirect the page with the nested iframe? Basically if you click delete in the iframe, you want it to redirect the main page.

Member Avatar for vindom
0
3K
Member Avatar for jersie03

in your php.ini enter your smpt address and port. Then just use a php script to send the mail. Here is a basic example: <?php // Or you can define it in your script, but for security reasons do it in php.ini ini_set("SMTP","smtp.example.com" ); ini_set("smtp_port","port number" ); // If you …

Member Avatar for jersie03
0
3K
Member Avatar for adsegzy
Member Avatar for ramganesht

//you while($arr = mysql_fetch_array($result, MYSQL_ASSOC)){ $resultlink = "\n\t<li><a href=\"posts.php?ID={$arr['id']}+{$arr['type']}+{$arr['name']}\">{$arr['name']} {$arr['location']}</a></li>"; // example to try while ($arr = mysql_fetch_array($results)){ echo "<a href='posts.php?id='".$arr['id']."&type=".$arr['type']."'>".$arr['name']." ".$arr['location']."</a>"; }

Member Avatar for |-|x
0
228
Member Avatar for ramganesht

well all i can see so far is that when you click on the link, you get a url that only has 1 variable. post.php?id=1hoteljoes try <a href=\"post.php?id=".$arr['id']."&type=".$arr['type']."&name=".$arr['name']."\">

Member Avatar for ramganesht
0
195
Member Avatar for fobos

Hello, Ok so here is my dilemma, when im watching a movie or youtube or anything, i use the HD Audio Device which is the default device to use when listening to something. When i switch to my Corsair headphones, the volume still comes from my speakers and not the …

Member Avatar for rch1231
0
240
Member Avatar for klemme

Well in my opinion is instead of creating a div then appending stuff to it, make the div in the form, apply a css attribute of visibility:none, add the image and the other div below it and apply a css attribute to them also. Then when success is called, just …

Member Avatar for Example
0
219
Member Avatar for Nanci252

I had the same problem and it turned out that the computers time was not in sync with the server time. After it my computer synced with microsoft's time, windows update worked.

Member Avatar for Nanci252
0
441
Member Avatar for LastMitch

Dude, if you want to sort by desc, or asc, then just have an html option where the values are <?php self...?sort=asc then have your php code if(!isset('something')) { mysql code ORDER BY ASC } check out www.w3schools.com. really good play to begin learning.

Member Avatar for diafol
1
4K
Member Avatar for hwoarang69

If im not mistaken, array_key_exists checks to see if an array is true. From the php manual: array_key_exists() returns TRUE if the given key is set in the array. key can be any value possible for an array index. Example: <?php $search_array = array('first' => 1, 'second' => 4); if …

Member Avatar for fobos
0
485
Member Avatar for Albert Pinto

well if your database has a row for each checkbox value, then you could just use the if statement: <?php if(!isset($row['hobbies']) == NULL) { echo "<input id='hobbies' type='checkbox' value='Hobbies'>"; } else { echo "<input id='hobbies' type='checkbox' value='Hobbies' checked='checked' />"; } ?> Dont know if this helps, but its a start.

Member Avatar for fobos
0
147
Member Avatar for VenusCrystal

Or you could try something like this. $("table").css({'background-color': '#ffe', 'border-left': '5px solid #ccc'})

Member Avatar for VenusCrystal
0
174
Member Avatar for diafol

Well i was searching around googling the work cosymantecbfw and i think it relates to ' co symantec bfw' for symantec. Are you running any symantec programs?

Member Avatar for diafol
0
342
Member Avatar for Vijaysurya

Try replacing url: $(planbook).val() with $(".planbook").html() Reason is, because if planbook is a css, then you need to add it with the "." in front of it. Val() is used on form elements, so in this case, if its not a form element, we use .html(). Read this link from …

Member Avatar for fobos
0
216
Member Avatar for Tharanga05

Try putting the whole ajax function together. I dont know why you broke it up like that. Change your select statement to this. echo '<select name="district" class="text" onChange="getCity(this.value)">'; And try using this for your ajax on register.php function getCity(str) { var xmlhttp; if (str=="") { document.getElementById("citydiv").innerHTML=""; return; } if (window.XMLHttpRequest) …

Member Avatar for broj1
0
495
Member Avatar for adelsin
Member Avatar for riahc3
Member Avatar for QuaminaIT

You know another way to do this, is if you are using dreamweaver and If not already installed, use spry framework for ajax.

Member Avatar for fobos
0
166
Member Avatar for vuquanghoang
Member Avatar for fobos
0
223
Member Avatar for Jake.20

in XAMPP, there is a build in mail system called mercury mail. if you want to use smpt, you need to get that info from yahoo, google.. unless your using outlook, then just use that info.

Member Avatar for fobos
0
227
Member Avatar for phaedrusGhost

I could be wrong, but unlsess the input fields have data in them before the document loads, then its just going to get the blank values when the document loads. Try putting all that in a function, so when you click submit, it will get the data from the input …

Member Avatar for fobos
0
97
Member Avatar for veledrom

You could also try this <script type="text/javscript"> function signup(){ var username = document.getElementById("text_username").value; var password = document.getElementById("text_password").value; alert(username + " " + password); return false; } </script> <form action="do_signup" method="post" onsubmit="signup()"> Username : <input type="text" id="text_username" /><br /> Password : <input type="password" id="text_password" /><br /> <input type="submit" name="submit_button" value="Signup" /> …

Member Avatar for veledrom
0
4K
Member Avatar for jacksantho

Where is your javascript code? this is HTML, if you have a problem with that, please post in the HTML section.

Member Avatar for fobos
0
109
Member Avatar for riahc3

You could try making a script and insert it on all your pages. In php, you would have to write the session on top of every page, so why not include a script on every page. <script type="text/javascript"> $(document).ready(function(){ $("a").click(function(){ // your global variable var z = "cheese"; //gets the …

Member Avatar for fobos
0
637
Member Avatar for cpat258

Im testing it in chrome and its working just fine, but firefox is a no go. what browser are you using? Here is the link to Github html5slider for firefox. Just remember to have some sort of code to identify the browser so it can properly be displayed. [Click Here](https://github.com/fryn/html5slider)

Member Avatar for fobos
0
220
Member Avatar for breakforce
Member Avatar for veedeoo
0
136
Member Avatar for fobos

Hello, i have this piece of code that counts the number of words in a td based off the class of the td. It works find if all the words inside the td's are the same, but if i change one, it doesnt work. <html> <head> <script type="text/javascript" src="jquery.js"></script> <script …

Member Avatar for fobos
0
358
Member Avatar for grako84

Dont use the $_GET statement in Biiim statment, use $_POST. The only time you use GET statement, is if you are submitting your form using a url. in this case you would need to have the form method="GET", but your using method="POST"

Member Avatar for fobos
0
241
Member Avatar for Farhad.idrees

use ajax. [Click Here](http://www.w3schools.com/ajax/default.asp)

Member Avatar for breakzzzz20
0
111
Member Avatar for trinityit
Member Avatar for fobos
0
62
Member Avatar for Mko_

First off i see that you are using double quotes on the id after $_GET. The only time you use get, is when you are passing variable through a URL, in this case you are not. > mysql_query("UPDATE table SET status = 1 WHERE id = '". $_GET['repid'].**"'",** $c2) or …

Member Avatar for fobos
0
132
Member Avatar for jj.amonit
Member Avatar for fobos
0
3K
Member Avatar for kukula

Make sure the css' are not conflicting. There has been many times where i have had that happen to me. Did you build the floating menu on your computer?

Member Avatar for fobos
0
346
Member Avatar for joshmac

Now, when you log in as Admin, do you "Sucessfuly" log out so the session is destroyed? The only thing i can think of is the session not being destroyed and the member gets the session because its still active. Or when you log in as Member, what is the …

Member Avatar for fobos
0
121
Member Avatar for oksam

if you are sending email and want to recieve them in outlook, you need to have the smpt information for each one. Say yahoo, you need to pay to have an SMTP for outlook.

Member Avatar for fobos
0
630
Member Avatar for tubesnube

$search_id = $_POST['searchID']; $searchById = "SELECT * FROM tc_tool.forms WHERE doc_id LIKE "%$search_id%"'; But i think the problem is with your table name because database and table names cannot contain “/”, “\”, “.”, or characters that are not permitted in file names. So.. tc_tool**.forms** is innapropriate, but tc_tool is ok …

Member Avatar for tubesnube
0
302
Member Avatar for nchy13

you could just use PHP redirect. <?php session_start(); $_SESSION["visiting"] = $_GET["userid"]; echo $_SESSION["visiting"." ".$_GET["userid"]; header("Refresh: 10; URL=http://localhost/fi.php"); //Refreshes after 10 seconds ?> make sure this goes above <html> or you will get errors.

Member Avatar for rajesh1158
0
136
Member Avatar for jelly46

well i guess you going to have to set a fixed width on the divs so the left one doesnt push out the right when being shown.

Member Avatar for jelly46
0
228
Member Avatar for andisss
Member Avatar for Albert Pinto

You need to make your parent div have a position: relative and #answer 1 & 2 need to have position:absolute; z-index: 100 # .cont a { text-decoration:none; font-family: Calibri, Arial, sans-serif; font-size: 14px; color:#000; position:relative} #answer1 { border: 1px solid black; color: grey; width: 300px; display:none; margin-left: 115px; margin-top: -15px; …

Member Avatar for Albert Pinto
0
288
Member Avatar for Heinz Stapff
Member Avatar for jackbauer24

if you have smtp, then configure your php.ini with it. Other than that, here is a good link to learn from [click](http://www.google.com/)

Member Avatar for diafol
0
308
Member Avatar for h2so4_2003
Member Avatar for h2so4_2003
0
124
Member Avatar for Mariel Pineda
Member Avatar for sibbs06

Well let me look into my crystal ball too see your coding problem. If you have a problem, please post your code that you are having problems with. From this point i can tell you is to change method from get to post

Member Avatar for Biiim
0
146

The End.