263 Posted Topics
Re: yeah i was having the same problem, what version of IE are you using? What i did, was just switch to firefox and everything works fine. | |
Re: javascript or jQuery is good | |
| |
Re: We will put foward our suggestion when you put foward your code. Thanks | |
Re: there is [MySQL](www.mysql.com/) for everything that you need to know. Also if your coding in PHP, theres [W3Schools](http://www.w3schools.com/php/php_mysql_intro.asp) | |
Re: Try FireQuery. Its an extension for jQuery developers. | |
Re: anand01, you need to do some research before you come asking for something. You have to give (the problem with your code) to recieve (the time and help that people give you). So post your code on what you are haveing problems with. | |
Re: It would be easier to achieve this using AJAX. <script type="text/javascript"> function showReg(str) { var xmlhttp; if (str=="") { document.getElementById("regresult").innerHTML=""; return; } if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("regresult").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","getregistrationnum.php?q="+str,true); xmlhttp.send(); } </script> //HTML <input type="text" … | |
Re: are you using iframes? do you want something like a loader? | |
Re: Here is something that i came up with, but its untested and its just to get you going. I would suggest using jQuery because the code would be much more simple with this problem that you are having. <script type="text/javascript"> function toggle(){ if (document.getElementById("input1").disabled == false){ document.getElementById("input1").disabled = true; document.getElementById("input2").disabled … | |
Re: If you want help, you have to post your code and state the problem within it. Asking will get you now where. | |
Re: why dont you use an onLoad function and create a popup window? Can you post your code on what you have so far? | |
Re: your admin_edit.php is confusing. How can you edit the values, if you dont have them posted in a form values? You just have, click edit, then variables to straight to the database with no option of editing? Second you have [CODE=PHP] if(isset($_POST['save'])) { [/CODE] again, no in a form, so … | |
Re: Why dont you just put an upload limit, that way you dont have to worry about a file being too big. [CODE] <?php if ($_FILES["file"]["size"] > 20000) { // if file is over 20 kb, throw error echo "Error: " . $_FILES["file"]["error"] . "<br />"; } else { //Code } … | |
| |
| |
![]() | Re: Well if you can succesfully upload the image, just use the session username for the value. [CODE] <?php $username = $_SESSION['username']; ?> [/CODE] |
Re: have you tried taking out the NOT operator ! and switch the email address' in the if statement | |
Hello all, i was wondering if you could add a forum for sharepoint? if there is already one, can you please point me in the right direction? R/S, fobos | |
Re: TCPDF does not have physical limitations. You have to increase the memory in your php.ini | |
Re: try this [CODE=PHP] <?php $userinput = "hi.wmv"; echo '<a href="showvideo.php?video=', urlencode($userinput), '">'; ?> [/CODE] | |
Re: Here this will help. Its a good place for tutorials. [URL="http://cookbooks.adobe.com/post_Display_an_image_stored_in_a_database__PHP_-16637.html"]http://cookbooks.adobe.com/post_Display_an_image_stored_in_a_database__PHP_-16637.html[/URL] | |
Re: Ajax is not an installation. AJAX is based on internet standards, and uses a combination of: -XMLHttpRequest object (to exchange data asynchronously with a server) -JavaScript/DOM (to display/interact with the information) -CSS (to style the data) -XML (often used as the format for transferring data) AJAX applications are browser- and … ![]() | |
Re: did you try putting a 0 in the label id? [CODE] label id="text_cost[0]">0.00</label> [/CODE] | |
Re: you need to fix your input box code [CODE] function loadUrl() { url = document.getElementById("url").[COLOR="Red"]value[/COLOR]; document.getElementById("showUrl").src = url; } <input type="text" id="url" ondragend="(loadUrl())"> [/CODE] | |
Re: maybe something like [CODE] function showtip(id) { $(id).css "visibility" : "visible"; } function hidetip(id) { $(id).css "visibility" : "hidden"; } [/CODE] then add this to your href: [CODE] <a href='#' onmouseover='showtip('".row['id']."')' onmouseout='hidetip('".row['id']."')'>description</a> <div id='".row['id']."'><?php echo $row['description'];?> </div> [/CODE] i think onmouseover='' and onmouseout='' needs to have javascript: in it. like … | |
Re: on line 7 you have [CODE] mysql_select_db("pras2"); [/CODE] you need to include the connection in it [CODE] mysql_select_db("pras2", $con); [/CODE] | |
Re: Can you show your code so far, this way we can help out. Right now, we have to imagine what you are trying to achieve and you may get wrong solutions. | |
Re: pritaeas is right. But if you want to change it from 'int' to something else, you have to change it in the AJAX function [CODE] function viewrestaurant([COLOR="Red"]int[/COLOR]){if (window.XMLHttpRequest) [/CODE] and here to reflect: [CODE] viewrestaurant.php?viewr="+[COLOR="red"]int[/COLOR][/CODE] | |
![]() | Re: [CODE] <?php if(isset($_POST['send'])) { //Connection $email = $_POST['email']; $query = "SELECT * From database ORDER by columna"; $result = mysql_query($query) or die(mysql_error()); while ($row = mysql_fetch_array($result)) { $A = $row['a']; $B = $row['b']; $C = $row['c']; } $to = $email; $subject = "Data"; $message = "$A\n $B\n $C\n"; $from = … |
Re: If you are able to succesfully store the link and display the link in text, then just use onmouseover to call the function. | |
Re: try using window.location.href = 'Add_New_Project.php?project_name=' + project_name + '&cat=' + val + '&prj_desc=' + project_desc; | |
Re: You could use PHP, coldfusion, or AJAX. Then decide if you want to use div's or tables. Hope this helps | |
Re: are you using <a href="javascript:" or onClick=""...? | |
Re: If that doesnt work, you can try XAMPP. Its a great package with everything. | |
Re: Here is another thread. [URL="http://www.daniweb.com/software-development/cpp/threads/150836"]http://www.daniweb.com/software-development/cpp/threads/150836[/URL] | |
Re: Also you can create a cache. open my.ini and change the following: set query_cache_type to 1,2,or3 query-cache-type = ? settings: 0 (disable / off), 1 (enable / on) and 2 (on demand). set query_cache_size to your expected size in MB query-cache-size = 20M To check if your mysql server already … | |
Re: this is from phpeasystep.com [CODE] <?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="members"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // username and password sent from form $myusername=$_POST['myusername']; … | |
Re: if you have a button in an iframe which is on your parent page, then you have to write a function that calls that xmlHttp.responseText on that parent page. Try this, on the iframe page that is being loaded, put [CODE] function loadpage(url) { parent.changepage(url); } [/CODE] parent page [CODE] … | |
Re: Is this something that people can use or a problem? | |
| |
Re: Try this: [CODE] <script type="text/javascript"> function abc() { <?php //Connection $search = mysql_query("SELECT lab_credit_hr FROM courses WHERE course_number = '$_GET['course']'"); $row = mysql_fetch_array($search); if($row['lab_credit_hr'] == 0) { echo "document.getElementById('id').disabled = true;"; } else { echo "document.getElemenbById('id').disabled = false;"; } ?> } </script> [/CODE] I hope this helps. This is untested | |
Re: Try this [CODE] <script type="text/javascript"> function validate() { var FieldVal = document.getElementById('FieldName').value; if(FieldVal < 51) { alert("Valid!"); } else { alert("Invalid"); } } </script> <input id="FieldName" type="text" name="MyField" onKeyUp="validate()" MaxLength="2" /> [/CODE] | |
Re: Try using this website. He has a O'Reilly CD Library. [URL="http://docstore.mik.ua/orelly/"]Here[/URL] In my opinion, O'Reilly and Lynda.com are really good to learn from. | |
Re: Hello, a couple things i noticed. [CODE] $query_rec_manage_blog = sprintf("SELECT * FROM blog WHERE [COLOR="Red"]email.blog [/COLOR]= %s", [/CODE] unless your joining different tables, just use WHERE email = %s. Also, if you echo MM_Username and you get joe | [email]joe@blah.com[/email] then i would just use two session variable like MM_Username … | |
Re: Can you post your work? If you echo the date from the plugin, does it come out normal? Also, check myphpadmin or use navicat to check if the field is a time or varchar. |
The End.