39,325 Topics
| |
Trying to learn PHP from a book and I swear I'm going balder by the minute!! Anyway heres my predicament; I want to display some simple incrementing data from a PHP loop within a table. So that each cell within the table displays a different value ie. cell 1 displays … | |
I had a file info.php with class named xyz and functions within it, I am trying to fetch data from data base from another file show.php..but it is not working and shows "Notice: Undefined variable $info"....is there any help wht am i doing wrong... my code is.. in dblink() // … | |
Let's say I have the majority of my site in the 'root' WWW directory on the server, such as: [url]www.domain.com/index.php[/url] My current header & footer files are set to respect this configuration and work beautifully. I am now in the process however of creating a new directory which will be … | |
i have a little syntax problem in php mysql, and i cant figure it out, hoping that u guys can help me out....mysql error and code are below Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right … | |
Hi, Please help me out. 1. Getting HYPERLINK value from page1 and saving in page2 using GET method.($re=$_GET[variable];) 2. Passing this value in -> select query 3. Displaying my output - correctly(in each and every value, there is an SUBMIT button.) 4. My Form Action is page2 itself. 5. Due … | |
Hi all I have been looking at the following upside down and sideways for a day now. I have a PHP page that is making use of a session value in an SQL query. The query requires an integer (it's searching on the numeric index of a table in the … | |
Anybody know what version of vbulletin Daniweb is running? I help run a huge vbulletin forum and really like a lot of the features here so curious if we're running the same versions. Does seem like there is a lot of "custom" hacks being done though here. Danny | |
Hi i have problem in my login code. Firts someone fill in login informations this is checking code [CODE] // mysql connection $username=$_POST['username']; $password=md5($_POST['password']); $username = stripslashes($username); $password = stripslashes($password); $username = mysql_real_escape_string($username); $password = mysql_real_escape_string($password); $sql="SELECT * FROM users WHERE username = '$username' and password = '$password'"; $result=mysql_query($sql); $count=mysql_num_rows($result); … | |
I have this page that you can do a search on the site. However, if I do a search that contains an apostrophe ('), it breaks and doesn't display anything although I have entries that have them. Does an easy fix exist for this problem? This is an example of … | |
I need a lost password script for my existing login script. I need one that sends an email to the person once they enter their username. It is in a database with other things but the tables name is "profiles". The rows in that table are "id" "email" "username" "password". … | |
I need a string appended to a variable. [CODE]$name = "app200.php"; $string = <form name = "$name" method = "post"> echo "$string";[/CODE] The result I need is [CODE]<form name = [B]"app200.php"[/B] method = "post">[/CODE] But I am not able to echo the string this way. Any help. Thanks | |
Hi All, I hope somebody can help. I would like to make 1 large query from a mysql database. Once called I want to get whatever i want from that stored array, which is where im having trouble. What i have so far is the following code, but each time … | |
Hi All, I have a multidimentional array. What I want to do is increment $a each time i find an array element with a certain value. my array comes from a mysql query. So lets say sex can be male or female, how can i get it to only increment … | |
Hi There, I have a usage problem with CURL output. I have a web services and I use CURL to get the data, However this web services set up as XML output and I want to convert it to array to use the result in the web form. My CURL … | |
Today 05/18/2011 If i do [CODE]echo date("H:i m/d/Y", strtotime("tomorrow"));[/CODE] i get 00:00 05/19/2011 as it should be but if i use the same function in setcookie like: [CODE]setcookie("wls_yesterday_review", 'completed', strtotime('tomorrow'),'/','myhost.com');[/CODE] My cookie will expire on 05/18/2011 at 09:00PM Im not sure what im doing wrong but i tested different ways … | |
hello, [B]Please help me to create and using mysql procedures using php scripts.[/B] I searched in web for the solution but i didn't get a perfect support from anywhere . Thanks Anoop Ravi | |
I am creating an application with JQuery as the UI. The current, what I have now is using simple xml as the Select Menu options. [url]http://www.globalvirtualairlines.com/MyPages/jquerytestingapp.php[/url] What I am wanting to do is, when the user selects the Hub they want, use simple xml to get the data for that … | |
I AM WORKING OVER NEWS SECTION OF MY WEBSITE... I WANT TO RETRIEVE THE NEWS PRESENT IN THE DATABASE AND SHOW THEM AND ALLOW CHECK BOX TO SELECT THE NEWS TO DELETE THEM... I am able to create the news section that retrieve the data from mysql database and also … | |
Alright, so basic story, is a website, with an application form, and what im trying to do, is when the user presses the "submit" button, i get an email with all of the information they entered into the field, i *almost* had it working, almost being, when pressing the "submit" … | |
I have almost no experience with PHP so I need some help with a small code block. My website used to be hosted by a company within my own time zone, so I used the following code to output the date and time on my web page: [CODE] <?php print … | |
Hi everyone! I'm working on a page that adds a new client. One of the form's values is a telephone number. The user enters a 10 digit number with no symbols (ex: 2288675309). Before it goes into the DB(MySQL), I want to format it so that it has hyphens (ex: … | |
hey guys, i need your help to develop thumshot of page of website's internal pages. pls if you know how to develop this code or if u have any suggestions for it then pls tell me. Thanks | |
Does your organization use Microsoft Exchange? Do you have a need to incorporate your Exchange data with your PHP web applications? You can use the WebDAV methods to query your Microsoft Exchange Server using the PHP scripting language. Once you wrap your brain around these techniques, the sky is the … | |
Are there any easier ways to use simple XML as I need to create a flash application with simple xml. What I am using now is [CODE]<td><center><?php if($xml === false) { echo "There was an error opening the xml file."; exit; } else { foreach($xml as $pilot_first_name) { echo $pilot_first_name->fn … | |
hi, I have problem while developing web application in php. I have one text box in which enter total nos.and in one div there are other text box and dropdownlist. i want to show div repeatately until match the value of first text box to text box in that div … | |
Hi All, I have a query now i need to integrate my outlook calendar with external web portal to add events so that the outlook calendar can remind me , Could anyone suggest open source libraries to do this . Thnx in advance Thnx & Regards, mithesh. | |
| Hello. I have been following a tutorial, but want to adapt it. Currently the code below echoes out all of the any occasion cards into a list. I would like them to be echoed into a 2 by 3 formation. 2 down, 3 along. Struggling to get it to do … |
Hi All, I am trying to add special characters into database using javascript encodeURIComponent.Its working at localhost But in server when adding ' an extra / coming in front of ' how can i remove this problem ,some one help me please Thanks in advance. | |
Hi all, is there any prblem with my array? why i can get the first element of the array [CODE] function GetNameByEmail($get_staffemail) { print_r($get_staffemail); for($i=0;$i<count($get_staffemail);$i++){ echo "<br />"; echo $qryGetName = "SELECT username FROM user_info WHERE email ='".$get_staffemail[$i]."'"; $rsGetName = mysql_query($qryGetName); $arrGetName[$i] = mysql_fetch_array($rsGetName, MYSQL_ASSOC); } echo "<br />"; print_r($arrGetName); … | |
Hi I have a joomla site with one flash based video in it. Of course people are now saying "It doesn't work in iPads". I was thinking about using the <video> tag in html to get round this - can I just simply put a <video>... </video> tag in the … |
The End.