39,320 Topics
| |
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 … | |
Some times not saving date time buy I am inserting date and time, but storing 0000-00-00 00:00:00 [U]Here is the code[/U] <?php include("connect_mysql.php"); $date=date("Y-m-s H:i:s"); mysql_query("insert into buy_db (from_site, date_time_buy, model, ip) values ('".$_REQUEST['site']."', '$date','".$_REQUEST['model']."', '".$_REQUEST['ip']."')"); //header('Location:'.$_REQUEST['url']); ?> Attachment including: 1. Data in Table 2. Table Structure | |
I'm making a PHP script for controlling my mssql databases. But I ran into a couple of problems. The first problem is that I want to make a combobox out of all the databases in my microsoft SQL server. The following SQL syntax gives the results that I'm looking for, … |
The End.