263 Posted Topics

Member Avatar for madhan

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.

Member Avatar for fobos
0
121
Member Avatar for manishraj1988
Member Avatar for ecklcakes
Member Avatar for kanhucharan
Member Avatar for starkk

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)

Member Avatar for fobos
0
62
Member Avatar for doc15
Member Avatar for anand01

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.

Member Avatar for fobos
0
136
Member Avatar for heshanm

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

Member Avatar for fobos
0
135
Member Avatar for 3tplus
Member Avatar for erik216

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 …

Member Avatar for fobos
0
128
Member Avatar for Madriganoh

If you want help, you have to post your code and state the problem within it. Asking will get you now where.

Member Avatar for dricks
0
158
Member Avatar for abhi10kumar

why dont you use an onLoad function and create a popup window? Can you post your code on what you have so far?

Member Avatar for fobos
0
25
Member Avatar for shielaolid

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 …

Member Avatar for pritaeas
0
180
Member Avatar for OnIIcE

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

Member Avatar for veedeoo
0
114
Member Avatar for grabit
Member Avatar for samidha
Member Avatar for andyshady

Well if you can succesfully upload the image, just use the session username for the value. [CODE] <?php $username = $_SESSION['username']; ?> [/CODE]

Member Avatar for fobos
0
153
Member Avatar for Kunal Aggarwal

have you tried taking out the NOT operator ! and switch the email address' in the if statement

Member Avatar for nice123
0
212
Member Avatar for fobos

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

Member Avatar for deceptikon
0
84
Member Avatar for newbie14

TCPDF does not have physical limitations. You have to increase the memory in your php.ini

Member Avatar for broj1
0
4K
Member Avatar for jeevanism

try this [CODE=PHP] <?php $userinput = "hi.wmv"; echo '<a href="showvideo.php?video=', urlencode($userinput), '">'; ?> [/CODE]

Member Avatar for jeevanism
0
974
Member Avatar for ryan311

ryan311, First of all you dont create tables in navicat, you create mysql tables using navicat. Well im gonna break this down for you: 1. Open a new excell document. 2. Next open the document and create the row names for your database. Ex. 1A = id, 1B = Name. …

Member Avatar for RE:MATIN
0
867
Member Avatar for RazorRamon

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]

Member Avatar for RazorRamon
0
3K
Member Avatar for tweets23

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 …

Member Avatar for diafol
0
254
Member Avatar for veledrom

did you try putting a 0 in the label id? [CODE] label id="text_cost[0]">0.00</label> [/CODE]

Member Avatar for veledrom
0
118
Member Avatar for Kinetic

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]

Member Avatar for fobos
0
116
Member Avatar for Macko888

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 …

Member Avatar for fobos
0
191
Member Avatar for sidra 100

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]

Member Avatar for sidra 100
0
149
Member Avatar for hyperjase

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.

Member Avatar for hyperjase
0
186
Member Avatar for jonnyboy12

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]

Member Avatar for fobos
0
242
Member Avatar for jpknoob

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

Member Avatar for fobos
0
86
Member Avatar for robo-romeski

If you are able to succesfully store the link and display the link in text, then just use onmouseover to call the function.

Member Avatar for fobos
0
195
Member Avatar for ebiti

try using window.location.href = 'Add_New_Project.php?project_name=' + project_name + '&cat=' + val + '&prj_desc=' + project_desc;

Member Avatar for fobos
0
218
Member Avatar for gvsb92
Member Avatar for fobos
0
60
Member Avatar for jonnyboy12
Member Avatar for rotten69
Member Avatar for rotten69
0
166
Member Avatar for hekri

Here is another thread. [URL="http://www.daniweb.com/software-development/cpp/threads/150836"]http://www.daniweb.com/software-development/cpp/threads/150836[/URL]

Member Avatar for hekri
0
3K
Member Avatar for joy39
Member Avatar for chandbasha

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 …

Member Avatar for fobos
1
241
Member Avatar for huntaz556

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

Member Avatar for broj1
0
1K
Member Avatar for Moderns

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

Member Avatar for Moderns
0
297
Member Avatar for toplisek
Member Avatar for HelenLF
Member Avatar for Tenaciousmug
Member Avatar for Z33shan
Member Avatar for jabeen123

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

Member Avatar for EvolutionFallen
0
388
Member Avatar for strRusty_gal

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]

Member Avatar for Troy III
0
3K
Member Avatar for Labdabeta

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.

Member Avatar for Fest3er
0
376
Member Avatar for BilalAKhan

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 …

Member Avatar for BilalAKhan
0
165
Member Avatar for bipies

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.

Member Avatar for fobos
0
195

The End.