38,019 Topics

Member Avatar for
Member Avatar for ankit.pandey3

[QUOTE]Hi friends.............. I have a page in which all details of user displays. I want that when user click on button"Print ICard" then ICard is printed and this printed Icard have size of what I desire instead of full page and I also need "Thank You" message on print out …

Member Avatar for ankit.pandey3
0
643
Member Avatar for whiteyoh

Hi All, Im trying to get the following example to update without the need to click but cant get the bugger to work. The file its referring to is just echoing hello, im fine with setting that page up when its finished. all im getting is a white page. [code] …

Member Avatar for vibhaJ
0
98
Member Avatar for ChrisATO

Hello All, First let me acknowledge I am still fairly new to webdevelopment and this site. Thanks in advance to anyone who can help me with this issue and for those willing to try. The PROBLEM: I load into a div on index.php page via AJAX another php page. Once …

Member Avatar for ChrisATO
0
251
Member Avatar for saadi06

Hi, I am having problem with my code can anybody help it is giving me this error Parse error: parse error, expecting `T_FUNCTION'on line 4. Here is my code <?php class database { $dbconnect=NULL; $dbhost="localhost"; $dbuser="root"; $dbpass=""; $dbname="db_student_info"; function db_connect() { global $dbhost,$dbuser,$dbpass,$dbname; if(!$dbconnect) $dbconnect=mysql_connect($dbhost,$dbname,$dbpass); if(!$dbconnect) {return 0;} else if(!mysql_select_db($dbname)) …

Member Avatar for saadi06
0
659
Member Avatar for DaveyMoyes

Hi this is my first post on DaniWeb.... the information has helped me in the past but im seriously stuck.... Help would be very much appreciated.. Im trying to create a form where the user can upload 5 pictures to a mysql database (members) field names are img1, img2, img3, …

Member Avatar for red_ruewei
0
143
Member Avatar for Clarkeez

Hey. I need to copy the last 2 sets of numbers from this url [url]https://www.molten-wow.com/?display=info[/url] so I can put each one into a php variable Can this be done? Thanks

Member Avatar for rixius
0
205
Member Avatar for somakumaran

Hai Im trying to make a link for mp3 file from some folders. How create a link for these mp3 files by using php code ?

Member Avatar for rixius
0
111
Member Avatar for CEVGames

I have set the two following cookie when a user successfully logs in. [CODE]$total = mysql_query("SELECT total FROM usersystem WHERE username = '$username'"); setcookie("username", "$username", time()+3600); setcookie("total", "$total", time()+3600); header( 'Location: play.php' ) ; $_SESSION['username'] = $username; [/CODE] (Username is previously defined and does display when retrieved.) Then on the …

Member Avatar for CEVGames
0
74
Member Avatar for OnIIcE

Hi guys, Im in the middle of writing my own custom cms, and ive found a frustrating bug I cannot get rid of! When the user logouts, they can use the back button the trace back through the pages theyve been on. However refreshing the page shows them as logged …

Member Avatar for P0lT10n
0
113
Member Avatar for rolyestemonio

Hi guys, I have my code and it works of filtering data by Month and year.But it seems i got a problem when using accordion. i am kinda stack of it. Can anyone please help me out? This is my codes. [CODE] <link href="../_css/getpinoy.css" rel="stylesheet" type="text/css" /> <script src="../_utility/loadFlash.js" type="text/javascript"></script> …

Member Avatar for cossay
0
69
Member Avatar for khushhappy

Hi, I cant make the file to get uploaded. [B]index.html [/B] [CODE]<html> <body> <form enctype="multipart/form-data" action="uploader.php" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> Choose a file to upload: <input name="uploadedfile" type="file" /><br /> <input type="submit" value="Upload File" /> </form> </body> </html> [/CODE] [B]uploader.php[/B] [CODE]<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Uploader php …

Member Avatar for cossay
0
194
Member Avatar for OnIIcE

Is this possible? Well I know this method: [CODE] define('CLASSNAME', new CLASS(), true); [/CODE] dosnt work as I have tried it - but is there a special way to do it? thanks =) x

Member Avatar for pritaeas
0
86
Member Avatar for orcaraheel

//$update = $_POST['update']; //$quantity = $_POST['quantity']; //if($update){ //for($a=0;$a<$count;$a++){ mysql_query ("UPDATE productorder SET Product_quantity = '$quantity' WHERE id = '$id'"); THEY ONLY UPDATE THE LAST RECORD HOW I UPDATE THE MULITY RECORDS

Member Avatar for diafol
0
189
Member Avatar for the_mia_team

anyone here good with php coding and linking databases with mysql through coding itself? If someone can provide me help and fast I can paypal some money. Shoot me a message or reply, thank you

Member Avatar for cossay
0
137
Member Avatar for Rizzuti

Hello I'm trying to display images from my database using blob but the browser diplays them in a unusual way. This is what I get!!! <82<.231  1!!11111111111111111111111111111111111111111111111111������������� ������� ���}�!1AQa"q2���#B��R��$3br� What is it that i'm doing wrong? I tried adding a header(contect-type:image.jpeg) but is not working for me :( Here …

Member Avatar for Rizzuti
0
301
Member Avatar for detelli

[CODE]<? include_once('config.php'); ?> <? //----------------------------------------------- //PAGING STARTS FROM HERE //----------------------------------------------- // how many rows to show per page $rowsPerPage = 12; $productsPerRow = 1; // by default we show first page $pageNum = 1; // if $_GET['page'] defined, use it as page number if(isset($_GET['page'])) { $pageNum = $_GET['page']; } // …

Member Avatar for detelli
0
135
Member Avatar for abelingaw

[CODE] <html> <head> <title>Records</title> </head> <body> <?php $fname=$_POST['fname']; $age=$_POST['age']; $birthday=$_POST['birthday']; $con = mysql_connect('localhost', 'root' , ''); if (! $con) { die(mysql_error()); mysql_select_db("database" , $con) or die("Select Error: ".mysql_error()); } $result=mysql_query("INSERT INTO Record (Name, Age, Birthday) VALUES ( '$fname', '$age', '$birthday')") or die("Insert Error: ".mysql_error()); mysql_close($link); print "Record added"; ?> <form …

Member Avatar for abelingaw
0
100
Member Avatar for fersan

My problem, I have a grid that shows me all the data in a database and at the end of row I have a combo that I want to change I changed the database, but the problem is that although the row 5 and choose option 3 always updates the …

0
55
Member Avatar for mr-cracker

Hi all, i want to make a search page, there will be a dropdown box and a button for each result, i want to name the drop down boxes accordingly in such a way that i can use in the javascript code, i'm trying this way [ICODE]<select name="hh[]"> <option>b</option> <option>bb</option> …

Member Avatar for ko ko
0
115
Member Avatar for Stefano Mtangoo

I was finding Database schema for CMS that are already there (Drupal, Joomla et al) but not yet succeeded. I would be happy if anybody points me to it. I want to adopt for my uses, droping this and adding that! Thanks

Member Avatar for hielo
0
224
Member Avatar for veledrom

Hi guys, I have a website and I want to provide a chat option to those who become member so is there any script for me to serve this purpose? I've seen 121 demo but it is not what I would want. I just want something very simple like I …

0
49
Member Avatar for oneplace

I am not sure if anyone from here can help me with Oscommerce, I have tried at the forum on Oscommerce but have not got any answers as yet. What I want find out how I can do the following.: When you click on one of the categories, it displays …

Member Avatar for oneplace
0
77
Member Avatar for Ashwini123

Hi want to create a binary tree using table User registration having fields id, parent_id, user_id. id Parent_id user_id 1 0 110491 2 1 542248 3 1 998128 4 2 518457 5 2 055311 when i enter the user_id and submit it should display the tree for particular user_id. Can …

Member Avatar for blocblue
0
60
Member Avatar for Joe34

I'm creating a complex Contact form generator website. I know how to do everything except this one thing. For the user on my website to create a form they have to fill out another form asking questions such as how many questions are on your form..... But at the end …

Member Avatar for monica singh
0
112
Member Avatar for zeeshan_kust

Hi all i have an xml file e.g [CODE]<?xml version="1.0"?> <recipes> <recipe> <rec_id>14</rec_id> <name>Spaghetti with Crab and Arugula</name> <overview>http://www</overview><time>2010-11-11 14:35:11</time> <image>localhost/pics/SpaghettiWithCrabAndArugula.jpg</image> <instructions> <instruction> <instruction_id>14</instruction_id> <instruction_text>Cook spaghetti according to directions on package. Drain and set aside.</instruction_text> </instruction> <instruction> <instruction_id>15</instruction_id> <instruction_text>In a large saucepan, heat olive oil. Add garlic and chili and …

Member Avatar for Stefano Mtangoo
0
246
Member Avatar for aksshe10

i am using jquery at client end and use this code to send data [ICODE] $.post( "ajax.php", { Name:'doodle', Fathers_name:'anything' }, function(data){ $('#display').html(data.returnValue); }, "json" ); [/ICODE] the thing is that php $_POST['Name'] does not return anything nor does json_decode($_POST['Name']) but when i send data using the same function but …

Member Avatar for vibhaJ
0
79
Member Avatar for methuselah90

good day guys, i have loaded jquery keypad ([url]http://keith-wood.name/keypad.html[/url]) in a block ui modal window ([url]http://jquery.malsup.com/block/[/url]) but sadly it refuses to render in the modal window. has anyone encountered this problem yet? i have tested the jquery pad outside of the block ui modal and it works perfectly fine but …

0
69
Member Avatar for keyroche

Hello, I am using a database class that I wrote for my project. I created a query variable that is accessible to the whole class, so that when you query the database, the class stores the query so you can use the other functions without telling it the query to …

Member Avatar for keyroche
0
98
Member Avatar for PinkSmartie

Simply im in the middle of creating a search engine to that will pick out data from a certain table depending on what dropdown menu has been choosen! Ive got the search engine and display page working, but am trying to create an individual page for the results which i …

Member Avatar for PinkSmartie
0
99
Member Avatar for mr-cracker

Hi all, i'm doing a searching page, where results will be shown and there will be a check box for each row on left (similar to yahoo and gmail) all results together work as a form however each row can be controlled individually which means another form inside the main …

Member Avatar for chrishea
0
154

The End.