TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 22 of 22
Search took 0.02 seconds.
Search: Posts Made By: /\/\ongoose
Forum: General 12-10-2007, 05:53 AM
Replies: 16
Views: 896
Posted By /\/\ongoose
Well, we will see how it goes lol, thanks for the...

Well, we will see how it goes lol, thanks for the help
Forum: General 12-10-2007, 05:43 AM
Replies: 16
Views: 896
Posted By /\/\ongoose
Ok cool thanks :-D What do you think of this...

Ok cool thanks :-D

What do you think of this tutorial? http://www.php-mysql-tutorial.com/image-gallery/

I think with that and with this websites help I should be able to pull it off :).
Forum: General 12-10-2007, 05:37 AM
Replies: 16
Views: 896
Posted By /\/\ongoose
Hm, I have only messed with a db once and it...

Hm, I have only messed with a db once and it wasn't pretty. Hopefully this will turn out better lol.
Forum: General 12-10-2007, 05:32 AM
Replies: 16
Views: 896
Posted By /\/\ongoose
Ah I got it, in after the * if you limit the type...

Ah I got it, in after the * if you limit the type of files for it to pick up it wont show the extra files :)

I dont think this method will work though, I think a database will be the best idea. But...
Forum: General 12-10-2007, 05:28 AM
Replies: 16
Views: 896
Posted By /\/\ongoose
Ok I got it working, but it shows like 6 extra...

Ok I got it working, but it shows like 6 extra empty thumbnails when I only have three pictures in the directory? Weird...I can't wait until I am good enough at programing just to be able to know...
Forum: General 12-10-2007, 05:26 AM
Replies: 16
Views: 896
Posted By /\/\ongoose
That ouputs a syntax error

That ouputs a syntax error
Forum: General 12-10-2007, 05:21 AM
Replies: 16
Views: 896
Posted By /\/\ongoose
I would like to get titles for the directory its...

I would like to get titles for the directory its in, and I would like them to be catagorized. You can kind of see what I mean in the link above in the preview of it.
Forum: General 12-10-2007, 05:13 AM
Replies: 16
Views: 896
Posted By /\/\ongoose
Anyone that could explain using a database in...

Anyone that could explain using a database in this situation would be greatly appreciated. I want to know all angles of the task before I approach it
Forum: General 12-10-2007, 04:54 AM
Replies: 16
Views: 896
Posted By /\/\ongoose
Nevermind, I am stupid. I'm doing that tutorial...

Nevermind, I am stupid. I'm doing that tutorial now. Although I dont understand it all. Could you explain how using a db would be better? The reason for me wanting to do this is so that all I would...
Forum: General 12-10-2007, 04:43 AM
Replies: 16
Views: 896
Posted By /\/\ongoose
Well I followed that link that you gave me and I...

Well I followed that link that you gave me and I did this code:

<html>
<head>
</head>
<body>
<?php
$path = dirname($_SERVER['SCRIPT_FILENAME']);
?>
Forum: General 12-10-2007, 04:21 AM
Replies: 16
Views: 896
Posted By /\/\ongoose
PHP and external files

Is there a way to make php scan a directory...for example a folder full of pictures, and then list them in some way as links or whatever you need? If show could you show an example?

I'm building a...
Forum: General 11-06-2007, 04:16 AM
Replies: 22
Views: 1,134
Posted By /\/\ongoose
i just changed the whole script around it looks...

i just changed the whole script around it looks like this now :

<?php
require_once "dbconfig.php";
$recordset = mysql_query('SELECT id, date, title, description FROM news ORDER BY id...
Forum: General 11-06-2007, 03:38 AM
Replies: 22
Views: 1,134
Posted By /\/\ongoose
ok i fixed it all up how i wanted, although you...

ok i fixed it all up how i wanted, although you people that are good at php probably would think its pretty butured up lol, thanks for the help guys
Forum: General 11-06-2007, 03:03 AM
Replies: 22
Views: 1,134
Posted By /\/\ongoose
ok i fixed all of that now one last problem or so...

ok i fixed all of that now one last problem or so i hope :(...i am getting a syntax error on this line

while ($row = mysql_fetch_array($recordset)){ echo('.$row['date']);

It looks right to me?
Forum: General 11-06-2007, 02:45 AM
Replies: 22
Views: 1,134
Posted By /\/\ongoose
it didnt print anything

it didnt print anything
Forum: General 11-06-2007, 02:41 AM
Replies: 22
Views: 1,134
Posted By /\/\ongoose
where should i put that code? sry im really new...

where should i put that code? sry im really new to php
Forum: General 11-06-2007, 02:35 AM
Replies: 22
Views: 1,134
Posted By /\/\ongoose
Well, I tryed yours and it got rid of the error,...

Well, I tryed yours and it got rid of the error, but it did not echo the information, it is just blank. This is the whole page of code, with your code in it Nor.

<?php
$currentPage =...
Forum: General 11-06-2007, 02:30 AM
Replies: 22
Views: 1,134
Posted By /\/\ongoose
That is exactly like the original code that works...

That is exactly like the original code that works in the other page, but it still kicks back an error on this page. Here is the whole script :

<?php
$currentPage =...
Forum: General 11-06-2007, 02:04 AM
Replies: 22
Views: 1,134
Posted By /\/\ongoose
I changed the code to: $recordset =...

I changed the code to:


$recordset = mysql_query('SELECT id, date, title, description FROM news WHERE id = '.$_GET['id'].'LIMIT 1') or die(mysql_error());

It still throws back the same error?
Forum: General 11-06-2007, 01:52 AM
Replies: 22
Views: 1,134
Posted By /\/\ongoose
Oh and the code worked fine on another page, so I...

Oh and the code worked fine on another page, so I don't know what the problem is :-\
Forum: General 11-06-2007, 01:52 AM
Replies: 22
Views: 1,134
Posted By /\/\ongoose
Problem with code

Hey guys,

I am working on a script and this portion of code throws back and error, and I can't seem to figure out why, any help would be appreciated!

Code:

$recordset = mysql_query('SELECT id,...
Forum: Member Introductions 11-05-2007, 07:31 AM
Replies: 1
Views: 584
Posted By /\/\ongoose
Hey all

Hey guys,

My name is Jonathan, I kinda stumpled across this site as I was researching php. I started to read through the forums and thought the people here were pretty nice so I figured I'd join in...
Showing results 1 to 22 of 22

 

All times are GMT. The time now is 02:19 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design