39,323 Topics
| |
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, … | |
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 | |
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 ? | |
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 … | |
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 … | |
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> … | |
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 … | |
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 | |
I put a simple script: [code] <? php print "Hello world"; ?> [/code] here: [url]http://ewh.ieee.org/r1/schenectady/HelloWorld.php[/url] When I go to the page, I don't see "Hello world" displayed. Does that mean PHP is not enabled on the server? Thanks, David | |
//$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 | |
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 | |
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 … | |
[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']; } // … | |
[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 … | |
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 … | |
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> … | |
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 | |
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 … | |
Hello everyone, I am really struggling with ajax and was wondering if someone could help me send a string as data by jquery's post method to my servlet. My post does not work, and when I try to receive it from my servlet, the whole thing blows up :( In … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
How i move to one page to another with parametres just click submit button and in second page display data from mysql database? Thank you!! | |
[CODE]while ($div=mysql_fetch_array($query4, MYSQL_ASSOC)) { //$div - shows all the entries $row22=mysql_fetch_array($query2, MYSQL_ASSOC); //row22 - shows all the entries that should be checked $name= array($div['date_id']); $datess=$row22['date_id']; if (in_array($datess, $name, true)) { echo '<input type="checkbox" value="' . $div[date_id] .'" checked>' . $div[date] . '</option>'; }else{ echo '<input type="checkbox" value="' . $div[date_id] .'">' … |
The End.