39,402 Topics

Member Avatar for
Member Avatar for psathish2

this my code : plz solve this problem immediately [code] <?php session_start();?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>GYM jobs</title> <link href="style/style3.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="ui.dropdownchecklist.css" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery-1.3.js"></script> <script type="text/javascript"> $(document).ready(function() { …

Member Avatar for cwarn23
-1
171
Member Avatar for Pooja J.

Hi to all, I have 4 pages. page1.php, page2.php, page3.php and last.php. page 1, 2 and 3 pages have one text and submit button. The values enter by user in page1.php store in session var. and clicking on 'Submit' button. page2 shuold be open. In this page same procedure should …

Member Avatar for liamfriel
0
149
Member Avatar for trashed

Hi. I'm trying to write a script that fetchs image codes from a mysql database to display them into a 3 columns table. I got this so far: [php] $selection = $_GET['scelta']; $query = 'SELECT photo_code FROM'. $selection .';'; $result = mysql_query($query); $rows_nb = mysql_num_rows($query); print('<table width="75%" border="0" align="center">'); while …

Member Avatar for tips4php
0
2K
Member Avatar for futhonguy

Hi, I am wondering if i am able to insert 2 entries from a form to mysql. for example: [CODE]</tr> <tr> <td bgcolor="#eeeeff"> Is it a shared devices?<br> <font color='#F62817'>** If yes, please indicate the shared device num. </font> </td> <td bgcolor="#eeeeff"> <SELECT name="shared"> <option value="No"SELECTED>No</option> <option value="Yes">Yes</option> <INPUT type …

Member Avatar for futhonguy
0
94
Member Avatar for phpDave

Hello! I have a counter to count personal page views for users, but when the counter in the table is updated (incremented by 1)it also updates the date. Anyone know if the counter column can be updated without updating the date? Also, I need to have an update date for …

Member Avatar for phpDave
0
87
Member Avatar for Lsmjudoka

I have a script that runs a static chatroom(User has to refresh the page manually). When a user submits a post, the user's data(Username, title, user level, etc..) is stored in the DB along with the post. The script for getting the post looks something like this: [code=php] $result = …

Member Avatar for Lsmjudoka
0
109
Member Avatar for phpsteve

hi I would like to be able produce statistics on my web page by counting the numbers of rows in my sql database. for example. within my database i have 10 defects in my table called "defects". 9 defects are major, 1 defect is a minor. is there a way …

Member Avatar for edwinhermann
0
97
Member Avatar for baseballfury

Hiya Guys, Been working on the w3schools livesearch example but you can only select the option via a link. I'm trying to do it so i can submit a value to return database results. The external php code is below if anyone wants a look: I got it returning the …

Member Avatar for baseballfury
0
536
Member Avatar for rochellebeth

I can usually figure out problems like this with some testing or google searches, but nothing is working for me this time. I've installed a comments page on a website for a friend of mine, I got the code for the page from phpjabbers.com (and they aren't very much help!) …

Member Avatar for rochellebeth
0
127
Member Avatar for phpsteve

I have to create a basic php forum. I know there are free open source forums but i need to create it myself. I have a entered a number of fixed topic names into mysql and echo them (select *) into a website table. next to the printed names i …

Member Avatar for diafol
0
66
Member Avatar for SCoder1

Hi when let me get straight to the point ..... I've made a database, inserted data into it and selected it on a page but I can't find out why I can't view the text in the table?????????????? :@ I'M SO PISSED OFF!!!!!!!!! I've been trying it for hours here's …

Member Avatar for diafol
0
88
Member Avatar for polly89

I have a form named:"RegistrationForm.php". when i click the "submit button", there's a data inserted in the database (the prove is, there a new row in the database), but there's no value from user textfield(ic_no,name,email...) that have been inserted. It means like there's a row of data inserted but without …

Member Avatar for diafol
0
131
Member Avatar for Exploded Fiber

Hey Guys and Gals, I have an array: Array ( [Small] => Array ( [0] => 4 [1] => 5 [2] => 3 ) [Butters] => Array ( [0] => 5 [1] => 2 [2] => 5 ) [black] => Array ( [0] => 3 [1] => 5 [2] => …

Member Avatar for Exploded Fiber
0
145
Member Avatar for kbailey1734

Good morning all, I am having a few issues. Firstly, I am no expert whatsoever so I may not have done anything conventionally. I have been able to create a form with many fields, click submit and data is inserted into a table in my database. I was then also …

Member Avatar for kbailey1734
0
147
Member Avatar for nonshatter

Hey I hope someone can help me here because I am pretty stumped on this one... All I'm trying to do is to update my user_usr table with the submitted form data. It was working perfectly the other day so I must have changed something somewhere. The code and the …

Member Avatar for nonshatter
0
175
Member Avatar for Nemuksis

Hi guys, i want to find something out that will help me out a great deal. I am including a menu from a separate .php file using [CODE]<?php include("menu.php"); ?>[/CODE] but something that i really need to find out before i can continue with this. When I'm at eg 'Home' …

Member Avatar for Nemuksis
0
329
Member Avatar for ritzrash

I am new to php but have modified an entire code in two weeks. I have it all working, however the last change that i made is not being seen on the web page. I am dealing with php 5.1.6 and apache and since then whatever change i am making …

Member Avatar for ritzrash
0
70
Member Avatar for tryphy

Hi guys, Could anyone help me out with this... I have a multi form, which the user enter in the data and submits the data.. It also have a save button in it.. so user can save and then come back,.. then can save again, or submit.. I saved the …

Member Avatar for saiprem
0
204
Member Avatar for psathish2

warning error came.. Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\hshome\blackray\demo.blackraycreatives.com\gym\testing\final\employees.php:1) in D:\hshome\blackray\demo.blackraycreatives.com\gym\testing\final\captcha.class.php on line 21 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\hshome\blackray\demo.blackraycreatives.com\gym\testing\final\employees.php:1) in D:\hshome\blackray\demo.blackraycreatives.com\gym\testing\final\captcha.class.php on line 21 i have catcha.class.php include captcha.class.php …

0
73
Member Avatar for ismael ahm@d

Hello Everybody, i m facing problem that how i increment the values, first when i set the ID_No as auto increment in php/mysql after the debugging when i delete 2 no; row from the table next time the ID_No starts from the 3rd one row and basically i dont wana …

Member Avatar for saiprem
0
68
Member Avatar for tinudeshmukh

hi... i need to automate my system.... for which i need to run a c++ program from a php function.. how cani do this plz help...!

Member Avatar for saiprem
0
74
Member Avatar for tejateja

Hi, I am trying to get the directions between two points in google map.becoz i need to insert directions into database.i have a script wich get and display directions using div id .i am trying to send that id to another function in which i am assigning that id to …

0
58
Member Avatar for tryphy

How do i send a form data in html format in a php email.. ? Use of html tags in $message = ' '; Any sample example.. cos i tried many.. and coudnt able to work... ur help is much appreciated... thanks again tryphy..

Member Avatar for saiprem
0
160
Member Avatar for scmsimplybest

Hello There, I M having Problem with Getting Page Name With JavaScript in WordPress. I have Used This Code To Get Page Name In WordPress. [CODE]function GetCurrentPageName() { //method to get Current page name from url. //return page name in small . var sPath = window.location.pathname; var sPage = sPath.substring(sPath.lastIndexOf(‘/’) …

Member Avatar for scmsimplybest
0
79
Member Avatar for lamakun

Hi all, this is my first post, so I would like to say hello to all members and will try to help when possible. What I am trying to do is to split a word document with N pages into N documents (one for each page) and give each of …

Member Avatar for chrishea
0
96
Member Avatar for niths

hi all, i am not getting inserted the dropdown value to the back end except that everything is inserting. so can u please help me. [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid); $con=mysql_connect("10.70.1.50","invensis","invensis"); if(!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("database_myproject",$con); $sql="SELECT projectname from projects where createdby='$_SESSION[username]'"; mysql_error(); $result=mysql_query($sql); …

Member Avatar for niths
0
117
Member Avatar for jobojo

Good evening everyone. I have a php based site which was designed a few years ago. I have done very little with the site since I purchased it because I was not very familiar with PHP. Well I still am not very familiar with PHP, but I am more familiar …

Member Avatar for JRM
0
168
Member Avatar for 6pandn21

Hello guys, I am trying to make a very simple booking system. The booking will be either for the current or the next year only. There are three fields; number of person, type of meal and date. In any particualr day and meal, the number of person can't exceed 100. …

0
99
Member Avatar for teajayo

Hi. I haven't been able to figure out how to allow names with apostrophes such as mine, O'Connor , to POST. Also someone tried to post a smiley face like :) and that also threw an error. I have tried adding this :: mysql_query("SET NAMES 'utf8'"); // UTF 8 support!! …

Member Avatar for teajayo
0
91
Member Avatar for D4n1sD

I saw it on this website I searched it on google, and I might not searching with the right keywords do u know how it is called or give me a website?

Member Avatar for bondo
0
83
Member Avatar for Reliable

Although I've read about it it still doesn't sink in when you will need to pass in a variable. I think I know how i just don't know for what reason. If someone could provide that information for me i would appreciate it. Also, is PHP variable passing more efficient …

Member Avatar for Reliable
0
81
Member Avatar for D4n1sD

$_COOKIE['ID_my_site']; am I supposed to change ID_my_site? or $_COOKIE['Key_my_site'];

Member Avatar for diafol
-3
76
Member Avatar for D4n1sD

How can I make in php remember me box? I mean is it all about how long the session of the cookies will last or I have to do something else?

Member Avatar for Tekkno
0
84
Member Avatar for smush

Hi everybody, I just started learning PHP and was asked to write a BMI calculator. I did all that but now I'm stuck with an if ... elseif that doesn't seem to want to work. I'm sure it's just a syntax error but could somebody look over it and see …

Member Avatar for smush
0
105
Member Avatar for stangn99

Hey guys, Can anyone provide an example code for something like this: - I have a bunch of appointments stored in a database. - appointments have been stored based on user selected Dates - Users can click "view appointments", which displays a list of ALL appointments made from today till …

0
79
Member Avatar for jnsnow

This is my first post to DaniWeb, and I've read the Member Rules, so I think this is the correct forum. I have created a page in PHP that collects seven items of data then displays them lower on the same page. The data columns are: name, alignment, origin, archetype, …

Member Avatar for pritaeas
1
6K
Member Avatar for deksaplay

how to make the source code to plaintext chiper text using blocking and wearing subtitution language php? thank you

-1
49
Member Avatar for Siberian

Hello, in hopefully a matter of a few days I will have a WordPress theme near complete, I was hoping someone with the experience and time could fill in the final blanks as for PHP code etc so that it works with WP ? :) Thank You

0
62
Member Avatar for andydeans

hi, i was wondering of a simple way to generate a pdf & excel spreadsheet from a php form and mysql table with data in it? any help would be great. many thanks

Member Avatar for andydeans
0
779
Member Avatar for ozalkl

hi, im new to php and Jscript, i did a pdf search function where the user will select the data based on 2 selections and then when he hit the submit button, the button will call a pdf file based on the selections, my question is how do i tell …

0
44
Member Avatar for rukshilag

working on a system with 2 tables both have the exact same fields - the tables are past_participant and course_participant - CP table has all current students whilst the PP has only past students. after a course concluded, that set of students is transferred from CP to the PP table. …

Member Avatar for drjohn
0
219
Member Avatar for muralibobby2015

HAI FRNDS..... daniweb site does not open on my p.c. but all sites are opening. i tryed to know where is the problem....but i can't. plz tell me how to open this site. where is the problem on my p.c. thnks.

Member Avatar for muralibobby2015
0
89
Member Avatar for mfv

Hello, I can't give an array a value from within a recursive function, I'm trying to iterate a multi dimensional array and get the items that match the if statement. I tried both techniques suggested above but none of them worked, here is my code: [CODE] $path = array(); function …

0
46
Member Avatar for softheart

Disabling of hyperlink can be done by the help of Javascript, but can anyone tell me the code, how to disable a hyperlink by the help of php coding. In the web page, it is desired that when a user signs in as an administrator, he could access the hyperlink, …

Member Avatar for surenkumar
0
3K
Member Avatar for fx_4118

From this code the values are added, but the values are pasted on the same location of the dropdown box, for eg: Location1:Mango,Apple, etc. how to add the values on the same dropdown box & how to do the allocation dropdown box. code: <select name="dropdown" > <option value="">-See Here- </option> …

0
47
Member Avatar for dks1383

Hi All I want to write a program by PHP for scrapping results of google automatically, but I have heard that if google recognize that a client is trying to access it automatically, then google will block the IP address of that client. Is it true or false? And if …

0
61
Member Avatar for clueless07

I am trying to print out the results of a sql query into a table i haven't finished the table yet but im already getting an error please help the error is Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\minterface.php on line 45 [code]<!DOCTYPE html PUBLIC …

Member Avatar for clueless07
0
134
Member Avatar for fx_4118
Member Avatar for diafol
0
72
Member Avatar for whiteyoh

Hi All, I have sent a GET request to a third party and it has responded with XML. I would like to know how to extract the information from that response and convert it into a standard php variable. [code] <GetGuidResult> <ErrorNumber>0</ErrorNumber> <ErrorMessage/> <Guid>40d505ba438049a68eafc9a95e7fefcf</Guid> </GetGuidResult> [/code]

Member Avatar for whiteyoh
0
87
Member Avatar for CoolAtt

Hi All, I have [B]roundcube webmail,phpBB forum & wiki[/B] hosted on one machine using [B]apache virtual hosts[/B]. The problem is i have to log into each of the services(mail.domain.mu , forum.domain.mu ,wiki.domain.mu) to get access. All of the 3 sites uses LDAP for authentication and hence a user provides same …

0
119

The End.