39,393 Topics

Member Avatar for
Member Avatar for HelenLF

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 …

Member Avatar for HelenLF
0
73
Member Avatar for ripper1510

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.

Member Avatar for almostbob
0
68
Member Avatar for rmlopes

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 …

0
90
Member Avatar for rohnni

<?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: …

Member Avatar for rohnni
0
145
Member Avatar for Rooking

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 …

Member Avatar for nav33n
0
70
Member Avatar for maloken

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); …

0
64
Member Avatar for rariti

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

Member Avatar for rariti
0
152
Member Avatar for Designer_101

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

Member Avatar for mschroeder
0
94
Member Avatar for achiman

please can anyone tell me how i can create a form with check boxes and also a submit button using post.

Member Avatar for achiman
0
113
Member Avatar for frank754

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 …

Member Avatar for nav33n
0
163
Member Avatar for MoDe52

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 …

Member Avatar for nav33n
0
92
Member Avatar for rEhSi_123

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 …

Member Avatar for rEhSi_123
0
352
Member Avatar for jeffc418

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 …

Member Avatar for pritaeas
0
104
Member Avatar for valsaraj

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 …

0
58
Member Avatar for ruwanaru

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

Member Avatar for ruwanaru
0
315
Member Avatar for prawin@123

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 …

Member Avatar for nav33n
0
160
Member Avatar for Aamit

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

Member Avatar for nav33n
0
82
Member Avatar for madristaa

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 …

Member Avatar for pritaeas
0
286
Member Avatar for kevin wood

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

Member Avatar for nav33n
0
1K
Member Avatar for HailttRedskins

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 …

Member Avatar for perpetualstiffy
0
103
Member Avatar for prawin@123

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 …

Member Avatar for prawin@123
0
104
Member Avatar for rouse

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

Member Avatar for rouse
0
58
Member Avatar for babyfrostie

hello, how can I display a data (ex. course) in a drop-down list whenever I add a data? thanks!

Member Avatar for ahmksssv
0
99
Member Avatar for ash_85

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

Member Avatar for ash_85
0
91
Member Avatar for rajeesh_rsn

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 …

Member Avatar for rajeesh_rsn
0
118
Member Avatar for madristaa

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 …

Member Avatar for madristaa
0
110
Member Avatar for theimben

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 …

Member Avatar for pritaeas
0
72
Member Avatar for valsaraj

mktime() not working for 04/06/2111. Which is the reliable alternative?

Member Avatar for mschroeder
0
110
Member Avatar for EdTheUniqueGeek

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

Member Avatar for EdTheUniqueGeek
0
113
Member Avatar for Bob Arctor

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 …

Member Avatar for Bob Arctor
0
110

The End.