Search found 10 matches
- Wed Jun 09, 2004 2:18 pm
- Forum: PHP - Code
- Topic: Help. Not loading next page.
- Replies: 1
- Views: 266
Help. Not loading next page.
Hey, Ive got the following code for registering new users on my website: <?php $page_title = 'Register'; include ('templates/header.inc'); if (isset($_POST['submit'])) { require_once ('includes/mysql_connect.php'); function escape_data ($data) { global $dbc; if (ini_get('magic_quotes_gpc')) { $data ...
- Tue May 25, 2004 7:08 am
- Forum: Databases
- Topic: Excluding certain results.
- Replies: 4
- Views: 479
- Tue May 25, 2004 6:51 am
- Forum: Databases
- Topic: Excluding certain results.
- Replies: 4
- Views: 479
Sorry should have also said there is already one WHERE in the statement, does this matter?
here it is(modified):
Cheers
here it is(modified):
Code: Select all
$sql = "SELECT * from questions WHERE field = 'TRUE' WHERE q_page>$page order by q_seq ascs";- Tue May 25, 2004 6:22 am
- Forum: Databases
- Topic: Excluding certain results.
- Replies: 4
- Views: 479
Excluding certain results.
Hey, I have a search feature on my site, this searchs the users of the site and displays the profile depending on the search criteria, however there is a field in the user table that is either TRUE or FALSE and i need to exlude all the reults that are FALSE from any search. Is there a simple bit of ...
- Tue Mar 30, 2004 5:15 pm
- Forum: PHP - Code
- Topic: Any Ideas?
- Replies: 2
- Views: 388
Any Ideas?
Hey, Ive got the following code for displaying pictures in specifeid folders <? INCLUDE "conf.php3"; if ((!isset($gal))||(!isset($title[$gal]))){ print "<TITLE>Categories</TITLE>"; include "banner.php3"; print "<h1>Categories</h1>"; $i=0; while (isset($title[$...
- Mon Mar 29, 2004 4:50 pm
- Forum: PHP - Code
- Topic: [SOLVED] Simple Counting Solution Needed
- Replies: 12
- Views: 1043
Hey,
Just tried the counting function and im getting
Any ideas?
Cheers,
Slater
Just tried the counting function and im getting
Code: Select all
Fatal error: Call to undefined function: countfiles() in /home/elliottp/public_html/sunshine/index.php on line 102Cheers,
Slater
- Wed Mar 24, 2004 6:40 am
- Forum: PHP - Code
- Topic: [SOLVED] Simple Counting Solution Needed
- Replies: 12
- Views: 1043
- Tue Mar 23, 2004 5:23 pm
- Forum: PHP - Code
- Topic: [SOLVED] Simple Counting Solution Needed
- Replies: 12
- Views: 1043
Right, The code above works fine, but (allways a but), just need to make it a bit more complex, if i can, i have around 100pics in each folder is it possible to split the resuilts into two rows of 5 pics, so it would display 10pics per page, 5 on top row 5 on the bottom and then list the pages at th...
- Tue Mar 23, 2004 12:51 pm
- Forum: PHP - Code
- Topic: [SOLVED] Simple Counting Solution Needed
- Replies: 12
- Views: 1043
- Tue Mar 23, 2004 12:13 pm
- Forum: PHP - Code
- Topic: [SOLVED] Simple Counting Solution Needed
- Replies: 12
- Views: 1043
[SOLVED] Simple Counting Solution Needed
Hey, Here the problem: I have a page that would like to list all the images in a folder (folder is determined by variable). I need to find the number of images in the folder adn print the thumbnails and links to the fulls sized pics untill all images are displayed. The Pic number will need to increm...