Go to Post Sadly this bot uses better punctuation and capitalization than many on this site. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 26-01-2005, 09:12
ahmad's Avatar
ahmad ahmad is offline
Registered User
#0909
 
Join Date: Jan 2005
Location: kansas
Posts: 20
ahmad is an unknown quantity at this point
Re: PHP Coding HELP!!!

Quote:
Originally Posted by FRANK(WGH)
I recognize that i wasn't really clear on what i want to do so here it is. I'd like to use one page and then be able to include a specific include file through the link like this:
(http://delphielite.com/profiles.php?show=fbosak)
this way all i need is to create one completely formated page and then have it include a text file for each team member that has all the profile information.
I hope that this is possible

see if this helps :


PHP Code:
<?php



 $fullname 
$_GET['name']; 
  
           
        



    
$query=mysql_query("SELECT * FROM $table where name='$fullname'") or die(mysql_error());

    
    
    while(
$row mysql_fetch_array($query)) {
     
$j mysql_num_fields($query);
        for(
$i=0;$i<$j;$i++) {
            
$k mysql_field_name($query,$i);
            $
$k $row[$k];
        }
    
    
$entry=stripslashes($entry);



Echo
" entry";


    
?>

to see somthing you just type : index.php?name=FRANK

Last edited by ahmad : 26-01-2005 at 10:09.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Speaking of PHP 5... Ryan M. IT / Communications 3 01-08-2004 16:46
openFIRST PHP 5 Compatibility Timothy D. Ginn FIRST-related Organizations 0 30-07-2004 13:45
PHP and Wiki Error Venkatesh Website Design/Showcase 2 24-07-2004 15:51
Coding / Style Standards for sharing C code Joe Johnson Programming 33 01-05-2004 15:15
What's better, PERL/cgi or PHP/my_sql? mikefrei Programming 10 27-05-2002 22:50


All times are GMT -5. The time now is 00:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi