Jump to content

droomagon

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

droomagon's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. there's is one example i can think of, that will relate to my question. you know how you go to a shopping site, when u order things, and products would go to the shopping cart? and when customer press the SUBMIT to order, the list of orders would be MAILED out to the customer's email. that's what i am trying to accomplish
  2. well, i don't have the working code yet, but i am trying to figure out how to do it... thus far i don't anything on paper... basically what i want to do is, do a search of the database matching user's ID, and gets a list of things from the database, and then MAIL it out to the user and admin. so far, i have no clue how to do it...
  3. Thanks waynewex for the quick reply... its the part that mail() is bugging the heck out of me, i'm not sure HOW to do it.. must have a brainfart lately...><
  4. Currently i have 2 tables. First table is the user information, and second table is the list of orders left by the user themselves. So, what i'm trying to accomplish is... extract the list of orders from the second table, matching the first table by the sessionID (yes, the link between two tables are the sessionID recorded), then mail it out to the administrator. I've been at this trying to figure this out for 2hrs... and still no clue how to proceed.
  5. I did do that actually, incorporating the html codes within the php, but the thing is that, it has grown into such a huge file with few thousand lines, it gets kinda hard to maintain, so i'm looking for ways to simplify it. As well as, my friend told me, that he wish to change the layout in the future, so i figure its the best way to convert the website to template base now, not later... My main objective is to: - construct dynamic website (which is at the moment) - strip the html code from current php file (big file atm, about 50k filesize), and incorporate html template - simplify codes, use html driven template for friend's dynamic web content Any suggestion is appreciated.
  6. Hello everyone, This thread actually comes in two parts, and since i'm not an advanced programmer such as you folks, so i'll start off slow... I've searched through the forum, and the internet, but I wasn't able to find something that I needed... a template system that is easy to script. What I need is actually pretty simple, a friend of mine that already has his product information stored inside the database (product title, description, pdf file, and so on), my goal is to display the products using a template (html file) and driven by the php (index page) to loop over however many products he has. If i'm not mistaken though, this should be only 2 files for this, 1 would be the index file that includes the DB connect and whatnot, and the 2nd file would be the html file itself. The other question is that, I havn't got a clue if his host has Smarty installed, although I could email and ask them, but that would take about a week for them to respond... is there a faster way to detect if Smarty is installed? If you guys would recommend a simple template tutorial, that'll be great. Thanks in advance !
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.