PHP Experts...I Need Help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jdtsigns
Forum Newbie
Posts: 6
Joined: Thu May 29, 2008 8:28 pm

PHP Experts...I Need Help

Post by jdtsigns »

I need to know if there is a way to show my PHP Blog Topics on my home page (index.php)? I also have a shop that is php driven, that when you pull up the main shop page it has random products show up everytime the page loads. I want to know If I can show a small amount of random items on my homepage aswell?

Please if you help me, please make it easy to understand, I follow directions very well. I understand HTML, but have yet to grasp how php works yet. I just havent had time to sit down and learn about it.

I hope I asked the correct question and someone can help whether its possible or not. and If it is, how do you impliment it to work.

Thanks for your time and help
JDTSIGNS
http://www.jdtsignshop.com
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: PHP Experts...I Need Help

Post by onion2k »

jdtsigns wrote:I understand HTML, but have yet to grasp how php works yet. I just havent had time to sit down and learn about it.
Messing around with existing code is actually a lot more tricky than learning PHP from scratch. You'd be better off working through a few tutorials and then trying to do what you want to do rather than trying to change your site without knowing anything about PHP.
jdtsigns
Forum Newbie
Posts: 6
Joined: Thu May 29, 2008 8:28 pm

Re: PHP Experts...I Need Help

Post by jdtsigns »

But can what I am asking be done?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: PHP Experts...I Need Help

Post by John Cartwright »

Yes, it is possible. However, we aren't here to do the work for you. Trying to tell someone how to accomplish this with zero php experience is also difficult and time consuming, a luxury few of us can afford.
jdtsigns
Forum Newbie
Posts: 6
Joined: Thu May 29, 2008 8:28 pm

Re: PHP Experts...I Need Help

Post by jdtsigns »

How much would you charge to impliment this for me? Or Atleast can you point me in the direction of where I can find the info to make this happen. As stated before I can follow directions.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: PHP Experts...I Need Help

Post by John Cartwright »

We have a Job-Hunt forum you can post your advert in :)
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: PHP Experts...I Need Help

Post by Benjamin »

Or this should just be a simple matter of sending a query to the database and retrieving records.

You'll want.

Basic Syntax
mysql_connect()
mysql_query()
while()
mysql_fetch_assoc()
echo

You can do it if you take the time to read the manual pages and examples. PHP isn't too difficult.

Once you write some code feel free to ask in the PHP Code forum if you get stuck.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: PHP Experts...I Need Help

Post by RobertGonzalez »

What blog software are you using?
Post Reply