Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
8,069 Members
165,854 Posts
29 Users Online

Please welcome our newest member, Medy220!

Affiliates
Go Back AdminFusion » Marketplace » Buy and Sell » Buying PHP code snippet
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
Old 07-07-2006, 11:03 PM   #1

RedMatrix's Avatar

Title: Gas 1.43

Points: 25,494, Level: 48Points: 25,494, Level: 48Points: 25,494, Level: 48
Level up: 49%, 56 Points neededLevel up: 49%, 56 Points neededLevel up: 49%, 56 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 3,984

Location: back in TX

RedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond repute
Send a message via ICQ to RedMatrix Send a message via MSN to RedMatrix  
 
Buying PHP code snippet

I am looking to pay a few dollars for this script that is probably available for free out there in cyberspace.

I need a PHP code that can manipulate a database using strings.

I know how to make a form, and pass data to an action.php file. But after that, I'm at a loss.

For Example.

What is your name? [ ]
What is your webpage? [http:// ]


I need this to be recorded as an entry in a database.. say entry #0, and the next form would be entry 1, 2, 3 etc.

Then, I can spit out:

Code:
....loop...
i=0
<tr><td>Your name is $name[i]</td>
 <td>homepage is $home[i]</td>
</tr>
i++
.....loop...
SOMETHING to this effect. Any takers?
__________________
I went to Vegas, and all I got was this Blister. - true story!
Reply With Quote
Old 07-07-2006, 11:51 PM   #2

mrdiaz's Avatar

Title: Apprentice

Points: 2,398, Level: 13Points: 2,398, Level: 13Points: 2,398, Level: 13
Level up: 14%, 52 Points neededLevel up: 14%, 52 Points neededLevel up: 14%, 52 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Jan 2006

Posts: 254

Location: Ontario, Canada

mrdiaz is on a distinguished road
Send a message via MSN to mrdiaz Send a message via Yahoo to mrdiaz Send a message via Skype™ to mrdiaz  
 
kinda like a profile?
__________________
My Planet: Planet Diaz
Reply With Quote
Old 07-08-2006, 12:16 AM   #3
Bob

Bob is offline

Bob's Avatar



Title: Back in the Green

Points: 3,998, Level: 18Points: 3,998, Level: 18Points: 3,998, Level: 18
Level up: 19%, 252 Points neededLevel up: 19%, 252 Points neededLevel up: 19%, 252 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 753

Location: Scotland

Bob is a jewel in the roughBob is a jewel in the roughBob is a jewel in the rough
Send a message via MSN to Bob  
 
You looking for the whole script or have you start one and had to stop at this point?

I've did it (or at least manipulated a database) through IPB and it should be similar. Catch me on MSN and let me know exactly what it is your after and I;ll see what I can do.
__________________
Bob's Bit of the Web
Into Blogging? Want to talk about it or need help with something? Join us at the Blogging Café.
Reply With Quote
Old 07-08-2006, 12:19 AM   #4

RedMatrix's Avatar

Title: Gas 1.43

Points: 25,494, Level: 48Points: 25,494, Level: 48Points: 25,494, Level: 48
Level up: 49%, 56 Points neededLevel up: 49%, 56 Points neededLevel up: 49%, 56 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 3,984

Location: back in TX

RedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond repute
Send a message via ICQ to RedMatrix Send a message via MSN to RedMatrix  
 
I don't know. I don't want to give out the nature of my idea just yet. But let's assume this is what I want to do:

Put up a form that gathers 3 strings, store them in a database with other records.
THen, have a php file spit out a table with something like this:

Code:
<table>
 <tr>
   <td>
     <img src="record1.a" alt="record1.b" /> <span class=name> record1.c</span>
   </td>
   <td>
     <img src="record2.a" alt="record2.b" /> <span class=name> record2.c</span>
   </td>
   <td>
     <img src="record3.a" alt="record3.b" /> <span class=name> record3.c</span>
   </td>
  </tr>
</table>
It would show the avatar, tooltip, and name; in a table, each row to have 3 of these.
__________________
I went to Vegas, and all I got was this Blister. - true story!
Reply With Quote
Old 07-08-2006, 12:21 AM   #5
Bob

Bob is offline

Bob's Avatar



Title: Back in the Green

Points: 3,998, Level: 18Points: 3,998, Level: 18Points: 3,998, Level: 18
Level up: 19%, 252 Points neededLevel up: 19%, 252 Points neededLevel up: 19%, 252 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 753

Location: Scotland

Bob is a jewel in the roughBob is a jewel in the roughBob is a jewel in the rough
Send a message via MSN to Bob  
 
Quote:
Originally Posted by RedMatrix View Post
I don't know. I don't want to give out the nature of my idea just yet.
lol, fare enough. Let me see what I can rig up and I'll give you a shout.

EDIT: Having spoke to Dave I may well be in over my head here. I'm good at editing code to suit my needs or writting some basic stuff, but this is abit more complicated than what I'm used to doing.

I'm not giving up, but if anyone else wants to help, please feel free to reply cause I'm not sure I'll get anywhere with this
__________________
Bob's Bit of the Web
Into Blogging? Want to talk about it or need help with something? Join us at the Blogging Café.
Reply With Quote
Old 07-09-2006, 10:27 AM   #6

RedMatrix's Avatar

Title: Gas 1.43

Points: 25,494, Level: 48Points: 25,494, Level: 48Points: 25,494, Level: 48
Level up: 49%, 56 Points neededLevel up: 49%, 56 Points neededLevel up: 49%, 56 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 3,984

Location: back in TX

RedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond repute
Send a message via ICQ to RedMatrix Send a message via MSN to RedMatrix  
 
Perhaps SMARTY is the key.
__________________
I went to Vegas, and all I got was this Blister. - true story!
Reply With Quote
Old 07-09-2006, 11:32 AM   #7
Bob

Bob is offline

Bob's Avatar



Title: Back in the Green

Points: 3,998, Level: 18Points: 3,998, Level: 18Points: 3,998, Level: 18
Level up: 19%, 252 Points neededLevel up: 19%, 252 Points neededLevel up: 19%, 252 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 753

Location: Scotland

Bob is a jewel in the roughBob is a jewel in the roughBob is a jewel in the rough
Send a message via MSN to Bob  
 
Possibly, like most things PHP I've played around with it a little, but no expert
__________________
Bob's Bit of the Web
Into Blogging? Want to talk about it or need help with something? Join us at the Blogging Café.
Reply With Quote
Old 07-09-2006, 10:18 PM   #8

Soniceffect's Avatar

Title: Apprentice

Points: 2,316, Level: 13Points: 2,316, Level: 13Points: 2,316, Level: 13
Level up: 14%, 134 Points neededLevel up: 14%, 134 Points neededLevel up: 14%, 134 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Jun 2006

Posts: 258

Soniceffect has a spectacular aura aboutSoniceffect has a spectacular aura aboutSoniceffect has a spectacular aura about
 
 
only SMARTYs have the answer LOL .. Sorry I just had to say that
__________________
Dont forget to give people reputation if they have helped you!!!

Tech The Planet - Computer n tech forums
Reply With Quote
Old 07-10-2006, 01:56 AM   #9

PhoenixDown's Avatar

Title: Member

Points: 1,909, Level: 12Points: 1,909, Level: 12Points: 1,909, Level: 12
Level up: 13%, 241 Points neededLevel up: 13%, 241 Points neededLevel up: 13%, 241 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 100

PhoenixDown is on a distinguished road
 
 
You may want to pick up a book on php, the php book by Kevin Yanks over at sitepoint is really good and I believe the examples in it cover what your looking for.
Reply With Quote
Old 07-10-2006, 10:23 AM   #10

RedMatrix's Avatar

Title: Gas 1.43

Points: 25,494, Level: 48Points: 25,494, Level: 48Points: 25,494, Level: 48
Level up: 49%, 56 Points neededLevel up: 49%, 56 Points neededLevel up: 49%, 56 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 3,984

Location: back in TX

RedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond repute
Send a message via ICQ to RedMatrix Send a message via MSN to RedMatrix  
 
Ah, wouldn't it be much easier to pay someone that has already read it? lol.
I'm learning* myself smarty right now.


dave
* (yes, I used bad grammar, but on purpose)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yahoo Lays Out Welcome Mat For PHP Devs shellspeare Graphics and Design 0 03-01-2006 09:08 AM
php Resource List gprime Graphics and Design 6 01-24-2006 05:01 PM
http://pear.php.net? shellspeare Off Topic 1 01-24-2006 10:40 AM

AdminFusion

All times are GMT +1. The time now is 06:57 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved


From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30