841 Posted Topics

Member Avatar for runnermile

Its better to do like,set your questions in your dropdown from database is good... check this thread ,here you can found attachments,that will get you clear answer.... [url]http://www.daniweb.com/forums/thread132703.html[/url]

Member Avatar for Shanti C
0
63
Member Avatar for jithusdani

see this thread will get you the answer... [url]http://www.daniweb.com/forums/thread134714.html[/url]

Member Avatar for lydia21
0
115
Member Avatar for praveen_dusari
Member Avatar for muthu raj

See this thread: [url]http://www.daniweb.com/forums/thread133380.html[/url] [url]http://www.daniweb.com/forums/thread126462.html[/url] [url]http://www.daniweb.com/forums/thread134147.html[/url]

Member Avatar for Shanti C
0
80
Member Avatar for muthu raj

See this thread: [url]http://www.daniweb.com/forums/thread133380.html[/url] [url]http://www.daniweb.com/forums/thread126462.html[/url] [url]http://www.daniweb.com/forums/thread134147.html[/url]

Member Avatar for Shanti C
0
82
Member Avatar for akshit

this is one type: [code=php] <script> function Add() { </script> <td width="300" ><input type="text" name="txt_prodid[]" class="border" size="25" /></td> <td width="200" colspan="2"><input name="txt_proddescription[]" type="text" class="border" size="36" /></td> <td width="200"><input type="text" name="txt_prodquantity[]" size="20" class="border" /></td> <script> } </script> <form name="pr_form" action="pr_add.php" method="post" onSubmit="return validateForm();"> <tr width="508" align="center"> <td colspan="2" align="right"><input name="Product" type="submit" …

Member Avatar for akshit
0
236
Member Avatar for akshit
Member Avatar for Shanti C
0
109
Member Avatar for akshit

You just write small logic in one page called login_check.php... and you must include that file in every page where ever you want security to your page: like: [code=php] <? include("login_check.php"); ?> [/code] In login_check.php: [code=php] <? session_start(); if(empty($_SESSION['user_name'])) { header('location:index.php'); } ?> [/code]

Member Avatar for Shanti C
0
161
Member Avatar for rejisha

[code=javascript] var1=document.getelementbyid('txt1').value var2=document.getelementbyid('txt2').value var3=Number(var1)+Number(var2) [/code] or concentrate on eval() function in javascript by googling....

Member Avatar for ~s.o.s~
0
158
Member Avatar for ravi_007connect

[code=php] <?php $data2 = file_get_contents("data2.txt") + "1"; $fp = fopen("data2.txt", "w"); fwrite($fp, $data2); fclose($fp); ?> [/code]

Member Avatar for Shanti C
0
119
Member Avatar for andrew13d

Generally with all server side scriptings like php,jsp our request is going to server and come back with response...For some point of views there no need to go to server,like in the example situation validations...So we are going to use client side scripting which dont waste the time.... Now the …

Member Avatar for Shanti C
0
101
Member Avatar for Rakesh Nagekar

see this attachment, and change that according to your desire...

Member Avatar for Shanti C
0
85
Member Avatar for praveen_dusari

Refer this for playing video... [url]http://rainbow.arch.scriptmania.com/scripts/music/video.html[/url]

Member Avatar for Shanti C
0
77
Member Avatar for lydia21
Member Avatar for Rakesh Nagekar

Echo your insert query and tel me where the error was placed.. give me your table also...

Member Avatar for Rakesh Nagekar
0
83
Member Avatar for punithapary

This is the code: [code=php] To functions to convert integers to roman figurs and back <?php // Function that calculates the roman string to the given number: function dec2roman($f) { // Return false if either $f is not a real number, $f is bigger than 3999 or $f is lower …

Member Avatar for Shanti C
0
315
Member Avatar for punithapary

See this: [code] <?php echo substr("Hello world!",6); ?> [/code] The output of the code above will be: world! and [code]<?php echo substr("Hello world!",6,5); ?>[/code] The output of the code above will be: world ------------------------ You can see more string functions by googling...

Member Avatar for Shanti C
0
72
Member Avatar for Rakesh Nagekar

Basically searching with database means restrict our tables with our requirement... In my examples which i have attached here, you can fine different types of searchings here... For that in phonefinder page i put a hidden variable like: [code] <input type="hidden" name="phonefinder" value="ok">[/code] And in search_box1 page, i have registered …

Member Avatar for Shanti C
0
62
Member Avatar for asyieen
Member Avatar for asyieen
0
172
Member Avatar for ishlux
Member Avatar for asyieen

Check this code: [code=javascript] <script> function comparision(){ d=document.form2; var total=""; if(!d.contype.length){ if(d.contype.checked) { d.check_compare.value=d.check_compare.value+d.contype.value+','; return true; } else { alert("Please select check Box"); return false; } } for(var i=0; i < d.contype.length; i++){ if(d.contype[i].checked) { # total +=d.contype[i].value + "\n"; d.check_compare.value=d.check_compare.value+d.contype[i].value+','; } } if(d.check_compare.value=="") { alert("Please select atleast one check …

Member Avatar for Shanti C
0
429
Member Avatar for farah_anis
Member Avatar for gargg321

[code=javascript] if (Date.parse(fromDate) > Date.parse(toDate)) { alert("Invalid Date Range!\nStart Date cannot be after End Date!") return false; [/code] } or [code=php] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="Content-Script-Type" content="text/javascript"> <meta name="Content-Style-Type" content="text/css"> <title>Example</title> <script type="text/javascript"> <!-- function check (f) { var …

Member Avatar for Shanti C
0
180
Member Avatar for sujith.it

Very Important Factors 1.) Use keywords in the file name of the image, such as red-widget.jpg. 2.) Make sure the image has a caption, preferably in bold, immediately above or below the image, with the keyword(s) you’re targeting. 3.) Also use the keyword(s) immediately before or after the image in …

Member Avatar for Shanti C
0
123
Member Avatar for punithapary

Check this url: [url]http://www.case.edu/projects/erp/projectdetails.html[/url]

Member Avatar for Shanti C
0
44
Member Avatar for jithusdani

Your update query should be like this: [code=php] $qur= "update tbl_circular set `date`='".$date."', `headline`='".$headline."', `description`='".$des."' where headline like '%".$head."%'"; $update1=mysql_query($update) or die("Could not Update"); [/code] Post if error occures...

Member Avatar for Shanti C
0
136
Member Avatar for ishlux

You just try to implement the inbox hyperlink and then show all messages with subject and date from the database by using while loop... Its so simple to develop... ALL THE BEST.

Member Avatar for Shanti C
0
80
Member Avatar for aandy501

Find this url and right side they mentioned free services: [url]http://www.mypagerank.net/service_sn_index[/url]

Member Avatar for Shanti C
0
33
Member Avatar for Shanti C
Member Avatar for Shanti C
0
98
Member Avatar for themailsian

Try like this: [code=javascript] <script language="JavaScript" type="text/javascript"> var d = document.form1; function del(x) { if(confirm("You want to delete this record")) { d.submit(); } return; } </script> [/code]

Member Avatar for Shanti C
0
105
Member Avatar for sankarmal

May this will help you: [url]http://us.php.net/mysqli_multi_query[/url]

Member Avatar for Shanti C
0
81
Member Avatar for Rakesh Nagekar

What is done in login page is: You just compare your typed name and password with database name and password, if they are correct ,then you just put them in sessions like: [code] session_unregister(user_name); session_register(user_name); $_SESSION['user_name']; [/code] Then you can use them where ever you want... please reffer some session …

Member Avatar for Rakesh Nagekar
0
95
Member Avatar for punithapary

[code=php] //your database connections... <select name="state" class="input_form" style="width:150" > <option value="" selected>Select State</option> <? $query1=mysql_query("SELECT * FROM onetable "); $cnt=mysql_num_rows($query1); if($cnt>0) { while($list1=mysql_fetch_array($query1)) { echo "<option value='$list1[id]' >$list1[name]</option>"; } } ?> </select> [/code]

Member Avatar for praveen_dusari
0
56
Member Avatar for rupaknath
Member Avatar for RahulV

online shopping forums blogs online ticketing student maintenece shopping cart portal library system

Member Avatar for Shanti C
0
145
Member Avatar for zahra1364

Its working fine what you have posted... Check your database queries once. The syntax is also correct...

Member Avatar for Shanti C
0
71
Member Avatar for ishlux

you just create a table like messages in your database, and create a sent form , insert customer quotes in database including customer id which is in session,, And at service provider side,you just retrieve them to his box means: [code=php] function getdata($tble,$field,$whr) { $q="SELECT $field FROM $tble where $whr"; …

Member Avatar for Shanti C
0
86
Member Avatar for ishlux
Member Avatar for ishlux

See this: [code=php] function get_all_listings() { $query = "SELECT * FROM `metlistings`"; $result = mysql_query($query) or die(mysql_error()); //Count the rows retrieved $count = mysql_num_rows($result); for ($i = 0; $i <= $count; $i++) { while($row = mysql_fetch_array($result)) { $title = stripslashes($row['metName']); $link = $row['metId']; $arr = array("listings" => array("total" => $count, …

Member Avatar for Shanti C
0
136
Member Avatar for tip850

May this help you: [url]http://in2.php.net/manual-lookup.php?pattern=array_keys%255Darray_keys%28%29&lang=en[/url]

Member Avatar for Shanti C
0
90
Member Avatar for jithusdani

I attach the code for pagination here.. check and implement for your application..

Member Avatar for Shanti C
0
74
Member Avatar for kuldeep04

You have to insert all variables like what his order number,items form products table,amount,date into one table like order_user_details before mailing them to customer.At the admin side you can see who ordered for what,and also the status of order....

Member Avatar for kuldeep04
0
106
Member Avatar for Shanti C

hello... Can any one please help me out? I want an image gallery script, where the images are displayed as thumbnails from many subfolders created dynamically and not from database... Thanks in Advance...

Member Avatar for tanha
0
527
Member Avatar for Rakesh Nagekar

First you have to gain clear idea about blogs... Means what are the categories they are using, any sub categories are there, and what is going on when they post blog, Know can we place 2 or more blogs, Know how one blog is different from another blog. Browse different …

Member Avatar for adrenaline_elz
0
82
Member Avatar for Orbit2007
Member Avatar for Suneetha Reddy

Hi Naveen... I have done a code with your reference.. But i got error in mysql: Error SQL query: "SELECT fname,date,curdate(),(YEAR(curdate())-YEAR(date))-(RIGHT(curdate(),5)<RIGHT(date,5)) AS age FROM date_profiles ORDER BY fname"; MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version …

Member Avatar for nav33n
0
165
Member Avatar for gap2117
Member Avatar for ditty

Hello ... Try this code.. [code=php] <?php 2. $fileatt = ""; // Path to the file 3. $fileatt_type = "application/octet-stream"; // File Type 4. $fileatt_name = ""; // Filename that will be used for the file as the attachment 5. 6. $email_from = ""; // Who the email is from …

Member Avatar for tanha
0
140
Member Avatar for Rakesh Nagekar

[code=php] if($_GET['stat']==1){$p=1;$m=5;} else{$p=0;$m=6;} $q="update yourtable set status='".$p."' where id='".$_GET['id']."' "; mysql_query($q); [/code] this is to display status: [code=php] if($row['status']==0) { $i="In-Active"; $j=1; } else { $i="Active"; $j=2; } [/code] This is where your status link in your page: [code=php] <td align="center"class="style13" ><a href="managepage.php?id=<?=$row['id']?>&stat=<? echo $j?>" > <? echo $i?></a> </td> …

Member Avatar for Shanti C
0
115
Member Avatar for johnathanamber

Helloo.. k.Thats fine... Tel, how did you get your record from database means by using one id,you was getting the records from db to update now,by using that id ,you can update your record now... Using where clause in update query... ANy doubt tel me...

Member Avatar for johnathanamber
0
424

The End.