39,393 Topics
![]() | |
I have some product details on a page which are produced dynamically from a database. When the user makes a selection, they choose the number of items they want to purchase from a list box. Each item has a very limited stock - sometimes only 1 or 2. A form … | |
I have a problem with a weird character appearing in my text it is "Â". What is it? Its is just before "Â<<" on my pagination script. There is nothing wrong with the actual writing it just appears on the script after it has run. | |
Hello I have a web application developed with php, using the Zend Framework. This application has a page that launches an external, C++, application. I was trying to do this using proc_open to start the job in background mode, save the handler to keep track of the process that will … | |
<?php session_start(); $ss = $_SESSION['event']; if ($ss != "eventcal") { $type = $_POST['type']; if($type=="auth") { include "checkauth.php"; }else{ include "authlogin.php"; $block = true; } }else { $block = false; } ?> Notice: Undefined index: event in E:\domains\h\highweb.co.uk\user\htdocs\geeta\assignments\php\HEC_1_2\HEC\authheader.php on line 3 Notice: Undefined index: type in E:\domains\h\highweb.co.uk\user\htdocs\geeta\assignments\php\HEC_1_2\HEC\authheader.php on line 6 Notice: … | |
I am an experienced python programmer, however I was aske to make an audit program in php or html. I have no clue what is going on here.. I need help. I created this outline for a program. The program is going to have checkboxes. Depending on what checkboxes are … | |
Hi, I 'm in need of help, I need to code a timer for a turn based txt based rpg game using SQL and PHP, I have a small idea of how this'd work but not sure I was thinking of using: [code=PHP] /* $time = (time() - time()+ 60); … | |
Hello, I am still learning php, and got stumped with how to generate dynamic variables. I normally do something like this after I do my query SELECT to get all the data from the row. [CODE] $ID = $row->ID; $parentID = $row->parentID; $name = $row->name; $color = $row->color; $location = … | |
Hi I wonder if anyone could help me with this idea. I would like to automatically redirect a user once they have logged in. An good example would be like daniweb's, a page appears saying 'you will be redirected in 3 seconds otherwise click here'. Is this done through javascript, … | |
please can anyone tell me how i can create a form with check boxes and also a submit button using post. | |
Thanks for your help in the past, and this forum is great. I have a question about dates, and in searching, there are huge amounts of results, but very hard to narrow it down to exactly what I'm asking. In using PHP, I have some variables pulled from mysql databases … | |
Hi guys, Iam trying to make some code to check if author of the book is already exist on its authors table or not so if he already exist : get his id number if not exist : insert it to authors table then get its id number i try … | |
Hello fellow members....... I have been learning a forum creation video tutorial lately and I found few errors in them but the author is just NOT responding to my emails..... Anyhow these are the errors which I am facing: The Error I am facing is 'uid' which it says is … | |
Hey all! I have a question that I just need a real solid answer to ;) Basically, I need a PHP script that checks values inputted by a form for special characters (only allows letters, numbers, and apostrophes). For form validation :D. I'm really not the best with regexes otherwise … | |
HI, My website has an import csv feature. how can I identify that user uploaded a csv file. when I make uploaded csv file from two different systems it shown two separate types like 'application/download' and 'application/octet-stream'. It is confusing. Is there any idea to validate a csv file. file … | |
Pleas help me on this i am a new one for php and i want to upload a picture to database can u plz help me to do this ................ thanx............. | |
Hi can any one Fix this problem, I am Uploading images to a folder , There i displays images but unfortunately display only the file name and not the image can any help me, BELOW IS THE CODE [CODE][LIST=1] [*]<?php [*] include 'dbcon.php'; [*]?> [*]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 … | |
Hi, [code] function xyz() { <a href="<?=$rame['img_link']; ?>" ><img src="img/<?=$rame['preview']; ?>" width="<?=$w;?>" height="<?=$h;?>" alt="<?=$rame['name']; ?>" /></a> } [/code] Using function I get image and url suppose image->url=http://www.daniweb.com I want to do like... when user click on this image i want to save count(hit) into database(mysql) How to do this...?? | |
Hello friends, I am displaying want to display Comments column. It will display the 1,2,3,4,..n where n is the number of application in proposal_application table. The code dispaly the other information with 2 different color for alternate rows. Can you please help me out to display the Comments column. Here … | |
i am trying to get this code to work but there is something wrong with the array (not to good at these). the main part of the code works it is sending out the email but only ever to one registered user. here is the code i have so far. … | |
I was wondering if anyone could help me out with finding the penguin php code. I've looked all over the place for it, and have had no luck finding it what so ever. The on im talking about is where the penguin is sitting, or maybe hes standing, I forget … | |
Hi i am new to php, can any of u help me, I am storing details such as name , address, email id, phone no, fax no and all. and i am creating edit form to edit those details , i am returns almost all values except address and select … | |
I am looking for a PHP tutorial or a script to write a small email contact form in OOP not the procedural method. I would like to use the mail server connected to my hosting services as opposed to sending it through Google. Thanks! WBR | |
hello, how can I display a data (ex. course) in a drop-down list whenever I add a data? thanks! | |
I can encrypt with ENCRYPT ------------ $pass = $_POST['sort_code']; $query = "INSERT INTO customer(sort_code) VALUES (AES_ENCRYPT($pass,'key'))"; the above code take a value from form and puts in the database as encrypted value. The field type of the sort_code in my database was varchar but now i have changed to BLOB. … | |
Hi I had a php page with some datas. When a visitor visit this page I need to show a div until the page loads completely... I tried many but cant.... Please any one help me with right idea or a bit of script ...... Thank you for your time … | |
Hello friends, I am displaying the comments suggested by 4 faculty members for each student. I want displaying three columns. Let me start with the second column first, which displays the Faculty 1, faculty 2, faculty 3, faculty 4. The third row display respectively comments given by faculty. Ok. Now … | |
Im trying to detect the format of an image. But I get a parse error [PHP]<?php $filename = 'http://static.php.net/www.php.net/images/php.gif'; $file = fopen($filename, 'rb'); $size = getimagesize($file); switch ($size['mime']) { case "IMAGETYPE_GIF": echo "Image is a gif"; break; case "IMAGETYPE_JPEG": echo "Image is a jpeg"; break; case "IMAGETYPE_PNG": echo "Image is … | |
mktime() not working for 04/06/2111. Which is the reliable alternative? | |
Hello. I am completely new to web development but want to learn PHP. I am currently a Sys Admin working in a Windows environment but I am very familiar with Linux OS server platforms also having built and run both a Windows and Linux web, MS SQL, and MySQL servers. … | |
Hello, I have this snippet of code to echo out the "mailer_id" with the largest value - [CODE]<?php $result = mysql_query('SELECT MAX(mailer_id) FROM mailer_directory')or exit(mysql_error()); echo 'the max mailer_id is ' . mysql_result($result, 0); ?>[/CODE] My question is how do I echo out the corresponding email value for that field … |
The End.