39,323 Topics
| |
I know this may be a apache related question, but can anyone help me on this issue... I need help on paginating my script, so the and I want to use [U]search[/U].html for the first page (without page number) [U]search[/U]-[B]2[/B].html for the second page [U]search[/U]-[B]3[/B].html for the third page and … | |
Hi, I have some strings but I want to convert them to binary (1 way). Are there any functions other then the compression functions that will convert strings to binary? Thanks. cwarn23 | |
Hello guys! I am trying to implmenent a jQuery library and it worked fine when I ran it out of server. When I tried to run from a XAMPP based web server at home; the images doesn't show and keeps giving this error: 'You don't have permission to access the … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
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. | |
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 | |
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 … | |
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 … | |
[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 … | |
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 … | |
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> <a href='http://davidgoldsmith.com/wordpress'>Home for David's Blog</a> </td> … | |
| 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 … |
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 … | |
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 … | |
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) … | |
is it possible to get values from a asp.net to a php script? | |
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()); } … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.