39,393 Topics

Member Avatar for
Member Avatar for carko

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 …

Member Avatar for kevinly
0
97
Member Avatar for mrpeterc

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 …

Member Avatar for nav33n
0
94
Member Avatar for manish_gajjar

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'>"; …

Member Avatar for nav33n
0
98
Member Avatar for t3hfr3ak

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 …

0
71
Member Avatar for tariq04

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)=='') { …

Member Avatar for vssp
0
157
Member Avatar for Taffd

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

Member Avatar for Fest3er
0
105
Member Avatar for avmaza

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

Member Avatar for chrelad
0
223
Member Avatar for halifaxer

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 …

Member Avatar for chrelad
0
68
Member Avatar for bondi007

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 …

Member Avatar for maurellis
0
176
Member Avatar for rogelioz

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.

Member Avatar for rogelioz
0
105
Member Avatar for manish_gajjar

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..

Member Avatar for nav33n
0
215
Member Avatar for ManOnScooter

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 …

Member Avatar for r4ccoon
0
111
Member Avatar for joshua.tilson

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 …

Member Avatar for chrelad
0
111
Member Avatar for redZERO

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 …

Member Avatar for redZERO
0
75
Member Avatar for kv79

Hi, I i have wamp server 2.0a and i want to publish my web on the WWW. Ho to do it?

Member Avatar for searchacar
0
267
Member Avatar for shortd81

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?

Member Avatar for dvduval
0
265
Member Avatar for tefflox

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 …

Member Avatar for tefflox
0
131
Member Avatar for acornist

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 …

Member Avatar for vssp
0
81
Member Avatar for Grantmitch1

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 …

Member Avatar for nav33n
0
133
Member Avatar for Taffd
Member Avatar for joshua.tilson
0
133
Member Avatar for Taffd

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 …

Member Avatar for Taffd
0
78
Member Avatar for Grantmitch1

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 …

Member Avatar for Grantmitch1
0
74
Member Avatar for redZERO

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 …

Member Avatar for nav33n
0
270
Member Avatar for assgar

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 …

0
81
Member Avatar for redZERO

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.

Member Avatar for digital-ether
0
127
Member Avatar for lilprincess

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?

Member Avatar for vssp
0
147
Member Avatar for assgar

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 …

0
68
Member Avatar for MitkOK

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.

Member Avatar for iamthwee
0
94
Member Avatar for dev07

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 …

Member Avatar for nav33n
0
64
Member Avatar for tefflox

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 …

Member Avatar for nav33n
0
104

The End.