Jump to content

Spiew

Members
  • Posts

    7
  • Joined

  • Last visited

Spiew's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello, I'd like to know if someone know how I can do this. Example when sites use this function is in a store etc. You choose your product-types, if you for example chose a larger size, the price becomes higher and then it updates in real time. So what I mean is like, the number increases/decreases depending on the users selections, if he wants that or not that included, the number changes so he/she can see the exact price he needs to pay for the product. Like this for standard ---------------- 25$ --------------- but if I for example choose a larger size it automatically updates to ------------- 30$ ------------ I hope u understand what I mean. Thanks in advanced
  2. Hello, I'm trying to make a sliding bar or how you would describe it. And as the topic says, not a imageslider, where it takes a couple seconds before it changes picture.... I tried to come up with something in Paint to describe what I mean... A rolling bar so to say. I searched the webz like a maniac but only found sliders for images and other random stuff that isn't what I need, so I would hope someone of you guys might know how to do this. I'll attach the image. Thanks in advanced, peace!
  3. I don't care if something comes into play. ANd I don't care about hints. Gtfo
  4. Uhmkay, Changed to &&. And I've already done print_r($_POST) and it shows Array ( [first_name] => first [last_name] => last => test@gadaw.com [password] => hej [password_repeat] => hej [country] => Barbados [city] => city [zip_code] => 23232 [billing_address] => hemma [mobile_number] => 2323232 [register] => Register ) So you mean I should remove all the if (isset($_POST['first_name'], $_POST['last_name']..................... because it's not needed? Don't I have to change my function also then? Or shall I keep it as it is? register_user($_POST['first_name'], $_POST['last_name']................ Thanks for the answers so far
  5. Hello, Just to mention, I started with PHP in february I think. Now I've come across a problem that none of my friends can help me solve, so I thought of posting it here in hope of saving my life. I'm making a registrationscript. This is my code: login.php - http://pastebin.com/RDhHFX3t functions.php - http://pastebin.com/mMRxxwqC The problem I have, is that it never gets through. It always shows the else message in the login.php file which is "Populate all the fucking fields." Please, save my life by helping me solve this problem. If I ever get the opportunity to meet you who solved this, I'll hug you. Peace!
  6. That won't work because I get all the titles, categories & content from the database. Same thing now when I use the while loop. I want the title to be displayed in a black bar, with the category right below it and then content . All this is one container (as one post). Then I want the latest 5 posts to look like this.
  7. Hello, I just came across a problem... This if my first post on this website since I just found out about it. Hopefully I could get some help from here since you seem to be the real deal and uses PDO! I want to echo out the title, category & content from database. I know how to do this, but not how to make them editable for me. Hard to explain but this is an example: (This is how it looks now when I'm echoing out the title,category & content using a while loop.) TitleCategoryContent (I want them to appear like this so I can fix them up to look nice in a container) Title Category Content here Here's my code http://pastebin.com/Lg5YebgZ Thanks in advanced
×
×
  • 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.