39,402 Topics

Member Avatar for
Member Avatar for logonchristy
Member Avatar for codeblock

Hello all, I have a page that allows the user to update their account detail. The prblem is that when the page loads the users inforamtion doesn't appear in the text fields. I've checked the code and i cant see any errors nor does php flag any errors. Can someone …

Member Avatar for Will Gresham
0
160
Member Avatar for rutaba

hie.. I am developing an online application but want to make some pages of that for mobile too, so i want to know that using php can i do that ,or for that i have to move to asp.net? Need help urgently.. thanks..

Member Avatar for Will Gresham
0
67
Member Avatar for preetg

Hello all I am trying to do--Attendance of the month march and i want format for text file is like employeecode 1 2 3 4 5 6 7 8------30 E01 A P P P p P P P E02 -- -- -- I m using mysql database. My tables for …

Member Avatar for preetg
0
166
Member Avatar for jaque322

a friend of mine have instaled apache in other machine and i have stored my php scripts in htdocs but i dont know how connect remotely from other computer please if someone can help me

Member Avatar for i-hate-blue
0
90
Member Avatar for Mike516

The code should take the IDs and delete them from the tables but it isn't we are getting errors. Anyone see anything wrong? [code=php] <?php ############### # Prune.php # ############### //Variables $dbhost = "localhost"; //host name $dbuser = "root"; // username for db $dbname = "dbname"; // database name $dbpass …

Member Avatar for Mike516
0
107
Member Avatar for underwood88

Hey, In PHP and HTML i am trying to make a multi page registration form, collecting details such as Forename, Surname, password, and email on the first page. On the second address details, third any additional personal details. On the fourth a summary page showing what the user has entered …

Member Avatar for emhmk1
0
92
Member Avatar for electrogear

I'm struggling. I'm trying to make a website using the google weather API. Here's where I'm at: 1) I've got the PHP code working, and it gets the current temperature & images showing the forecast for the next 4 days. Simple enough 2) I decided I wanted to have a …

Member Avatar for electrogear
0
233
Member Avatar for help_lucky

Hello Everyone, I am banging my head since morning. please help me.. I am not so good at php..i am in learning phase... My requirement was to generate a popup once you immediately login. windows.alert('please call') then the popup should come for every 2 hrs. Even though you navigate to …

Member Avatar for Fbody
0
478
Member Avatar for prem2

Hi, I am new in php.I want to use goto statement inside my program.But when i execute the below coding the blank page appears.This is the example program i referred in site. Coding: goto a; echo 'Foo'; a: echo 'Bar'; Help me.. Thanks :-O

Member Avatar for Zagga
0
975
Member Avatar for veledrom

Hi, I have code below works fine but I want links to be listed different way. If you want you can use my code, otherwise I am open for your codes. [COLOR="Red"]Original style: [/COLOR] Previous 1 | 2 | 3 | 4 | 5 | 6 | 7 Next If …

Member Avatar for veledrom
0
485
Member Avatar for MickeyP123

I am having issues with the following code of mysql when using the "not like" mysql command. My snippet looks like this [CODE]$name = something $sql = "Select * from table1 where table1.field1 not like ' $name ' ";[/CODE] What it should look like in phpmyadmin is [CODE]Select * from …

Member Avatar for as.bhanuprakash
0
76
Member Avatar for Vikijo

Hello, I am new on this website. I don't know rather I am in the right place or not. I am currently in college and study to be web developer. I am doing good so far! I really need help on this small part. We are working on Mulipulating Strings. …

Member Avatar for bibiki
0
135
Member Avatar for veledrom

Hi, I just installed Karmic Koala Ubuntu. I know that PHP4 (as CGI) and PHP5 (as module) can run at same time? There are some examples on the web but they are all old. I couldn't get around. Can anyone help me with this? I have LAMP already installed on …

Member Avatar for cwarn23
0
62
Member Avatar for lisles
Member Avatar for san_cash

hi! Please help me in mailing the form data using tables. below is my code $message = " $todayis [EST] \n Subject: $attn \n Message: $notes \n From: $visitor \n Designation : $designation \n Employee ID: $empid \n Department : $department \n Head Quarters: $hd \n Tour Location: $tl \n …

Member Avatar for logonchristy
0
87
Member Avatar for karumi

Hi, I would like to ask you about how I can write a php code for 301 Redirection and how I use it in my hosting ( where to code, where to upload and how to configure it) . Thanks.

Member Avatar for jcanaway
0
76
Member Avatar for emhmk1

Hello again. I'm looking for a way of displaying the results of a search facility on a site im creating. The site is based on an animal sanctury and the database holds two key tables for searching 'blog' and 'animals' respectivly. Now, how would i go about displaying the results …

Member Avatar for emhmk1
0
92
Member Avatar for FC Jamison

I accidentally added the following line to my SQL database twice: [CODE]INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_birthdays_ahead', '7');[/CODE] How do I remove one of them?

Member Avatar for ZootAllures
0
130
Member Avatar for gsivaram11
Member Avatar for almostbob
-4
44
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
101
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
82
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
81
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
97
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
123
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
122
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
166
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
320
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
102
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
136
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
97
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
80
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
221
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
94
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
121
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
65
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
207
Member Avatar for pbcomput

hi.. i was working with php 4.2.3 and now i changed php to 5.3.1 now problem is that when i login as a user in my script i got this warning.. [CODE]Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that …

Member Avatar for network18
0
96

The End.