Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

60 users online



Can someone push me in the right direction so that I can learn it

Can someone push me in the right direction so that I can learn it

Currently viewing this thread: 1 (0 members and 1 guests)


Page 1 out of 3
River

River

Status: Offline!

Can someone push me in the right direction so that I can learn it

How do people achieve this mime effect?

I just want to know where to concentrate my study on when it comes to editing it.

For example:

http://www.greenplastic.com/news/index.php

- the site is able to keep a consistency in its updating of
news within the same designed box.

my question is:

When I need to update daily news, do I have to go to dreamweaver to write it out first and the insert some kind of code so that it can mime the box that I wrote my previous news in?

I sort of understand that PHP is like cloning. You have a nice consistency look on your board. My problem is not knowing where to go do this.

If someone can just push me in the right direction, I can easily spend some time learning it once I get there.

dafrabbit

dafrabbit

Neverside Newbie
Status: Offline!

Huh? Ok look. PHP is a language. You write programs in PHP. The particular program you're talking about will have an interface for addingn your news into a database, which is more commonly either a MySQL one or a flatfile. The PHP script to generate your news page will then access the data in the database and print it out. Maybe I misunderstand your comparison to cloning, but PHP is really not like cloning.

Phil

Phil

with Mr. Jones
Status: Offline!

PHP is like cloning? What? PHP is a "server side language" used to store and manipulate previously or currently stored data as well as data generated from user input.

I'll push you in the direction of

(you know whats coming guys)

the stickies!

the stickies have all you ever want to learn about php and then some.

___________________

http://www.philbrodeur.com - Expert PHP Development and Tutorials

River

River

Status: Offline!

I have no idea that asking for help was such a big deal around here

Unini

Unini

overall Funny Guy
Status: Offline!

i think what you mean by cloning is using the same layout for every news post right?
what you do is get the data from either a databse or flatfile.
then you loop through each newspost and create a layout with the variables.
every newspost would look the samen and you only have to change the layout for it to change everywhere

___________________

"I find it kinda funny, I find it kinda sad,
The dreams in wich I'm dying are the best i've ever had"

River

River

Status: Offline!

I can't find a simple tutorial anywhere that tells you this. You are correct. I want to be able to just keep it simple and with each new post I make, it keeps a consistency in the layout. Pretty much like what every PHP page should look like. Very clean.

My only trouble is, I just don't know how to do this. If I make up my own graphics using Photoshop. Do I have to save this file as a jpeg and then upload it to MySql so that it can be in its database off my Control Panel? or do I have upload it to Dreamweaver MX and then save it as an .PHP and then upload it to thru my FTP to the host?

I just need a simple answer to this. I do have a general idea of MySql, I just don't know where to upload my personally made graphics box so that I can it Clone everytime I write a new post for my news page.

can anyone help?

evan

evan

Neverside Newbie
Status: Offline!

From the way you are explaining yourself, you know nothing about PHP. I suggest finding a beginners book and reading it.

River

River

Status: Offline!

I am a beginner but please do not insult me for asking this. That is why I want to know where to start learning this. I just want to learn how to do those two things and I'm pretty much sastisfied. I am up to my eyeballs with MySql/PhP tutorials and books. It is also frustrating when you can't do any of these practices in real-time. I wouldn't know it I am doing is actually going to work since I have to upload it....

If only there was a program that you can practice this on in real time.

Everything I do I learn quickly from messing around with it for a few days.

I am not asking for a step by step tutorial here.

My question is...how do I go about just upload my own graphic box for MySql database. Am I right or am I way off?

Andy

Andy

Neverside Newbie
Status: Offline!
Quote:

Originally posted by River
My question is...how do I go about just upload my own graphic box for MySql database. Am I right or am I way off?

You can't upload to a database persay, but, you can commit the url of the uploaded file. Upload it to a directory, then send the address to where you've uploaded it to a database, and then, later, query it and use that address as the img src.

___________________

Andy

Phil

Phil

with Mr. Jones
Status: Offline!

You could "upload my own graphic box for MySql database" but the complexity of it would destroy him.

php.net/include

PHP:


include 'topTemplate.html';
?>
content
<?php
include 'bottomTemplate.html';
?>

I KNOW this is covered in the stickies or one of the threads linked in it.

___________________

http://www.philbrodeur.com - Expert PHP Development and Tutorials

Page 1 out of 3
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0086 seconds.