39,393 Topics
![]() | |
Help please I am a newbie trying to learn. I have the time and attitude but I do need direction for what I am trying to do. I have a photo site that I am trying to redo. I am trying to create a page where on the bottom or … | |
Can someone point me in the right direction, what I am trying to do is use the result set that I have from a php query to a mysql table. I would like to be able to individually select a record from a query result that returns multiple records. I … | |
Hi guys...Good morning...I have following code. <?php $pid=$_GET['pid']; $conn=mysql_connect('localhost','root','') or die("Cannot connect to server"); mysql_select_db('developer',$conn) or die("Cannot connect to database"); $sql="select cnode,item,pnode from listviews where cnode='$pid'"; $res=mysql_query($sql) or die("Cannot execute query"); while($ar=mysql_fetch_array($res)) { $itm=$ar[1]; $pid=$ar[0]; } $sql="select cnode,item,pnode from listviews where pnode='$pid'"; $res=mysql_query($sql) or die("Cannot execute query"); echo "<table border='1'>"; … | |
I am currently using PHP-Nuke to create my website. Currently it is in development and I wanted to know how I can add a Donations block with a paypal donation button inside. I know how to set location and everything but I can't figure out how to make the block … | |
hi i am new in PHP ,i am doing my job in a company and there are some existing project they tell to me plz check and remove errors ,i m trying more and more to remove this error but i m failure....plz help me. <?php require("header.inc.php"); session_start(); if(($useradmin)=='') { … | |
Happy New Year everyone. Does anybody know how I can restrict access to a page to those users coming from a specific url. Thanks in advance Taffd | |
I have used the css to print the page orientation to landscape. But it is not giving the desired result. the code I have used, <style type="text/css" media="print"> .land{filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1)} </style> Please suggest me to print to lanscape. I am using php and javascript. Regards, maza | |
Hola, I am very new to regex and am relying on help from other forumers to help code this. If you think you can teach me (lol) even better. I have an affiliate website that lists products from various external websites. For obvious reasons these products are sometimes out of … | |
Hello, I want to make a forum but how do i go about this i dont want a free one i want a proper one with the phpbb 3.0 but how does it work and how do i set it up and what do i need any help would be … | |
Hi, I have the following code: [code] $date = 'Nov 7, 2007'; echo date('Y-m-d', strtotime($date));//outputs 2007-11-07 $date2 = $dates[1][0]; echo $date2;//outputs Nov 7, 2007 echo date('Y-m-d', strtotime($date2));//outputs 1969-12-31 [/code] How can I have the last line output 2007-11-07? Thanks in advance. | |
Hii I have a query...I am using PHP,Mysql and Javascript.. I want to add values in the listbox from textbox..and also display them in hirerachical manner using treeview or <li> tag...so please send me code for performing this process. Thank you.. | |
I am trying pagination for a database-database search engine - this was the query $sql = "select id, name from student_adv WHERE name LIKE '%$search%' order by id limit $startIndex, $perPage"; and it worked fine when i had $search = John The problem starts when i put $search = John … ![]() | |
Hello, I am looking for some advice on how to do something within PHP, i know it is possible and have seen examples before, however I am not sure how to implement this myself. What i am looking at doing is including PHP pages within a main PHP page. for … | |
I have a script which takes the variable from a form and puts it into a mysql table. There is an entry, but inside the field it is blank. I have attached screenshots. This is my code [CODE] // prepare form values for insert $URL = mysql_real_escape_string($_POST['url']); // Make mysql … | |
Hi, I i have wamp server 2.0a and i want to publish my web on the WWW. Ho to do it? | |
Hello, I'm looking for a script that has a link directory and also you are able to have featured listings. I want the link directory to be a link exchange where I will get a link back. Anyone have any script suggestions for this? | |
Hello, I am trying to do nifty things with the flickr api, but this code does not work on my web host. Something about the url_fopen (?) turned off for security. I'm told that I can use "Curl" to work around that. Will you offer some help, if even a … | |
I have a table containing various information describing room requirements for an architectural project with about 500 different rooms. Each record in the table represents a single room and its attributes. There are about 200 attributes in all, but each room uses only a small subset of those attributes. To … | |
Hello one and all. In simple terms Im quite an amateurs, but learning fast. I have just finished making a web email form, and have found a problem. I need PHP, so I looked at what I made and using the help of a mate (who is quite skilled) we … | |
Is SESSION info maintained when a user is diverted to paypal? | |
I've just been reading a solved thread with this same title. The solution was nl2br. I was unaware of this function and have been using str_replace instead. A problem arises however, when converting preformatted text, specifically a table. Either solution leaves a mass of space between text and a table … | |
Hello recently some of you gave me help with my php form. Well I have altered it slightly using a book and it has shown me how to incorporate the php into itself. So the form should work without an external php page Could someone tell me if this is … | |
I want to pull a list or URL's from a database. They must go one by one, so should i make the table have one field called 'link', then whenever I call the top value, it performs the action, then deletes it, moving on to next url? Should i also … | |
Hi I need help. I know what I want to accomplish, but I do not know how to do it. The events are recurring every month, but not recurring at the same time or on the same day of the week. WHAT I NEED HELP ACCOMPLISHING: How to do I … | |
Hi, I would like to know a resource or simple solution for this, I have a mySQL database with lots of links. I need said solution to visit each link and download the HTML file for it. Like an indexer which is told where to index. | |
I own a website and I would like to start a forum on it. So am thinking to use phpbb for it, but I don't have any knowledge of PHP. Is PHP knowledge neccessary to use phpbb? | |
Hi I need help. I know what I want to accomplish, but I do not know how to do it. WHAT I NEED HELP ACCOMPLISHING: How to do I insert data into a table for a date range of two or more months, where every second or third week should … | |
Hi folks. I wonder if some of you has worked with xls class for manipulating spreadsheets with PHP. The thing is that I have to get some values from 5 or 6 files and put them in HTML tables. Thanks in advance. ![]() | |
hi members, In our project we are designing a advance search field using drop down list. using this we can enter a multiple search option for a single search.If we want to remove certain options afetr entered that for search how can we write PHP script for that.can somebidy give … | |
Hello, my site sees a lot of visits to the first page after the "cover", but very few beyond that page. I want to randomize the first inward link, and keep track, so if the reader decides to click "next", it won't load the same page. How do I do … |
The End.