39,316 Topics

Member Avatar for
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
98
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
126
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
131
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
94
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
76
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
75
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
218
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
92
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
154
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
118
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
121
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
96
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
99
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
63
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
204
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
92
Member Avatar for mcastu

hi all i spent 2 days to find out my mistake.... but failed i m completely stuck out from my code plz help me out :'( I am trying to update one field(ecode) of my at0310 table from emp_company table's ecode within same database(master)... i tried update query with diff …

Member Avatar for mcastu
0
93
Member Avatar for baabdaam

Hi everybody, Actually I stuck in updating a date field in my page that I don't know why it doesn't want to update. I'm retrieving a data from my DB and I I made one column has Textfield that I enter the new date so I press the submit and …

Member Avatar for diafol
0
187
Member Avatar for Davife

I'd like to trap mysql warnings and log them as part of my debugging process. However mySQL warnings just print to screen. I'd appreciate if someone knows how trap warnings along with whatever other information is available and prevent users from seeing the warning. Thanks. David

Member Avatar for NettSite
0
109
Member Avatar for stardustmeri

I have to be honest. I am about to quit college and I just recently started. I have no clue about this assignment. I need help...badly. [COLOR="Red"] For the lab this week, you will need to connect to data via JDBC and run a query such that the result is …

Member Avatar for darkagn
0
110
Member Avatar for wonderland

Hi, Hello, Few hours back I implemented [URL="http://developerkarma.com/projects/phpformmail/readme-all-one-version"]phpFormMail[/URL] with simple form, and everything is working fine except after I submit form I get redirected to this page: The following information has been submitted: Name: Ultra e-mail: [email]email@email.com[/email] Comment: test email: [email]email@example.com[/email] I wanted to know why do I get email: …

Member Avatar for wonderland
0
250
Member Avatar for Benjip

I'm hoping to get some help with sorting database results based on the results themselves. I have two tables in this example, one being 'product_category_lookup.table' and the other 'products.table'. The 'product_category_lookup.table' holds data which tells the website which products are associated with which categories. The reason I have a lookup …

Member Avatar for as.bhanuprakash
0
110
Member Avatar for ryan311

in my previous question i only ask how can i delete a data using checkbox i forgot to put multiple check. here's my code [CODE]<form id="form1" name="form1" method="post" action=""> <table border='1' cellspacing='0' width='612'> <tr> <th bgcolor='green'><font color='white'> <input type='checkbox' name='checkall' onclick='checkedAll();' /> </font></th> <th bgcolor='green'><font color="white">ID</font></th> <th bgcolor='green'><font color='white'>Check In</font></th> …

Member Avatar for ryan311
0
824
Member Avatar for cane23

can anyone offer some help here i have a string that contains course codes. i separate the string into the individual course codes using the explode function. however i want to run a query on each of the course codes that was present in the string and store the result …

Member Avatar for pritaeas
0
124
Member Avatar for ruwanaru

Helloo Im new in Databases. I want to create a simple shopping cart i have a table called product [CODE] CREATE TABLE `products` ( `id` int(11) NOT NULL AUTO_INCREMENT, `category` varchar(150) NOT NULL, `name` varchar(100) NOT NULL, `author` varchar(100) NOT NULL, `details` varchar(10000) NOT NULL, `price` int(11) NOT NULL, `imgpath` …

Member Avatar for Benjip
0
194
Member Avatar for MDanz

[CODE]$thenumber = 0; $thenumber++; [/CODE] i've tried putting this inside the brackets for the for loop and it isn't working. the number stays as 1. theres alot of code so i can't post the whole for loop.

Member Avatar for Arianna
0
66
Member Avatar for IAuchmoody27

Hi, My name is Ian, and I’m trying to make a put together an eCommerce website. The site is for selling boxes. We have an inventory of specific boxes of specific dimensions, specific styles, board grades, and so on. I’m using Dreamweaver and to try to make my life easier …

Member Avatar for Cartweaver
0
108
Member Avatar for cane23

i have a multiple select drop down menu and i want to implode all the selections that were chosen. can any one offer some assistance on how to do this please. this is what i have so far [CODE] <?php function form() { $hostname = "localhost"; $username = "root"; $password …

Member Avatar for conord
0
85

The End.