39,317 Topics
| |
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 … | |
Hi, I don't have any idea on this error: [B][CODE] Object of class variant could not be converted to string.[/CODE][/B] I am facing the error in this block.Please have a look on this: [B][CODE]IF($g!="P") { mssql_close($dbhandle); //*** Close & Quit ***// $excel_app->Application->Quit(); $excel_app = null; $Workbook = null; $Worksheet = … | |
hello friend i am developing a web site in which online payment is there so it is school website so online fee payment is there so i dont undestand from where i start so pls give me source code and the process also pls help me out. | |
Hi, [CODE][B]while($row = mysql_fetch_array($result)) $rows[] = $row['crseid']; print "<td>"; print "<select name='ccrseid'>"; foreach($rows as $row) { echo "<option value='$row' selected>$row</option>"; } print "</select>"; print "</td>"; [/B][/CODE] Always, i am getting the last values. I can't retrieve the remaining values. Without $_POST[] ARRAY,how i can print the select option values without … | |
I find for just numbers type_digit() works great combined with addslashes() but what about for a mixture, to prevent SQL injection? | |
Hi, I have the below code which counts the number of visitors for my webpage. it works fine. <a href="http://csshtmltutorial.com"> <img src="http://csshtmltutorial.com/counter.php?display=uniques&style=12100" alt="total visitors in Job Page" border="0" /> but i want to set a different counter for a particular page. that means when visitor comes to my webpage i … | |
[B]I had this error:[/B] [ICODE]Parse error: syntax error, unexpected T_STRING in C:\Program Files\WampServer\www\atestat\admin_add.php on line 14[/ICODE] I can't figure out what's the mistake, so I posted here. I use PHP version 5.3.5. [B]Here is admin_add.php file:[/B] [CODE]<?php include('config.php'); $categorie = $_REQUEST['categorie']; $titlu = $_REQUEST['titlu']; $autor = $_REQUEST['autor']; $descriere = $_REQUEST['descriere']; … | |
Hi there, I am after some help... I am new-ish to PHP. I am currently after a script that will enable the following... I have user images in a MYSQL database, all linked to external sites so only have the image URL's. I would like to create a grid of … | |
I need to understand how to positition/float an image created by php. I know how to position/float JPG in PHP, but am unclear of how to position/float an image generated by PHP. This script displays a barcode in the upper left-hand corner of the page. I think the header script … | |
HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. I already installed IIS in windows 7. When I try to browse … | |
Hi, I installed Xampp on my server(windows 2003).I am having perl script(i.e cgi program).Inside cgi program, i wants to use HTML HYPERLINK-that should points to my PHP program and plus i wants to pass one parameter to this hyperlink. Is it possible to call PHP script?If is it possible means, … |
The End.