841 Posted Topics
Re: See this link... [url]http://www.daniweb.com/forums/thread138036.html[/url] | |
Re: [code=javascript] <a href="javascript:del('passing variable')" >JS function</a> [/code] | |
Re: You just put all your javascript statements in echo like following: [code=javascript] echo'<script language="javascript">window.location.href="example.php";</script>'; [/code] | |
Re: put your insert query in nthis condition: [code] if(isset($_POST['addbutton'])) { //insert query } [/code] put your update query in this condition: [code] if(isset($_POST['updatebutton'])) { //update query } [/code] | |
Re: i think you didnt provide password on line: [code] $conn = mysql_connect('localhost', 'root', ''); [/code] or simply use this code below: [code] <?php mysql_connect('localhost', 'username', 'password') ; mysql_select_db('dbname'); ?> [/code] | |
Re: Hello Mr.Rakesh... Please go through this attachment... let me know if any problem.... | |
Re: post your validation function also... | |
Re: normally use date type to your column.... | |
Re: and code for button is: [code] <input name="delbutton" type="submit" > //this shuld be inside of form tag.. [/code] And [code=php] if(isset($_POST['delbutton'])) { //write your deletion queries... } [/code] | |
Re: if you use session variable in included file,dont put session_start() in included file... use that line in the main file... if u dont understand my lines...tel me... or post your code briefly highlighting the usage of session... | |
Re: post thread in clearly with example... | |
Re: try this: [CODE] //whois processing has already been done. //if domain is available.... if ($this->checkDomain($domain,$server,$findText)) { //check for cookie if (isset($_COOKIE['loggedin'])) { //and echo 'logged in message' echo "domain available. You are logged in."; } if (!isset($_COOKIE['loggedin'])) { //else echo 'not logged in message' echo "domain available. You are not … | |
Re: you just write your sql queries... and retrieve all the date from tables.. [code] <?=$row["filepath"]?> [/code] it will prints the content of that file... | |
Re: see line 364: change that a href line to: [code] <a href="javascript:delpost('<?=$postrow['post_id']?>')" class="forgot" >Delete</a> [/code] tel me whats your error exactly... | |
Re: hello try this syntax: [code=php] $qry1="SELECT * FROM `yourtable`"; $res1=mysql_query($qry1) or die(mysql_error()); while ($qry = mysql_fetch_array($res1)) { $days[]=$qry['name']; } print_r($days); [/code] | |
Re: You must keep in mind these points: Back end is very important for a shopping cart site..means administration area will be must... in this admin area: 1.provide add products,manage products(edit,delete,give status active or inactive) ,when admin do the product active,then it will be seen by front end... 2.manage users.. 3.see … | |
Re: This can achieve by simple java script function: this is your table having some design: [code] <table width="291" id="prl" style="display:none"> <tr> <td width="95">message</td> <td width="196"><input name="message" type="text" id="message" ></td> </tr> <tr> <td>name</td> <td><input name="name" type="text" id="name"></td> </tr> </table> [/code] This the the link to show or hide your content: [code] … | |
Re: Refer w3schools.com and practice each example there.. and try update your knowledge... dont hunt for readymade code..its not helps you to improve your programming skills ... all the best.. | |
Re: better to put divs inside tables.... | |
Re: can i ask you one small question?? do you know c language...or any other languages.. and this is basic code for if and else statements: [code=php] $number_three = 3; if ( $number_three == 3 ) { echo "The if statement evaluated to true"; } else { echo "The if statement … | |
Re: hello, java script is a client side scripting...means doing some operations with out sending requests to the server...means for example doing validation for a form before interacting with server...by this we are not waste the server time... And read some javascript tutorials by googling... | |
Re: try this: [code=php] <input name="username" type="text" size="30" maxlength="50" value=" $row['username']; ?>" > [/code] $row['username'] comes form your database queries... | |
Re: PHP ans ASP are the web technologies and also serverside scriptings to be used to implement the logic behind the dynamic wed sites.... javascript is a client side scripting to be used to do more operation before sendng our form to server... An applet is a special kind of Java … | |
Re: its better to learn ajax.. because web2.0 is going to popular... for ajax , you need to know javascript... | |
Re: see these for reference.. For multidimentional array: [url]http://www.webcheatsheet.com/PHP/multidimensional_arrays.php[/url] [url]http://www.informit.com/articles/article.aspx?p=31840&seqNum=4[/url] | |
Re: post your getDisplayName('$id') function code..... | |
Re: Here is a neat and helpful PHP script that can count unique page views on your website. First you need to open up a new page in your text editor and paste in this code. [code=php] <?php $filename = "hits.txt"; $file = file($filename); $file = array_unique($file); $hits = count($file); echo … | |
Re: i dont know exactly...but this will helps you... use this: and put it in loop.... [code=mysql] TIMESTAMPADD(unit,interval,datetime_expr) Adds the integer expression interval to the date or datetime expression datetime_expr. The unit for interval is given by the unit argument, which should be one of the following values: FRAC_SECOND (microseconds), SECOND, … | |
Re: you just put it in document.write();...and see what will happen... | |
Re: [url]http://www.x-code.com/vdaemon/samples/registration.php[/url] [url]http://www.ibdhost.com/contact/[/url] [url]http://www.tizag.com/phpT/examples/formex.php[/url] [url]http://www.maketemplate.com/feedback/[/url] | |
Re: write mail function after your insert query..... | |
Re: Provide small code that runs on online and show output immediately and provide them to edit that code...just like in w3schools.... and also showing input and output with simple examples is the best way to show them what is going there..... | |
| |
Re: in first page: [code] <?php session_start(); $my="blue"; session_unregister("my"); session_register("my"); $_SESSION['my']=$my; echo "<a href='show_session_var.php'>Click here to go to next page</a>"; ?> [/code] in second page: [code] <?php session_start(); echo $_SESSION['my']; ?> [/code] | |
Re: read this article: [url]http://www.beansoftware.com/NET-Tutorials/Web-Crawler.aspx[/url] [url]http://en.wikipedia.org/wiki/Web_crawler[/url] | |
Re: i have done one project on school management system as my acadamic project...its very interesting ..maintaining the all teachers information,applying online leave s,browsing their history of service,applying online transfer etc.... | |
I am newbie to java implementation... can any one tel me the oops concepts with real time examples.... thanks in advance... | |
Re: and some more: [url]http://www.how-to-build-websites.com/[/url] [url]http://www.entheosweb.com/website_design/design_ideas.asp[/url] [url]http://www.secretsites.com/do_dont_part1.jsp[/url] [url]http://www.entheosweb.com/website_design/webdesign_tips.asp[/url] [url]http://www.smartwebby.com/web_site_design/default.asp[/url] | |
Re: use this MySQL command LOAD DATA INFILE 'path/to/text/file' IGNORE INTO TABLE mytable; | |
Re: This is the code for validating your emailid is same as confirm mail id: [code=javascript] if (d.email.value!=dc.value) { alert("Your email and Confirm emaildoesn't match.."); d.cemail.value=""; d.cemail.focus(); return false; } [/code] isNan function to be used to validate your phone number be having only numbers.... | |
Re: hello.. you should put one submit button... Try this: [code=php] <? if($_SERVER['REQUEST_METHOD']=='POST') { print_r($_POST); } ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <form action="" method="POST" name="app"> Please, enter your name: <input type="text" name="applicant" /><br /> Please, enter your telephone number: <input type="text" name="telephone" /><br /> Please, … | |
Re: this is correct one: [code] SELECT * FROM autoalto_mail as a1, autoalto_contractor_sentitems as a2 where a1.flag='1' and a2.flag='1'"; [/code] | |
Re: you just sort your table by id ,no need of sort by date..because your id is auto incremented one.... [code] $selcount = "SELECT * FROM autoalto_mail ORDER BY auto_id DESC" ; [/code] | |
Re: yes, this is really friendliest forum!! im also feeling like........... | |
Re: set your flag field according to your requirement, means when you clicked on the delete make your flag to 1,then the message is under trash... Explanation: when user send one message ,then insert it into messages table with flag=0,then when in inbox ,write your query with where clause is where … | |
Re: you just give different names to your buttons like: [code=php] <input type="submit" name="b1"> <input type="submit" name="b2"> <input type="submit" name="b3"> [/code] then at the top of your page: do like this: [code=php] <? ob_start(); if($_POST['b1']) { header("location:one.php"); } if($_POST['b2']) { header("location:two.php"); } if($_POST['b3']) { header("location:three.php"); } [/code] | |
Re: this is code for getting file name with out extension: [code] $fname=substr($HTTP_POST_FILES['myfile']['name'],0,strpos($HTTP_POST_FILES['myfile']['name'],'.'));[/code] the fname will have the file name.... | |
can any one tel me what is reason behind this error??? Fatal error: Call to undefined function: imagecreatefromjpeg() in D:\web\test\thumbnailcode.php on line 18 and i have already installed GD library in my system... thanks .... | |
Re: this is the comparision tutorial: [url]http://toastytech.com/evil/featurecompare.html[/url] And also refer: [url]http://toastytech.com/good/firefox_business.html[/url] [url]http://www.mouserunner.com/FF_SeeTheDifference.html[/url] [url]http://www-128.ibm.com/developerworks/web/library/wa-ie2mozgd/[/url] |
The End.