Jump to content

jdunneirl

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by jdunneirl

  1. Thanks for all the help guys I managed to strip the function that was given me the values so now I got the numbers I need thanks again John
  2. Thanks for all the help guys I managed to strip the function that was given me the values so now I got the numbers I need thanks again John
  3. Hi AyKay47, Would love to say it was that easy the problem is its coming from a wordpress database, so no idea how to get the ingredients in that manor, all I have is the string
  4. Hi guys, this is my first post so be gentle I have a string of ingredients, eg 1kg of salf 20kg of sugar 15kg of something nice This is the portion / mix for 1 person, I would like to make it scalable, so for example multiple all ingredients by for two people etc. So how do I do this with PHP I am guessing a regexp to look at the string and modify each number by the multiplier Any suggestions would be great thanks guys I have tried google and came up empty I think I need to convert the string to an array then modify it? John
  5. Hi guys, this is my first post so be gentle I have a string of ingredients, eg 1kg of salf 20kg of sugar 15kg of something nice This is the portion / mix for 1 person, I would like to make it scalable, so for example multiple all ingredients by for two people etc. So how do I do this with PHP I am guessing a regexp to look at the string and modify each number by the multiplier Any suggestions would be great thanks guys I have tried google and came up empty I think I need to convert the string to an array then modify it? John
×
×
  • 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.