39,401 Topics
![]() | |
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, … | |
I am trying to create a basic a accordian style menu. Im guessing i have done 90% of the code, but a little stuck now. I have three widget and what I am attempting to do is hide all the widgets apart from the one actually clicked. My code so … | |
I have a string [B]$initial_string = "<input type = 'checkbox' name = 'cb[]' value = '[a-zA-Z]'>"[/B] In this I want to [B]match the letters 'cb'[/B] and [B]replace it with '1cb'[/B]. The final string should look like this [B]$final_string = "<input type = 'checkbox' name = '1cb[]' value = '[a-zA-Z]'>"[/B] My … | |
hi ive been working from a few questions etc at college and im really stuck on this particularly one. i am given this code : [CODE] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Prac3 Task 8</title> </head> <body> <h1>Task 8</h1> <!-- … | |
Hi I am implementing a template system using the wrapper class in this example: [url]http://www.php.net/manual/en/stream.streamwrapper.example-1.php[/url] I use this code to get the wrapper output: [CODE] ob_start(); include("template://" . $template_name); $template .= ob_get_contents(); ob_end_clean();[/CODE] However, in some servers this code is not working, all I get is a blank page. I … | |
Hi, I want to create a group of radio button(2 buttons on a group) by dynamically with different names.After submitting the form I want to retrieve it on PHP. I can create the radio buttons dynamically.But I could not retrieve the values on PHP. There is a problem with radio … | |
Hello Friends, I have checkbox which is generated dynamically. Here the code is : [CODE] <?php $i=0; while($row1 = mysql_fetch_array($result)) {?> <label><?php echo $i++ ?><input type="checkbox" name="chk_list[]" value="<?php echo $row1['Veh_id'];?>" class="txt" onClick=""><?php echo $row1['Veh_nm']; ?></input></label></br> <?php } ?> [/CODE] Now, I want to insert IDs and related information which checkboxes … | |
Is there any third party API comes which help to read word file content without using COM. | |
hello, i am using [URL="http://plugins.jquery.com/project/bssound"]BS sound[/URL] mp3 player for play songs in my website.it is working fine in my website but it is not playing in I-PAD. please give me any suggestions. thanks. | |
I have a script that supposed to display the barcode for each item in the selection (66 rows in this case). However, it displays the barcode from the last item 66 times. How do I display each item selected? I know all the result of the mysql selection is complete. … | |
Hello, i am facing an issue in retrieving data from an array. I have a table called registered_members, the table contain First_name, and Last_name. I also have a table called Friends, it contain Friend_ID, Member_ID, Status. What i did is that in a search box, when someone type a name … | |
[CODE]<form method="POST" action="https://www.thewiseagent.com:443/secure/webcontactAllFields.asp" name="myForm" onSubmit="return chkForm(this);"> <!-- Do not change --> <input type="hidden" name="ID" value="67,176,210,31,93,194,29,70,235"> <!-- These fields can be edited --> <input type="hidden" name="responsePage" value="http://http://www.expertforyou.com/"> <input type="hidden" name="Source" value="website referral"> <input type="hidden" name="Categories" value=""><!-- semicolon;delimited no spaces --> <input type="hidden" name="currentUser" value=""><!-- internal team member --> <input type="hidden" name="ProgramID" … | |
I need a script that allows users to privately message each other. How can i do this and where can i find an easy script for this? All it needs to be able to do is send messages to a username and then it would have an inbox for the … | |
How do I advance the pointer to the next row within a while loop using mysql_fetch_array?[CODE]while ($row = mysql_fetch_array($result)) { $zip11 = $row['postnet ip']; include "postnet2.php"; //SOME MORE PROCESSING //I NEED TO ADVANCE THE POINTER HERE TO THE NEXT ROW //SOME MORE PROCESSING } [/CODE] | |
Hello. I'm trying to use a wildcard for a $var. in a SELECT statement. Can't seem to get it to work. '$search_Recordset2' is the $var. [CODE]("SELECT * FROM table WHERE col1 LIKE '$search_Recordset2' OR col2 LIKE '$search_Recordset2' OR col3 LIKE '$search_Recordset2'"[/CODE] If I use '%$search_Recordset2%' or %'$search_Recordset2'% I get error. | |
Hi all, Sorry for the long post but i need to describe my problem properly to avoid confusion, i hope I have a table with users, and every user has a specific latitude and longitude coordinate. let say user Test_User is logged in and then he decides he wants to … | |
I am making a register page and I have one error. [CODE]if ($_POST['submit'])[/CODE] I keep getting Notice: Undefined index: submit in C:\xampp\htdocs\globallypictured\register.php on line 6 NO IDEA WHY. . . Can someone please help... | |
![]() | Hi all, preg-Replace has stumped me again. I'm just too thick to get it. This is my problem: I have two files. File 'newvalues.php' with an array like so: [CODE].... $lang['this_key'] => 'blah blah blah'; $lang['another_key'] => 'rhubarb rhubarb'; $lang['something_else_key'] => 'twitter twitter'; ....[/CODE] And another file: 'template.php' like so: … ![]() |
![]() | Hi people, I would love to list the table of my database: could you give me a hint to fix this problem using a PHP script ? Thank you very much begueradj |
Ok i am pretty new to php so i could be missing a simple trick here. I need to be able to read all text files within a given directory and have them appear in a combo box by file name. After searching for what seems like forever, i can … | |
Is Multiple download files possible using PHP? We did find a code for single download. but we need it for multiple download. can anybody help me? Thank you! :) | |
I am wondering if this is possible: I have a web page that displays a table which includes Work Order Numbers. I would like to make the numbers into a link that when I click it it automatically brings up an edit form for that particular record. For example, here … | |
Hallo all, I try to install joomla (php based CMS) in my IIS server. When I run the file (index.php): [url]http://localhost/Joomla/[/url] (it only shows me a list of file names in the folder. [url]http://localhost/Joomla/index.php[/url] (it shows me the php codes in IE instead of showing me the running joomla application. … | |
Hey.. I am working on a new project and I am using Joomla version 1.5.22. I need to display one horizontal search form in the middle of home page and the same search form in vertical style in all other pages but in left position. So what I did is, … | |
How to rewrite the code so do the loop in this case? [code] <?php require("connect.php"); $banner1 = mysql_query("SELECT * FROM banner WHERE bannerid ='1'"); $row1 = mysql_fetch_assoc($banner1); $bannerpath1 = ($row1['bannerpath']); $bannerheight1 = ($row1['bannerheight']); $bannerwidth1 = ($row1['bannerwidth']); $bannerdescription1 = ($row1['bannerdescription']); $banner2 = mysql_query("SELECT * FROM banner WHERE bannerid ='2'"); $row2 = … | |
I am trying to send data from a contact form to my email adress. IT IS FROM LOCALHOST - THE SITE IS NOT ONLINE. My form looks like this: [CODE] <form name=form1 method=post action=send_contact.php> <p>Emne:</p><input name=subject class=input type=text id=subject size=64> <br /><br /> <p>Forespørgsel:</p><textarea name=detail cols=50 rows=7 id=detail></textarea> <br /><br … |
The End.