841 Posted Topics
Re: change your query to: [code] $query1="SELECT * FROM autoalto_mail where mail_id='".$mailid1."' AND flag='1'"; [/code] | |
Re: try this .......it may help write this in the head part........ [code=javascript] <script language="javascript"> function changeIt() { var i = 1; my_div.innerHTML = my_div.innerHTML +"<br><input type='text' name='mytext'+ i>" } </script> [/code] and write this in the body......... [code=javascript] <form name="form" action="post" method=""> <input type="text" name=t1> <input type="button" value="test" onClick="changeIt()"> <div … | |
Re: You can do it with DATEADD, directly in MySql SELECT DATEADD(...) AS IncrementedDate from ... DATEADD("2000-12-01",INTERVAL 1 DAY) | |
Re: change this : [code=php] $query = "SELECT * FROM runners WHERE id = '$name'"; [/code] To: [code=php] $query = "SELECT * FROM runners WHERE id =".$name; [/code] | |
Re: Praveen.... Hope you will achieve more in your life.... All The Best... ShantI | |
Re: your thinking is right... i think its all because of one virus called JavaScript malware..... scan your all web pages with anti virus scanner and find what is the exact virus..... find the source of it... | |
Re: you just copy and paste the examples from w3schools and any other and then run then in IE or firefox,then you will get the output... and try to edit the code in which way you want... read the materials about html and css... [url]www.w3schools.com[/url] is best for begginners... | |
Re: [url]http://www.freewebsitetemplates.com/[/url] [url]http://freesitetemplates.com/[/url] | |
Re: this is also done by using simple php and database queries... why are you try to do this by java script???? | |
Re: restrict your user to download only after providing his/her information... this is done by sessions concept in php or provide login form.... | |
Re: you can use joins for this: [code=my sql] "select * from table1 as t1,table2 as t2 where ti.id=t2.id"; [/code] this is simple.... Have look on this url follows: [url]http://www.tizag.com/mysqlTutorial/mysqljoins.php[/url] | |
Re: First you should have to know about basic my sql commands like select,update,delete... and you have to create a table in your database according to your requirements... and know how to connect to a data base by using php...and then write your sql queries in your php page... these two … | |
Re: [code=php] <?php $array = array('lastname', 'email', 'phone'); $comma_separated = implode(",", $array); echo $comma_separated; // lastname,email,phone ?> [/code] | |
Re: Place this line after your mail function [code=php] echo '<script language="javascript">window.location.href="thanku.htm";</script>'; [/code] | |
Re: CPanel is the most popular control panel solution on the market. Nearly all web hosts are currently using this control panel, except for those hosts that do not want to pay the expensive price tag. CPanel allows the web host to easily customize the features/programs that appear. Additionaly, CPanel has … | |
Re: try this: [code=javascript] <body onKeyDown="setCmdKeyIE(event);" > JAVASCRIPT: function setCmdKeyIE(event) { if(event==null) event = window.event; var cmdkeycode = ""; if (event.keyCode != 13 & event.keyCode != 33 & event.keyCode != 34 & event.keyCode < 112 ) return; ... } [/code] | |
Re: and also: [url]http://www.learn-css-tutorial.com/[/url] | |
Re: this is the code: [code=javascript] var m = document.form1.emailid.value var cnt=0,spc=0,dot=0; for(var i=1;i<=m.length;i++) { if(m.charAt(i)=="@") cnt++; if(m.charAt(i)==" ") spc++; if(m.charAt(i)==".") dot++; } lnm=m.length if(cnt==0||cnt>1||spc!=0||dot==0 ||lnm<=2 ) {alert("Please Enter Valid E-mail Id ");document.form1.emailid.focus();return false; } [/code] | |
Re: you didn't mention any id to delete : [code] <a href="contractor_mail_delete_action.php"><b>Delete</b></a> [/code] and print this: echo $_GET['mail_id']; in your contractor_mail_delete_action.php page . | |
Re: You first retrieve the data from database... and show it in your text boxes like value="<? $row['fielsname']?>" if user change the data and when clicks on submit button, then write a update query in this if condition: if($_SERVER['REQUEST_METHOD']=='POST'){ } | |
Re: Use this code: this code will execute after user clicks on the submit button. [code=php] if($_SERVER['REQUEST_METHOD']=='POST') { mysql_query("insert query"); } [/code] | |
Re: hello.. you just add 7 days to your user booked date by using DATEADD function in mysql... and compare that date with CURDATE ,then if condition is ok,write mail function to remind them ... | |
Re: this is the code for paging: [code=php] <?php mysql_connect("localhost", "root", "1234"); mysql_select_db("image"); // how many rows to show per page $rowsPerPage = 20; // by default we show first page $pageNum = 1; // if $_GET['page'] defined, use it as page number if(isset($_GET['page'])) { $pageNum = $_GET['page']; } // counting … | |
Re: use one state column in your messages table.. and whenever user click on the delete button ,update the state field to 2 by using the id of deleted message.and first set your state as1. if the state is 1,that is inbox message, if the state is 2,that is trash message... … | |
Re: [code=mysql]SELECT * FROM table WHERE date_col<curdate() and date>DATE_ADD(CURDATE(), INTERVAL -1 DAY)[/code] | |
Re: by this line: <select name="fields"> </select> you can retrieve the option value by $_POST['fields'] .. In form tag you should use action as action="search.php". | |
| |
Re: For the last date use: [code=mysql]order by datefield desc[/code] For 7 day and more days: [code=mysql]Between Date() And DateAdd("d",-7,Date())[/code] DATE_ADD() ,Add two dates DATE_SUB() ,Subtract two dates use the above both functions.... | |
Re: [url]http://www.javapassion.com/ajax/JavaScript.pdf[/url] | |
Re: search engine is the best.... go through it...and add more features like user login,posting blogs,forums like that.... | |
Re: hey suneee.... Can you clearly explain your thread?its better... other wise nobody will reply you... | |
Hello all... please help me to solve this thread very urgently??? How to rotate an image by 360 degrees in javascript or any other technology??? What requirements need to complete this task??? see this link for refernce: [url]http://www.i-spy360.com/en/ispyspin/[/url] Thanks... | |
Hello all... please help me to solve this thread very urgently??? How to rotate an image by 360 degrees in javascript or any other technology??? What requirements need to complete this task??? see this link for reference: [url]http://www.i-spy360.com/en/ispyspin/[/url] Thanks... | |
Re: By adding this: [code=html] <input type="hidden" name="hiddenname"> [/code] use this where ever you want to send by hidden.... | |
Re: hope this may help you: [url]http://abledesign.com/programs/holiday_code.php[/url] | |
Re: try in this way: [code=php] $result = mysql_query("SELECT * FROM autoalto_mail where mail_id='".$_request[$a]."'" ); [/code] | |
Re: yes... jQuery is a JavaScript library that takes this motto to heart: Writing JavaScript code should be fun. jQuery achieves this goal by taking common, repetitive, tasks, stripping out all the unnecessary markup, and leaving them short, smart and understandable you can get them here: [url]http://jquery.com/[/url] | |
Re: $handle = fopen("http://www.example.com/", "r+"); 'r+' : Open for reading and writing; place the file pointer at the beginning of the file. | |
Re: if you wrote two seperate update queries.. obviously, if the first one fails,the second one will execute.. | |
Re: its because of unclosed brace or unclosed tags... check all your braces of loops ..... | |
Re: just put echo before$v and execute that query in your database sql query.. it tells you where will be the error... [code=php] $v ="select * from kullanicilar order by id limit $son, $limit"; $veri= mysql_query($v); [/code] | |
Re: check this url: [url]http://www.daniweb.com/forums/thread134714.html[/url] | |
Re: Try this.. it works fine: [code=php] <? mysql_connect('localhost','root','1234'); mysql_select_db('banjarahills'); if($_SERVER['REQUEST_METHOD']=='POST'){ print_r($_POST); $n=$_POST['name']; $m=$_POST['message']; } if(isset($_POST['submit'])) { $message=$_POST['message']; $name=$_POST['name']; if(strlen($message)<1) { print "You did not type amessage."; //no name entered } else if(strlen($name)<1) { print "You did not type name."; //no post entered } else { $thedate=date("U"); //get unix timestamp $displaytime=date("F … | |
The End.