Forums Page 38
-
Querying info from one table based on info in another
Hi, I am currently trying to make a part for my user driven website where one user can subscribe to another and whoever they have subscribed to is…
-
PHP Thumbnail Creation
Ok so i use this function to create thumbnails: Code: function createthumb($name,$filename,$new_w,$new_h) { $system=explode('.',$name)…
-
Can't shake the "Warning: include()" error
I've just uploaded my site to a new server and where I have PHP include tags in my HTML, the browser reads: "Warning: include() [function.include]…
-
adding up might be solved tell us cheers.
i think i finally solved this anybody. last time i was getting the wrong results. Code: <?php // price of item. $price="100.00"; //quenity of…
-
PHP Upload issue
Hi guys, I have stumble across an interesting issue with my script and is doing my head in. A little background on the application. I've got a…
-
pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the new version of that page is now a couple of…
- Advertisement
-
How to get the previous months last date....
Here's my wittle problem. I suck at working with dates. So today is 10/20/2009, i need to figure out how to use Code: $lastmonth = date("m-d-Y"…
-
PHP Multiples of 2, Show posts...not working (wordpress)
I have been using this code to show div.example with 6 li columns inside it, each li is a post with its info inside. Once it gets to the 6th li it…
-
ctype() validation - allowing illegal characters
Hello, I use ctype() to filter and validate a user form. However, I am trying to allow certain characters. Example: Code: //Validate Copay $allow =…
-
foreach help.
Hello all, First time I'm attempting to use a foreach statement and was just wondering if my code is correct: Code: $sql = "SELECT email from…
-
Help pulling in 'id' with "read more" link
I'm trying to create snippets of my articles in the cms I'm creating, and then have them redirect to to a single page entry of the article. Right now…
-
PHP and MySQL Question/Help
I have a MySQL db with all my servers and all their details like server name, IP, OS, RAM etc etc 26 in total. I have a PHP page which will list all…
-
Remote Database Access
Hey guys!! OK, i'm used to only working with databases from the CPANEL, accessing phpMyAdmin after setting up a mysql database in the cpanel. I've…
-
Edit MySQL Row Using PHP and HTML Form
Hello, Here's what I'm trying to do. Build a page where a user enters a MySQL row number in. Then, a new page appears with an HTML form where the…
- Advertisement
-
How to extract/download content from HTTPS page?
Hello to all the Members of this forum, Im Shoiab, A novice programmer in php.. for my first job I have been recently assigned a project, in which I…
-
Referential Integrity problem when inserting into 2 tables at same time
Hello Everyone, Im relativity new to PHP and MySQL and i have come up against a problem. i have 2 tables that are linked via foreign key constraints…
-
puting for loop in 1 value
hi , how do i put this code in 1 value: Code: <?php for ($i=1; $i<=5; $i++) { echo $i ; } ?> the output will be: 12345 how do i put the…
-
javascript in php code causes page to display white
Hi All, Odd one this, I've got the following code (below) which is a simple log in form. The client wanted a pop to inform you when you've not…
-
Page doesn't expand for content
Hi. I've been testing a query I made. It's here http://lapr1.6te.net/inquerito.php The page doesn't expand for content, it cuts most of it. What can…
-
Chat Box in PHP
I was thinking in doing a Chat Box in PHP. For that I would use a form with two fields, Nick and Message, then I would store the data in a DB and…