39,323 Topics
| |
i have displayed all members in my site including there photos,which they uploaded. this is the view.php which image will appear for everymember who uploaded photo. <? echo"<img src=retrieve.php?id=$userid width=200 height=150>"; ?> retrieve.php <?php //PHP code (for images.php) if(isset($_GET['id'])){ $id = $_GET['id']; // Connecting to a MySql Database include"config.php"; //selecting … | |
Hi , Can anyone tell me is there any other connection method(mysql with php) other than this.Please help me.. [code=php] $hostingname="localhost"; $username="root"; $password=""; $dbname="test"; $rr=mysql_connect("$hostingname","$username","$password")or die(mysql_error()); mysql_query($rr); mysql_select_db($dbname) or die(mysql_error());[/code] thanks Punithapary | |
hi, Any one who knows HSBC payment integration please help me.URGENT! THanks fedalcoder | |
[B][COLOR="Green"]I'm developing a wap site with wml and php. my php code is retrievig and displaying blob image from database. but i cannot include any wml part to this page. actually i want to display image from database with some links (wml or php). is it possible ? plz help … | |
Hi there, I have recently installed Apache and PHP on my PC and am trying to run it as a testing server. After creating a PHP mail() script I receive the following error in my Apache log file: "PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "smtp.localhost.com" … | |
Hi all, I am a beginner in using PHP. I have wrote a code that will retrieve the checkbox value after checking from database. Basically, it is a simple search where user has to check the value of checkbox in the form.It then will displaying the result after checking the … | |
Hi all, I'm currently working on having 'artist_id' counted once only between two dates although they may have visited several times over that period. The following code works very well for counting the total number of visits. Any suggestions out there? Regards harrence [code] $sql = "SELECT * FROM artists_details … | |
hi i have a simple form with 4 radio buttons in index.php . if the user selects any radio button and click on the submit button then he will downloaded the corresponding .swf file associated with that radio buttons in next page as download.php. what ever the option is selected … | |
I need to be able to parse out data fields from Open Office documents on the fly. I'm using tbsooo_class.php and I have a number of files with variable fields embedded. The code I have, derived from TBS (tiny but strong) parses out only the text. I need the entire … | |
Hi everyone, and thanks for reading. I've a client who will be wanting an events/news section for their website and I have a question about handling this information from a database. Lets say that the table consisted of: [CODE] story_id - To make each story unique. title - The title … | |
hi my friends Is there any way that can use "matlab"codes in php?I want to use some matlb codes to make some changes in a picture every time the page is reloded and then show it in web page. is there any way to use matlab in web pages? Best … | |
Hello I can not find a tab to csv converter, any one here now about a php file to convert tab to csv | |
Hi Guys, I am preparing a user interface to add values in a database table. For it I am using a PHP generator tool by the name of PHPMaker 5. In the table there is a field where I have to insert values through a pop up calendar. The UI … | |
I want to diplay comments and in each comment there will be a checkbox: Now is there anybody who can tell me how use them in php so that when i select forexample 5checkboxes containing comment each,i will be able to DELETE them All at the same time.? | |
this is my code here i selected record from db and putted that 2 text box . but i modify the recored to store the db. below the code not working . <?php $jtitle=$_GET['jtitle']; echo $jtitle; $desc=$_GET['jdesc']; echo $desc; $hostname="localhost"; $username="cds"; $password="cds"; $dbid="cdsemplo_job"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("not connected"); $result=mysql_query("select * … | |
this my code user want click the edit it will go edit page and delete page.now i want delete the record the same this not going to delete.php. thank you <?php $jtitle=$_REQUEST['jobname']; $desc=$_REQUEST['jdesc']; $hostname="localhost"; $username="cds"; $password="cds"; $dbid="cdsemplo_job"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("not connected"); $result=mysql_query("select * from job"); echo "<table border='1'> <th>Jobtitle</th> … | |
Hello all, I'm new, of course... I'm here cause I need serious help on forum hacking.... I am currently using a free phpbb2 forum board... I don't have money to buy an Invision Board, so I wanted to use a hack that promoted phpbb2 forum profiles to look like Invision … | |
Hi i must be stuppid by missing something but im trying to insert a a code into my php script page: [CODE]<!-- Start Code --> <iframe src="http://www.365netmarketing.co.uk/adds/banner.php?action=b&t=true&ref=20&w=468&h=60&grp=13" width="468" height="60" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" allowtransparency="true" background-color="transparent"></iframe> <!-- End Code -->[/CODE] this is a banner call code and works great … | |
If I have the following code: <form> . . . <select id="lstOtherStuff" multiple="multiple" size="6" style="width:200px;"> </select> </form> and I need to pass the variable "1stOtherStuff" (which is an element in an array) to a PHP script, how do I do that? If I use the following code, I can access … | |
hey guys, the browser gives the following error when i open my webpage. [code]Line: 49 Char: 1 Error: 'null' is null or not an object Code: 0 URL : http://www.worldofpakistan.net/register.php[/code] the code of the page is as follows: [code=php] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" … | |
I'm having a problem with displaying my profile images from a database .the upload works fine,but no image is displayed:Could you please help! I have the following code which cant work: 1. main profile page has the following script: <?php echo '<img src="XXXXX_XXX.php?id=$Current_Person_Id">'; --------------------------------------------------------------------------------- 2.the image page has the following … | |
I have a concern about my program....the files that I want uploaded vary n size....would that affect the upload? I did not set anything anywhere to enforce the file size to be uploaded, and only really small files are able to upload... | |
Hi, Is it possible to use images for a button instead of the normal button? I am not trying to link it to another page over here but, getting it to trigger some event like a normal button. Thanks alot. Regards, heels | |
Sorry for how stupid this question may sound but I am in the process of linking two different warehouses together that use different databases. I need to run a query from one that is a remote webserver as well running PHP with a MYSQL database. This query will be done … | |
I have been trying to access a public array inside a class, but it is freaking out on me. Should this be able to work? [code=php] $TestArra = array('Hello', ' ', 'World'); class Test { function Test() { $this->Display(); } function Display() { foreach($TestArray as $value) { echo $value; } … | |
I have two tables, one is called "options" and the other is called "option_values". The first one contains entries such as: "size, color, shape" while the other has a "option_id" field linking it back to the "options" table and with entries like: "small, medium, red, green, square, etc..." depending on … | |
Hi, I have downloaded a couple of scripts which I would like to combine but I am very new to PHP and don't know if it is possible to do. One of the scripts is a simple shopping cart and the other is a (to me) very complicated affiliate script … | |
Hai, I had scrapped the website with the help of code in the following link [url]http://www.daniweb.com/code/snippet293.html[/url] When i tried to scrap the following web site,it is keep on refereshing, Kindly help me to solve this issue. Thanks ravi [CODE]<?php require_once(dirname(__FILE__).'/class_http.php'); $h = new http(); //$h->ttl = 1000; if (!$h->fetch("https://secure.classmates.com/profile/fullLogin.html","daily")) { … | |
Hi guys, I would like to ask if there is anybody have example files on how to use php_java bridge...... cheers | |
The End.