841 Posted Topics

Member Avatar for god_1896

See this link... [url]http://www.daniweb.com/forums/thread138036.html[/url]

Member Avatar for Shanti C
0
138
Member Avatar for dizz-
Member Avatar for iqbalhosan
Member Avatar for iqbalhosan
0
127
Member Avatar for netnuta

You just put all your javascript statements in echo like following: [code=javascript] echo'<script language="javascript">window.location.href="example.php";</script>'; [/code]

Member Avatar for netnuta
0
185
Member Avatar for rezvi

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]

Member Avatar for Shanti C
0
58
Member Avatar for veledrom

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]

Member Avatar for praveen_dusari
0
116
Member Avatar for knrakesh

Hello Mr.Rakesh... Please go through this attachment... let me know if any problem....

Member Avatar for saikishore
0
76
Member Avatar for greeny_1984
Member Avatar for vibhashin
Member Avatar for knarffrank

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]

Member Avatar for Shanti C
-1
198
Member Avatar for ramseswar

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...

Member Avatar for Shanti C
0
92
Member Avatar for vibhashin
Member Avatar for MDGM

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 …

Member Avatar for MDGM
0
193
Member Avatar for ishlux

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...

Member Avatar for Shanti C
0
83
Member Avatar for knrakesh

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...

Member Avatar for Shanti C
0
85
Member Avatar for nikolai.aas

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]

Member Avatar for Shanti C
0
104
Member Avatar for Tony0930

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 …

Member Avatar for Shanti C
0
111
Member Avatar for swanqute

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

Member Avatar for Shanti C
0
189
Member Avatar for nzaman

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..

Member Avatar for Shanti C
0
67
Member Avatar for max2me99
Member Avatar for nzaman

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 …

Member Avatar for nzaman
0
112
Member Avatar for nzaman

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...

Member Avatar for Shanti C
0
97
Member Avatar for rezvi

try this: [code=php] <input name="username" type="text" size="30" maxlength="50" value=" $row['username']; ?>" > [/code] $row['username'] comes form your database queries...

Member Avatar for Shanti C
0
47
Member Avatar for nzaman

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 …

Member Avatar for Shanti C
0
74
Member Avatar for knight fyre

its better to learn ajax.. because web2.0 is going to popular... for ajax , you need to know javascript...

Member Avatar for sTyleSHA
0
71
Member Avatar for abs0lut01

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]

Member Avatar for Shanti C
0
156
Member Avatar for god_1896
Member Avatar for kheikhei

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 …

Member Avatar for Shanti C
0
76
Member Avatar for nowitzk

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

Member Avatar for Shanti C
0
122
Member Avatar for priya_bob
Member Avatar for Shanti C
0
76
Member Avatar for justinmyoung

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

Member Avatar for Shanti C
-1
253
Member Avatar for saikishore
Member Avatar for 4fivers

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.....

Member Avatar for rexibit
0
137
Member Avatar for subratcall
Member Avatar for subratcall
0
64
Member Avatar for Papa Awortwe

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]

Member Avatar for Shanti C
0
92
Member Avatar for adnanahsan

read this article: [url]http://www.beansoftware.com/NET-Tutorials/Web-Crawler.aspx[/url] [url]http://en.wikipedia.org/wiki/Web_crawler[/url]

Member Avatar for lordspace
0
206
Member Avatar for ftm007

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....

Member Avatar for Shanti C
-2
49
Member Avatar for Shanti C

I am newbie to java implementation... can any one tel me the oops concepts with real time examples.... thanks in advance...

Member Avatar for Shanti C
0
89
Member Avatar for cstuart08

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]

Member Avatar for Shanti C
0
107
Member Avatar for abhi_tec

use this MySQL command LOAD DATA INFILE 'path/to/text/file' IGNORE INTO TABLE mytable;

Member Avatar for Shanti C
0
116
Member Avatar for moviemedic

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....

Member Avatar for moviemedic
0
184
Member Avatar for e_velkova

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

Member Avatar for e_velkova
0
261
Member Avatar for ishlux

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]

Member Avatar for Shanti C
0
85
Member Avatar for ishlux

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]

Member Avatar for saikishore
0
73
Member Avatar for adslgeek

yes, this is really friendliest forum!! im also feeling like...........

Member Avatar for Shanti C
0
146
Member Avatar for ishlux

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 …

Member Avatar for Shanti C
0
92
Member Avatar for veledrom

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]

Member Avatar for wulawula
0
3K
Member Avatar for s1a9r8a0

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....

Member Avatar for Shanti C
0
28
Member Avatar for Shanti C

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 ....

Member Avatar for Shanti C
-1
84
Member Avatar for greeny_1984

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]

Member Avatar for R0bb0b
0
104

The End.