39,320 Topics

Member Avatar for
Member Avatar for MDanz

what i'm trying to do.. first column 1 cell, next column 2 cells(row span 2), next column 3 cells(row span 3) etc how can i alter the below code to do that. the below code displays results across from column to column then once $max(column max) has been reached displays …

Member Avatar for diafol
0
102
Member Avatar for sitie_aniem

i am creating a system and have problem with the function to convert year - year, month and date. the thing that i understand is the year is round for 365 days, and others i am not really understand of all. can you give explanation for this function so that …

Member Avatar for daryll1
0
716
Member Avatar for D4n1sD

I would like to know how to put a commenting box into my website I am not that much php expert but I need to know how to do it, I would appreciate if u wont just post a source but explain where to put it. I would also like …

Member Avatar for almostbob
0
130
Member Avatar for daryll1

Hey, I'm having some trouble building code to insert values from my form. The form prints out from the username, whether the account has been confirmed and the level of the user from the database. I am having trouble getting the data to go back in once amended, this is …

0
111
Member Avatar for cpp.coder

from w3schools.com i have read this line. that http address doesn't maintain the state. can some one please explain it. thanks in advance the link from where i read this is [url]http://www.w3schools.com/php/php_sessions.asp[/url]

Member Avatar for diafol
0
221
Member Avatar for piers

Now I am using php and mysql so not sure if this should be in the php section. If you can help I would be most greatful. I am trying to create a search page so that it shows data and one of the columns in the mysql database contains …

Member Avatar for piers
0
110
Member Avatar for piers

Please can you help. I have been trying create a form to insert some data into a database. (I am coding with PHP and MYSQL). When I put any data into the field called enter treatments completed the database gets updated with the treatments_completed column containing a 0 and then …

Member Avatar for piers
0
115
Member Avatar for niths

hi i am new to php. I am having some problem. i had created a dropdown list which contains project names. and below that a table with checkbox userid,username. till tat it is working properly. after selecting the project name and one cheque box and press submit button.It should display …

Member Avatar for JRM
0
75
Member Avatar for niths

hi, iam new to php. i am having projects table in the backend. so my query is how to get those project names in a dropdown box. please help me. thank u.

Member Avatar for cwarn23
0
28
Member Avatar for s_kanika

I want to run aphp code when particular window is closed ( Want to enter the time of closing of window in database) How can I do this Plz help me if somebody know abt it Thanx in advance

Member Avatar for cwarn23
0
88
Member Avatar for rouse

I am writing a contact form using jQuery AJAX POST and PHP. The form works well and sends the email. What I want to know is how to get the return values for error and success on the same page where the contact form is rather than having the message …

Member Avatar for rouse
0
114
Member Avatar for clueless07

I am trying to put the results of my query into a table on my webpage that i have made however, i am having problems as it prints some of the code out onto the webpage & doesn't display the table. [code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html …

Member Avatar for clueless07
0
132
Member Avatar for rainhider

[CODE] $result = mysql_query("SELECT * FROM Users") or die("could not select ".mysql_error()); if (!$result) { echo 'Could not run query: ' . mysql_error(); } $rows = mysql_num_rows($result) or die("no rows" . mysql_error()); if ($rows > 0) { $row = mysql_fetch_assoc($result); while ($row = mysql_fetch_assoc($result)) { print_r($row); }[/CODE] Every time I …

Member Avatar for rainhider
0
121
Member Avatar for perceptiveforce

When a user logs in, the user is directed to a page called accountsummary.php. I have sessions enabled. I can successfully echo the inputed username, and echo the ENTIRE column of firstname and lastname for the entire table. The problem is that I do not want to echo the entire …

Member Avatar for fobos
0
319
Member Avatar for davidgoldsmith

syntax error, unexpected T_STRING in /home/earning1/public_html/wordpress/wp-content/themes/DavidGoldSmith_Theme/sidebar.php on line 40 Don't see the error???[code]<div id="cat_top"></div> <div id="sidebar"> <div class="rsidebar"> <div class="blog"> </div> <div id="photo" class="picture"> </div> <p> <?php wp_list_pages('title_li=<h2>David's Links</h2>' ); ?> <ul style="line-height:18px;"> <li ><div ><!-- SiteSearch Google --> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://davidgoldsmith.com/wordpress'>Home for David's Blog</a> </td> …

Member Avatar for Arsench
0
80
Member Avatar for ragnarok511

I am kind of new to php. However, I created a form in html and the form action is linked to a php which all on the localhost. When I run the html file enter in information and hit submit. A window pops up and asks me if I want …

Member Avatar for ragnarok511
0
133
Member Avatar for Katsurou

Hi guys, I was wondering if it's possible to play a sound from.. let's say a .gif by clicking on it. Or even any other way as long as it doesnt take to much space on the site. (im talking a bout a short audioclip, it shouldnt be more then …

Member Avatar for digital29
0
78
Member Avatar for JohnNemec.com

I’ve been fighting this for a few days now. I’ve found some wonderful tutorials that get REALLY close to what I’m doing, but I guess I’m too dumb to figure the last step out. I understand it in theory but I’m hoping someone can help me complete this project. What …

0
77
Member Avatar for sallycheng

my program cannot update the value,but it can show the value of the database Thank you [code] <?php require_once('../Connections/connection.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) …

Member Avatar for sallycheng
0
105
Member Avatar for ace_almario
Member Avatar for niths

hi all, i need to display only date in the createddate column and updateddate column. but iam getting 0000-00-00 00:00:002010-03-26 in the browser and in backend like 0000-00-00 00:00:00 so i need a help. [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); createsessions($username,$password); $con=mysql_connect("10.70.1.50","invensis","invensis"); if(!$con) { die('Could not connect: ' . mysql_error()); } …

Member Avatar for Zagga
0
104
Member Avatar for Katsurou

Hi so I wanted to make a little quiz in php [CODE]if(isset($_POST['City'])) { echo "<strong>Answer nr1:<BR></strong>"; $cities= $_REQUEST["City"]; $odp = "Madrid" || "madrid"; //$odp = "Madrid" && "madrid"; //neither of OR/AND works here if($cities== $odp){ echo "Your answer is <Font Color=#009900>correct</font> <P>"; } elseif($cities== ""){ echo "Please fill in this …

Member Avatar for Katsurou
0
108
Member Avatar for manolisvl46

Do you have any idea on how a sasl bind with gssapi mech will work my file looks like that: [CODE] $ldapbind=ldap_sasl_bind($ldapconn,NULL,NULL,"GSSAPI","TEIPIR.GR","ldapmaster","dn:cn=ldapmaster@TEIPIR.GR,ou=kerberos,dc=teipir,dc=gr"); // verify binding if ($ldapbind) { echo "LDAP bind successful..." . "<br />"; [/CODE] every other mech i use seems to work fine but only the gssapi is …

0
66
Member Avatar for manolisvl46

On the php manual i realised there was a bug that got fixed ..but still cant make it work... my attributes are used like shown below.. [CODE] $r=ldap_sasl_bind ( $ds, bind dn..., 'MYCODE', 'GSSAPI', NULL<--?(realm of the heimdal), 'jimmy'<--?, 'dn:MY STUFF...?');[/CODE] there was another opinion that i schould recompile Apache …

Member Avatar for manolisvl46
0
143
Member Avatar for Pooja J.

Hi to all, Here is my code, I want upload file which are only images. All images with jpg, JPG, jpeg, JPEG, gif are uploaded successfully except with bmp file. Plz, help me to find out the prob. why my code is fail with bmp extension file. [code] //file-detail-complex.php <?php …

Member Avatar for Pooja J.
0
812
Member Avatar for mangel.murti

hello all, this code working good but problem is here when i am checking mail and see word document it's not displaying .... [CODE] $fileatt = "resume/$fileName"; // Path to the file $fileatt_type = "application/msword"; // File Type $fileatt_name = $fileName; // Filename that will be used for the file …

0
59
Member Avatar for sarithak

Hi, I m using first time url rewriting concept.. i m getting some errors when i used different symbols in url.. [B]$title="sachin's best shots KKR : MI ? ";[/B] here when i use normal text (with out any symbols) ..this is working fine..but, when i use (?,",',:)...page can not be …

Member Avatar for sarithak
0
91
Member Avatar for niths

hi iam new to php.the query is when i login in a login page. i can see users under me. projects can be created by me. so when ever i create a project i wil get a popup of projectname, allocated memory,created by. The problem is created by should be …

0
78
Member Avatar for fatcat2010

Hi experts: I created a departments table and populated value as follows SELECT department_id , name,description FROM[COLOR="Red"] departments[/COLOR] ...the table has Trading department Food department Toy departments However, I don't know how to create a dropdown in the frontend like this format: ( Mouse over or click "Departments" navigation menu …

0
45
Member Avatar for josephe

Ok, so I'm learning PHP (and quite enjoying myself so far). I'm making a web page that will have a list of text boxes for the user to type info in. The boxes will be created dynamically via JavaScript (later on in development), and the id/name of the box will …

Member Avatar for josephe
0
226

The End.