39,393 Topics

Member Avatar for
Member Avatar for gsivaram11
Member Avatar for almostbob
-4
43
Member Avatar for Nadoosh

Am currently working on a PHP project..and am stuck with the calculation part and sending the results to my database table, am dealing with checkbox and my task is to allow members to tick all the suitable times and then to send each column to their table in my database …

Member Avatar for Nadoosh
0
100
Member Avatar for diafol

Anybody know how to do the following: id (PK/autoincrement) file_id (FK/int) - same file id pops up loads of times statement (varchar) - just some text from the file status (tinyint 0/1/2) - depending on the statement = 0 or 1 or 2 into a single record for each file_id, …

Member Avatar for diafol
0
1K
Member Avatar for digital-ether

I have a page that is under SSL. However, in IE6, I get a notification: "This page contains both secure and non-secure items" etc. I've looked at all the HTTP requests for that page in both Firebug and Wireshark, and none of it seems to be sent over plain HTTP, …

Member Avatar for digital-ether
0
204
Member Avatar for solarb

hi first of all i want to create a linking with two tables in database: 1 table : id,name 1 nick 2 john 3 michael 2 table (i want to use this table for dropdown list) id,job 1 engineer 2 scientist 3 coder how can i link them both? the …

Member Avatar for diafol
0
81
Member Avatar for Venom Rush

Hi all I just want to know if this is possible with php? Basically what I want is to have a user upload an image. Two thumbs are created from this image, one with the original colours and one that's greyscale. I then want to take these two images and …

Member Avatar for ShawnCplus
0
79
Member Avatar for elijahmangwe

Specification: I wrote most of the code separately but seems am having difficulties linking it to my database: Write a simple E-commerce application, which may be a bookshop, music shop, clothes store, or anything else you wish. There should be a “user” interface to allow customers to select and purchase …

Member Avatar for ShawnCplus
0
53
Member Avatar for cane23

hey i am trying to execute a query statement here is my code below [CODE] $sel="SELECT course_name,course_code FROM courses WHERE course_name='$diff'"; if ($result2=mysql_query($sel)) {echo"nice"; } else { echo "shit"; } while ($row2 = mysql_fetch_row($result2)) { echo"row[0] : row[1] <br>"; }[/CODE] please note that the $diff variable is an array while …

Member Avatar for jstrain@gpc.edu
0
96
Member Avatar for muralibobby2015

hello.... i am doing search concept. i am searching one word from all my web pages . actually i have only one table for 25 static pages. among this pages i want to search searching content. and also highlight the search content. how to do?

Member Avatar for ShawnCplus
0
122
Member Avatar for lll_ari_lll

hello folks, its Aritra here, a newbie in daniweb as well as in code world.. i am a student of BCA, and doing my major project now.. and facing enormous difficulties.. don't know sufficient php.. but studying through different tutorials. i have been told to redecorate an intranet website and …

0
121
Member Avatar for dominique7

Dear programming cracks! I set up a website and thought an email form would be nice, but I thought it would be easier to get it right! I got it quite ok with the easy example below which I found at: [url]http://www.freewebmasterhelp.com/tutorials/php/6[/url] [CODE]<? function checkOK($field) { if (eregi("\r",$field) || eregi("\n",$field)){ …

Member Avatar for dominique7
0
164
Member Avatar for StrikeFreedom

Hi I've been trying to make pagination for my search results and I have this problem: The first page displays ok but when the max result per page is achieved like $max_results = 2 and it reached 2 the links for the other pages shows but when clicked on it …

Member Avatar for blanche3
0
171
Member Avatar for Chjo

ok so i have a problem: ldap_bind without SSL works just fine but when i switch to SSL it doesn't bind. The simple code im testing this with looks like this [CODE] <?php // LDAP variables $ldaphost = "ldaps://myserver.com"; // your ldap servers $ldapport = 636; // your ldap server's …

Member Avatar for jstrain@gpc.edu
0
319
Member Avatar for selvasoft

please any one help me i want display images from mysql database to my web page... i have no clear idea about that please help me.. i want script that will upload file and also display files in date vise. And also i want display my images like my attachment. …

Member Avatar for muralibobby2015
0
100
Member Avatar for ravi0703

Hi, I want to display the less characters in table. In the database the field datatype for description is TEXT. So for example, when i insert more then 500 charaters in that field. When i fetch that description field in the table(front-end) it is increasing the table size as per …

Member Avatar for logonchristy
0
128
Member Avatar for sarithak

hi frnds.. i am using while loop for getting more records..in this having [B]div[/B]..i need to change div name dynamically...but right now i cant do that code...plz change the below code..... [CODE] <DIV id="div_MoviePicRate" name="div_MoviePicRate" class="text2_grey" align="left">&nbsp; <IMG alt="I Agree, Your life Sucks" src="images/up.png" style="cursor:pointer" border="0" onclick="javascript:TF_RateThumb(<?php echo $p_id; ?>,<?php …

Member Avatar for i-hate-blue
0
135
Member Avatar for lisles

I want to echo a message before redirecting.the message gets displayed but it disappears very soon.is it possible to increase the time of display before redirect.this is my code [code=php] if($result) {echo "Data has been edited"; redirect('edit.php'); } else { echo "<p>cannot update your data<p>"; } function redirect($loc){ echo "Reset …

Member Avatar for OS_dev
0
2K
Member Avatar for sammer021486

I need some help with developing a breadcrumb trail/menu. I am currently using php scripts to call my menu to the currently viewed page. Due to my menu being so large and wanting to keep all of the content on one screen size, without using vertical scroll bars. I have …

Member Avatar for sammer021486
0
1K
Member Avatar for lisles

hey,can any1 tell me what im doin wrong here.im trying to upload a pdf file but the file is not gettin uploaded.here's my code [code=php] <?php require_once "../inc/functions.php"; sessionCheck(); session_start(); $old_sessionid = session_id(); //i've added these lines session_regenerate_id(); //i've added these lines $new_sessionid = session_id(); if($_POST['submit'] && $_FILES['txtFile']['name']){ global $uploadPath; …

Member Avatar for lisles
0
96
Member Avatar for jonyetter33

I'm attempting to create a form that will eventually take user submitted information to create a pdf and email it to them with a pdf attachment. I got through making the form, and how I've been getting the information from page to page (its about a 4 page little form) …

0
78
Member Avatar for s_kanika

Hello everyone i'm new to daniweb and php also. i need help. I want to send sms alert to my customer when he fills a form just like email alert from my website Can anyone help me. Thanx a lot in advance

Member Avatar for vsmash
0
78
Member Avatar for grisha83

Hey guys, I am trying to do the basic :hello world" in PHP When i compile the code, my browser doesn't display "hello world" it is giving me an error: "You tried to access the address [url]http://localhost/PhpProject1/index.php[/url], which is currently unavailable. Please make sure that the Web address (URL) is …

Member Avatar for diafol
0
220
Member Avatar for replic

Hi everyone, as said in the title i have a _very_ basic IRC bot that keeps disconnecting after a few seconds. This is what i have so far and i'm grateful for every hint you might have. I also checked this thread but it did not really help: [url]http://www.daniweb.com/forums/thread243489.html[/url] [code] …

0
93
Member Avatar for sutt0n

Ok, so basically I want to be able to do this. I have it all down from obtaining the content from the e-mail and saving the attachment, but when I save the file's content into a file (permissions aren't a problem, as you'll see in the code) it doesn't show …

0
157
Member Avatar for SKANK!!!!!

[CODE]$arr = array(1 => "rambow", 2 => "rambow", 3 => "popcorn", 4 => "rambow");[/CODE] how do i make it in simpler format so i dont have to keep typing "rambow" for every number that => "rambow" ? cause theres a lot of "rambow" for a whole bunch of numbers. isnt …

Member Avatar for OS_dev
0
120
Member Avatar for andydeans

hi, i added a css code to transform the text of my input form however it only displays this and inserts lower case into the database rather than first letter being capitalized. i looked at the phpstrtoupper, however how would i use this in my input form to change it …

Member Avatar for diafol
0
125
Member Avatar for Mujahid158

How can I set a time limit for a user to stay on a web page. Let me explain it to you; Let suppose I've two web pages, page-A and page-B. When the user is on page-A, he needs to stay at this page for 30 secs before going to …

Member Avatar for diafol
0
98
Member Avatar for sumit007

Hii I m using PHP-MySQL to make a class assignment. In this i have made a login control. It was working very fine. But i made an attempt to provide the password changing facility. Since then my project is not logging in. It shows in table the new password but …

Member Avatar for Fbody
0
101
Member Avatar for shraddha Hinge

i have 3 variables $page_no,$noc_no,$doc_no these are coming from 3 different drop down on other page only one is active at a time i want to assign one of the variable to variable in select statement ie $card_id at a time [code] $page_no=$_POST["page_no"]; $page_no=$_POST["page_no"]; $yr=$_POST["publication_year"]; $noc_no=$_POST["noc_no"]; //echo $noc_no; $doc_no=$_POST["doc_no"]; //echo …

Member Avatar for as.bhanuprakash
0
64
Member Avatar for nvdhassani

I need helping fetching the URLs I have stored in my database and opening a new page. I am using a dynamic drop down menu for users to select a category and company. Once a user selects category(parent table) the child table opens up. The user then can click the …

Member Avatar for cwarn23
0
206

The End.