- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
I'm trying to display in a web page all the images stored in a database. THis is my code, but it only displays the first picture: [code=php]<?php include "cysylltiad.php"; $result = mysql_query("SELECT * FROM files ORDER BY fid"); while($row = mysql_fetch_array($result)){ header("Content-Type: {$row['type']}"); echo $row["content"]; } ?>[/code] where content is … |
|
Re:
Can someone tell me y PHP is good for making a website? |
|
Hi and thanks for looking. The problem i'm having is simply getting an image to swap on a mouseover. Well I sort of had it working but then I cahnged the function to try and accomodate for more images and it just fell over dead. Let me show you the … |
|
Hi everyone, I sat down to create a what I thought was simple SQL query but once I got thinking about it I realised I'm not sure where to start. The objective is to return two resorts from a Resorts table for each country code in that table. Countries table … |
|
Hey everyone, The problem I'm having is regarding trying to persist a users search selection. For example a user searches (for holidays) on the homepage. I would like the search box which is displayed on every page to hold the values of the previous search which are persisted in a … |
|
Hi everyone, I am not a server guru but have had to setup a dedicated server for a new website. Everything is going except that when I try to connect to it via HTTPS connection I get a 500 internal error page which basically means I don't know what is … |
|
Hi everyone, I have tried finding out how to do this everywhere but I am coming up completely blank. I have content coming into my site that I have no control over and it has this symbol • embedded in it. I really want to remove it and I can't … |
|
Hi everyone, The goal is to be able to extract a specific element (and all children of it) from a XML string and then to echo this to the page inside a hidden form element so that it can be posted to another page. I have tried to get the … |
|
Re:
hello to all as i am new to this, all i wants to know that what is required to learn PHP. these days i am on JavaScript and know some basics of it and i have knowledge of HTML and CSS...but i don't want to continue JavaScript and wanted to … |
|
Re:
Hi, Can any one please guide me that is there any way in php to add all country names automatically in a list box rather then making a static list of <option> Thanks for your time. |
|
Hi, I was wondering if anyone out there could provide a few pointers to me on how to get started using a XML web service. It's a holiday feed so includes things like flights, bed banks etc But what I'm wondering is how do you query and get results from … |
|
Re:
Hello. I am completely new to web development but want to learn PHP. I am currently a Sys Admin working in a Windows environment but I am very familiar with Linux OS server platforms also having built and run both a Windows and Linux web, MS SQL, and MySQL servers. … |
|
Re:
Ok so what i'd like to know is how to have two where statements in a mysql delete query. I get an error if i do this: [ICODE]mysql_query("DELETE FROM user_notifications WHERE username='$acc' AND WHERE notification='$note2'") or die(mysql_error()); [/ICODE] Any help would be much appreciated, I know this is a silly … |
|
Hi all, I have integrated google maps API into a site as a store finder. However I'm at the stage of trying to plot thte driving directions between a store and a user input address. The stage I am stumped at is getting the driving directions to plot themselves on … |
|
Re:
I am new to PHP, but eager to become a "pro" ASAP! What does everyone think about using an IDE with PHP? What tools do you use? I installed Eclipse PDT All-In-One on my MacBook. I am getting the hang of it, but it still doesn't seem as user-friendly as … |
|
Hi, I have been trying to get resorts from an XML tree but I have found that it seems to be very flat and not helpful at all in terms of targeting information. Attribute names are all the same whether it is the world element, region of world element, country … |
|
Hi there, So I thought this would be simple and it should be but I can't see what is wrong. Basically I am checking what language has been selected (via a code stored in a constant LANG_CODE) and then loading in a specific swf file. Except that the language code … |
|
Hi, Thanks for checking this out. The error is that when I use ob_start to store the results of an include file my fwrite statement later on in the code works but only writes a blank file, whereas when the ob_start is not present the fwrite function writes the file … |
|
Hi there, I am wondering if anyone here could tell me where I am going wrong with my XPath query. What I am using is below and is supposed to return me the URL attribute of the last Image element under the AccommodationSegment element. The if statement keeps getting run … |
|
Hi everyone, Many thanks for looking. Here's the problem. I have a form with three option buttons. Depending on what one the user clicks on I need a particular div to be shown, while the other two divs are to be removed. The only problem is that the removeChild doesn't … |
|
Re:
Hello every body. I need to make a site in 6 languages with php. Languages are like english, hindi, polish, romanian etc. I want to ask what is the best solution to make a site in different languages. The site i need to make is CMS and a forum. Please … |
|
Re:
Gud day everyone!!! I hope you could help me with this one, I have a select form that looks like this, <select> <option>AAA</option> <option>BBB</option> <option>CCC</option> <option>DDD</option> <option>EEE</option> </select> my question is, how to transfer to a new page if the select is change coz the page i am working right … |
|
Hi, Can anyone please tell me how to do a REST request to a URL using method POST and NOT GET. I know I have to pass XML to the URL but I really don't know where to start actually sending the request. I have tried looking at loads of … |
|
Hi, I'm not sure if this is the right place for the question but it is related to databases, i think. I have been developing a site on a win server 2003 box using MySQL 5 and PHP 5. While I have been developing it the client wanted the site … |
|
OK this is driving me mad and it needs to be done for a deadline. It is just a simple query to update a few database fields. Here's the PHP for it. [code=php] $sql5 = "UPDATE videos SET title='$new_video_title' WHERE artist_id='$i' "; $query5 = mysql_query($sql5) or die( mysql_error() ); $sql6 … |
|
Hello, Thanks for checking this out. Basically I have a form that uploads an image and stores it in a folder. I then run a thumbnail function on it and store a thumbnail version of it in a sub folder. That all works but the bit I'm getting stuck on … |
|
Hi everyone, Simple query. I have a RSS.php file in my includes folder and in this I write out an XML file to a feeds folder. It has been working fine except when I changed the relative link used in the file_put_contents function to a root relative one. I want … |
|
Hi. I need to create an RSS file from one table in my database. I'm using PHP5 and MySQL. I have searched on this and tried to do it myself but i'm not sure what path to take. Should I use SimpleXML to do it? I am hoping someone might … |
|
Hi, OK thanks for looking. I do not know flash or after effects. I'm actuallly posting on behalf of a work colleague who is having a problem. We are trying to export from after effects to a format that we can then bring into flash. The resulting file however must … |
|
Re:
Hello all... How would I set up a href on something that needs to include information. For instance, when you click the link, I want the client to go to a certain page where the County is the County they picked and the State is the State they picked. How … |