Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
70% Quality Score
Upvotes Received
19
Posts with Upvotes
16
Upvoting Members
14
Downvotes Received
11
Posts with Downvotes
7
Downvoting Members
6
7 Commented Posts
~123.95K People Reached
Favorite Tags

136 Posted Topics

Member Avatar for Duki

A yummy PIZZA....Domino's Double cheese dip pizza....it's a hell tasty!!!!! Also having Garlic French Fries.....

Member Avatar for Dani
22
17K
Member Avatar for Doctor Inferno
Member Avatar for Gewalop

i think so u made this script quiet complicated for php beginners.... I will soon post the easier solution to this ...might be in tomorrow evening.... i have worked many times in this type of pagings...

Member Avatar for diafol
6
2K
Member Avatar for carebear23

check your code by replacing your line 8 with this..... [CODE]$str="delete from customer where customerid ='".$_POST['cid']."' ";[/CODE] If it's fine then ok...otherwise ....before line 8 add this line and see what's your output..... [CODE] echo $_POST['cid']; [/CODE]

Member Avatar for diafol
0
17K
Member Avatar for tomato.pgn

i want to make a photo uploader page...that uploads photo and display it in the same page...but i also have one more problem...i don't want page to be refreshed...because i have other controls in that page....can u give an idea how to do so???

Member Avatar for kaore
0
2K
Member Avatar for GrimJack

For me ,It's [URL="http://en.wikipedia.org/wiki/Tupac_Shakur"]2PAC[/URL] who gave a new singing style (rap) to this world.... And [URL="http://en.wikipedia.org/wiki/Mahatma_Gandhi"]Mahatma Gandhi[/URL] who used non-violence as his sword to fight for humanity.... ....

Member Avatar for GrimJack
3
532
Member Avatar for SunnySideUp

form.php [CODE] <html> <body> <form action="uploader.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> <input type="submit" name="submit" value="Submit" /> </form> </body> </html> [/CODE] uploader.php [CODE] <?php echo "Party Symbol<br/>"; if($_FILES["file"]["name"]) { echo $_FILES["file"]["name"]; echo $_FILES["file"]["tmp_name"]; move_uploaded_file($_FILES["file"]["tmp_name"], "./images/" . $_FILES["file"]["name"]); } ?> [/CODE] This is the simplest script …

Member Avatar for phpapprentice
0
1K
Member Avatar for johnwords
Member Avatar for suni123
0
257
Member Avatar for erza26

I have done what u want.... form.php [CODE] <html> <head> <title>Add text </title> </head> <script type="text/javascript"> function add_field(a){ // create a div element var div1 = document.createElement('div'); // Get template data if(a==1){ div1.innerHTML = document.getElementById('fieldtpl').innerHTML; } // append to div, so that template data becomes part of document document.getElementById('addhere').appendChild(div1); } …

Member Avatar for wongspl
0
241
Member Avatar for fidolas7

the first code in ur script must be session_start(); to do this just copy my code and write it just at the beginning of ur code... [CODE] <?php session_start(); ?> [/CODE] Hope ur problem might be solved....if any problem persist PM me....

Member Avatar for decade
0
241
Member Avatar for eduardc

try this... [CODE] mysql_query("SELECT * FROM Products"); [/CODE] This might work...if it is not working then check whether there is any table or not???? And also provide us the structure of the table Products

Member Avatar for karthik_ppts
0
583
Member Avatar for phpDave

for pagination refer to the following link....Click [URL="http://www.daniweb.com/web-development/php/code/351142"]here[/URL]

Member Avatar for phpDave
0
125
Member Avatar for noahshoa2

Wait for a day...i will make a better solution for this....and guide you to move on much further on the same.... Although vibha has given a nice example....

Member Avatar for tomato.pgn
0
211
Member Avatar for Dannis86

yes green codes are just comments ....you can delete them....they are meant only for others to understand how the code works and are not executed....

Member Avatar for Dannis86
0
2K
Member Avatar for phpbeginners

It is possible to do that...Although at present i don't have solution but it's a nice question n i will start working on it soon.... Many sites provide such kind of facilities...

Member Avatar for diafol
0
149
Member Avatar for darkrunner

session_start() must be the first statement.... So just remove it and place it at top... [CODE] <?php session_start(); ?> <html> <head> <?php ob_start(); include('connection.php'); $username = $_POST['username']; $password = $_POST['password']; $remember = $_POST['remember']; $sql = ("SELECT * FROM users WHERE username='$username'"); $result = mysql_query($sql); if ($result) { $rows = mysql_fetch_array($result); …

Member Avatar for aidant
0
144
Member Avatar for tomato.pgn

I am working on developing p2p chat system and also file share system.... But only thing is that ...i can't find out the way to find how to implement it...i have worked on client server programs but i m not able to get p2p... The concepts of P2P are:- 1. …

Member Avatar for lolafuertes
0
355
Member Avatar for umeshMCA

Think before writing [COLOR="red"]session_destroy()[/COLOR] It may lead to destruction of all the sessions....for reference click [URL="http://php.net/manual/en/function.session-destroy.php"]here[/URL]....

Member Avatar for sainigks
0
175
Member Avatar for 12jony34
Re: HTML

click [URL="http://www.w3schools.com/html/default.asp"]HTML tutorial[/URL] for understanding it and learning it... Institute will suck bucks for no reason and will just play tricks for all these .... It's better to use online tutorial and if you have any problem then just post in forums....people are there to help ya!!!! And moreover i …

Member Avatar for twiss
0
131
Member Avatar for murtazamzk

See the basic for job portal is that you must be able to make a register form for both user and company.... User have to upload their resume in that form... And then from the data entered in company form and user form must be stored in a database.... and …

Member Avatar for chrishea
0
320
Member Avatar for abhigame

check if the query you used to create database is similar to this:- [CODE] CREATE DATABASE database_name; [/CODE] I hope your problem is solved.... If you are not getting the database created then tell if you are getting any error and if so specify the error....

Member Avatar for abhigame
0
155
Member Avatar for geekme

ok..i will help you out...First of all download Wamp Server by clicking [URL="http://www.wampserver.com/en/dl32.php"]here[/URL]... Next for learning CSS click [URL="http://www.wampserver.com/en/dl32.php"]here[/URL]... and for php click [URL="http://www.w3schools.com/php/default.asp"]here[/URL].. These links provided will help you to understand the basic concepts of PHP.... If you want further help then refer [URL="http://www.php.net"]http://www.php.net[/URL] [B]PS-If your problem is solved …

Member Avatar for tomato.pgn
0
86
Member Avatar for jacob21

It's very simple...just while fetching data write in the sequence in which you need data... For example:- [CODE]<?php //database connection string $result=mysql_query("SELECT * FROM table_name") or die("Query error"); echo "<table>"; echo "<th>Chair</th><th>Bed</th><th>Sofa</th>"; while($row=mysql_fetch_array($result)) { echo "<tr><td".$row['chair']."</td><td>".$row['bed']."</td><td>".$row['sofa']."</td></tr>" ; } echo "<table>"; ?>[/CODE] Hope it's clear... [B]PS-If your problem is solved mark …

Member Avatar for jacob21
0
153
Member Avatar for aPPmaSTer

Ajax uploader and ajax update. Quite a few about now actually. Like the idea. May have a pop at it myself. I assume you need a callback function when the upload is completed 'cos as you know ajax is asynchronous, and using synch. ajax kinda defeats the object / causes …

Member Avatar for tomato.pgn
0
89
Member Avatar for serdas

Click [URL="http://www.daniweb.com/forums/solved.php?t=361671"]here[/URL] to mark the thread as read.... For using the onload option is notworthy on the body event...

Member Avatar for tomato.pgn
0
422
Member Avatar for azegurb

This is the syntax of define() [COLOR="Red"]bool define ( string $name , mixed $value [, bool $case_insensitive = false ] )[/COLOR] It is somewhat similar to #define in c,c++ it is used to define the value to a variable and is used throughout the scope.... For more details.... To get …

Member Avatar for tomato.pgn
0
286
Member Avatar for Killer.bee
Member Avatar for Jay_H

Use join to get records from 3 tables...For reference visit click [URL="http://www.tizag.com/mysqlTutorial/mysqljoins.php"]here[/URL] [B]PS-If your problem is solved mark the thread as solved[/B]

Member Avatar for tomato.pgn
0
62
Member Avatar for sawjuk
Re: WAMP

Actually at present i am using the latest version WampServer 2.1e (32 bits) and it is working fine... i have worked with it's previous versions also and their all worked fine without any bug till now for me.... Download wamp by clicking [URL="http://www.wampserver.com/en/dl32.php"]here[/URL]

Member Avatar for tomato.pgn
0
69
Member Avatar for Josef01

As i presumes you want to create table using any of the field like textbox or combobox.... Just understand this code that how it works and your problem will be solved- [CODE] <form method="POST"> Enter table name<input type="text" name="t_name"> <input type="submit" value="submit" name="submit"> </form> <?php if(isset($_POST['t_name'])) { //database connection string …

Member Avatar for Josef01
0
380
Member Avatar for BOOGIEjo

To upload file use this code... upload.php [CODE]<html> <body> <form action="uploader.php" method="GET" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> <input type="submit" name="submit" value="Submit" /> </form> uploader.php <?php //51 echo "Party Symbol<br/>"; //if($_FILES["file"]["name"]) { echo $_FILES["file"]["name"]; echo $_FILES["file"]["tmp_name"]; move_uploaded_file($_FILES["file"]["tmp_name"], "./record/" . $_FILES["file"]["name"]); } ?> </body> </html>[/CODE] Check this …

Member Avatar for BOOGIEjo
0
124
Member Avatar for Sarama2030

See their is one more method you can store the location of image instead of storing image in database.... And then retrieve the location of image and just use image tag...Hope it's clear..... [B]PS-If your peoblem is solved marked the thread as solved...[/B]

Member Avatar for tomato.pgn
0
119
Member Avatar for sandersen

header must be top of the codes. Don't use headers bottom of html codes. The "headers already sent" error is usually caused by having white space before or after the opening and closing PHP tags (<?php . . . ?>).

Member Avatar for ko ko
0
131
Member Avatar for johndohmen1963

Click [URL="http://www.dynamicdrive.com/dynamicindex11/abox.htm"]here[/URL] to learn about popup view using javascipt

Member Avatar for tomato.pgn
0
99
Member Avatar for tomato.pgn

mods i want to ask if it will be possible to change my email id for subscription to threads...It's filling my personal email id so i made another for forums...now i want to shift my subscription to that mail-id... Please help how can i do that... I want to shift …

Member Avatar for tomato.pgn
0
199
Member Avatar for p.user01

Don't panic...i am back to help you all... n2=(++n1)+[B](++n1)[/B] See the concept is that ++n1 is preincrement operator having greater priority so it will first increment n1 value and making it 3..... n2=[B](++n1)[/B]+(++n1) ++n1 is preincrement operator so it will be incremented to 4.... Now the above code is similar …

Member Avatar for WaltP
0
311
Member Avatar for Tabone3

So whats the problem ???is any error notified???or the uploading is not working.... Specify so that i could help you...

Member Avatar for tomato.pgn
0
239
Member Avatar for 54uydf

See the difference between GET and POST method is that GET method sends the form value send reflected in URL...Ofter this must be avoided when using secure login...as this may lead to insecurity or backhole left in your code leading to illegal access... POST methos sends the data but doesn;t …

Member Avatar for Killer.bee
0
151
Member Avatar for sajidk25

For xampp just install the xampp server and to start php and mysql services just click on start services in them and to stop them click on stop services... For using editor with xampp you can use netbeans 6.9 as a php editor... Netbeans is a good editor because ut …

Member Avatar for sajidk25
0
158
Member Avatar for rithish

I have tried to make the code simplier for you to understand easily... I debugged code and removed the errors... First of all while reading data you must put your code within try and catch block.... [CODE]import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class pat { public static void main(String …

Member Avatar for tomato.pgn
0
112
Member Avatar for tcollins412

[CODE] function foo() { echo "thanks for calling"; } $goto=$_GET['goto']; $sections= array('fail','success'); if(in_array($goto,$sections)) { foo(); //call the function u want to call here } [/CODE]

Member Avatar for Killer.bee
0
125
Member Avatar for Killer.bee

Check the code.... [CODE] <?php $ip = $_SERVER['REMOTE_ADDR']; echo $ip; if($ip >= "00.00.00.00" && $ip <="127.0.0.1"){ echo "<font color='red'>Ooops, your ip address has been banned from this website.</font>"; exit(); } ?> [/CODE] Hopefully it was useful... PS-If your problem is solved...mark the thread as solved...

Member Avatar for tomato.pgn
0
119
Member Avatar for turt2live
Member Avatar for Sarao

You can do this by just using a simple sql query.... You can do it by using "LIMIT" it will limit the number of records. If you have problem in that please notify that.... Code will be somewhat like this:- [CODE] SELECT sum(price) from info limit 10,10 [/CODE] In this …

Member Avatar for tomato.pgn
0
206
Member Avatar for liphoso

[CODE]class pat{ public static void main(String []args) { int w=4,t=0; int k = 1; int[]array=new int[5]; for (int r=0;r<=4;r++) { for (int i=r;i>=0;i--) { array[i]=i+1; System.out.print(array[i]); } System.out.println(); } } }[/CODE]

Member Avatar for dononelson
0
128
Member Avatar for professor123

what do you mean by submission script???Do you mean entering data in form or entering data in database???? Specify....

Member Avatar for tomato.pgn
0
118
Member Avatar for klemme

Look at the code below...I think so this is what you are looking for... data.php [CODE] <?php $con=mysql_connect("localhost","root","") or die("couldn't connect to mysql"); $db=mysql_select_db("abc",$con) or die("database not found"); $result=mysql_query("SELECT name FROM aaa") or die("query error"); echo "<form action='' method='GET'>"; echo "<select name='s'>"; while($r=mysql_fetch_array($result)) { //echo $r['name']; echo "<option value='".$r['name']."'>".$r['name']."</option>"; } …

Member Avatar for klemme
0
197
Member Avatar for netroxy

script for paging to show 1 to 10 at bottom of the page.... check.php [CODE]<?php $page=1; $nor=10; $a=1; if(isset($_GET['page'])) { } else { $_GET['page']=1; } echo $_GET['page']; $con=mysql_connect("localhost","root","") or die ("error"); $db=mysql_select_db("check",$con) or die("database not found"); $result=mysql_query("SELECT * FROM comment") or die ("query error"); echo "<table border='1'><tr><th>name</th><th>Comment</th></tr>"; $r=mysql_num_rows($result); echo $r."<br/>"; …

Member Avatar for tomato.pgn
0
174
Member Avatar for lovell_82
Member Avatar for lovell_82
0
144
Member Avatar for xiiopao

See you can work this out in one way....store all images in a folder and in database add location of image (either relative or absolute)... and then just display ie using the below code... [CODE] <?php include 'includes/connection.php' ; $query = ("SELECT * FROM pets"); $result = mysql_query($query); while($dog = …

Member Avatar for xiiopao
0
541

The End.