php recursion question

Budget N/A
Bids 15
Average Bid $7

I want to write a PHP function that performs multiplication WITHOUT using a loop or the * operator. It should use repeated addition with recursion.
Where have i gone wrong?

this project is to tell me if this is correct?

<?php


function phpMult($a,$b){

$c;

c = a + b;

echo " The sum of A and B is" <

Post a Project Like This

Looking to make some money?

  • Set your budget and the time frame
  • Outline your proposal
  • Get paid for your work

Bids on this Project

  • IceCream90 Profile Picture

    IceCream90

    Novi Sad,  Serbia

    ## BIO 2009 - 2012 - College - B.Sc. Information Technology, Faculty of Sciences, University of Novi Sad, average grade 9.04 (max. 10). 2012 - present - College - M.Sc. Software Engineering, Faculty of Sciences, University of Novi Sad, average grade 9.04 (max. 10). My interests include software engineering, and the overall process of software development. I am also interested in leading teams towards a common goal. I learned the benefits of teamwork by working with different people on faculty team projecs. ## Area of Expertise Programming languages and tehnologies: Java, C#, Delphi, XML, DOM, HTML, JSP, SQL, HQL, XQuery, XPath, WPF, Silverlight, Hibernate, JavaScript, JQ uery, AJAX, JSON, CSS, PHP, Modula-2, Oberon-0, Pascal Development tools: Microsoft Visual Studio, Eclipse, Borland Delphi, Microsoft Expression Web, Adobe Dreamveawer, Sybase Power Designer, Altova XML Spy Database management systems: MySQL, eXist Operating Systems: Windows, Oberon, Linux Other: Microsoft Office

    Java, Javascript, XML, and Website Design

  • Pieter2627 Profile Picture

    Pieter2627

    Karenpark,  South Africa

    I am a passionate developer that currently focus HTML5, CSS3, LESS, jQuery and PHP projects as they are the tech I am currently competent in. I also know the Twitter Bootstrap and UIKit framework, both which I like to use for projects. Learning and improving is something I believe in, and therefore also focus on: - PSD2HTML project that are not too complex - Joomla3 projects that are basic and that mostly need edits based on the skills above - Symfony2 projects that go up to a moderate complexity Quality websites (together with quality content) are the best to improve interaction with in visitors so I always try to deliver code that: - Is valid HTML and CSS - Keeps SEO in mind - Improve page loads (optimizing images, combining and minifying resources) - Passes any PHP/JS standards that the code might already be following Some examples of my code can also be found on github as pieter2627.

    PHP, Javascript, Linux, and AJAX

  • domingomontes Profile Picture

    domingomontes

    San Diego,  Venezuela

    Clipper/Harbour, Dbase, Xbase, Fox, SQL, PHP, Pascal, Java Script, CSS, JQuery, HTML DOS, Windows (98SE, Milenium, 2000, XP, UE, Vista, 7, Server 2003, Server 2008 ), Linux (UBUNTU, FEDORA), Android

    PHP, Javascript, Script Install, and Website Design

  • SiteBuilderNo7 Profile Picture

    SiteBuilderNo7

    Guangzhou,  China

    Web Product Manager, Marketing

    PHP, Javascript, AJAX, and Photoshop

  • khu84 Profile Picture

    khu84

    Rawalpindi,  Pakistan

    I have above 6 years of experience in PHP and related technologies. I have worked with multinationals from UK, US, Canada and Germany as offshore employee.

    PHP, Javascript, Cold Fusion, and Photography

  • RavindraH1234567 Profile Picture

    RavindraH1234567

    Satara,  India

    Hard working and efficient. I offer my best effort and services. I am developing and administrating web sites. Thanks and regards

    PHP, Java, Data Entry, and Proofreading

  • deepdreamzz Profile Picture

    deepdreamzz

    Agartala,  India

    I'm a graduate with a degree in Computer Application (BCA), currently working as a full time freelancer. Hire me to assist you in any kind of Data Entry work, especially Web Researching and Data Gathering/Scraping from websites, working with Excel Sheets, Posting Classifieds for Internet Marketing, working on E-commerce websites, etc., in a professional manner with the best results. I can also assist you with PHP/HTML web designing/fixing, including doing simple banners/logos etc. I may not assure you the cheapest quote, but I can assure you the best work. My employer's/client's satisfaction is my foremost priority. Languages spoken:- English, Bengali, Hindi. Working time:- Flexible.

    Graphic Design, Internet Marketing, Banner Design, and Logo Design

  • rajeshsonisl Profile Picture

    rajeshsonisl

    Mumbai,  India

    Hello, Thank you for dropping by. =============== Why choose me? =============== I ... ...have a total programming experience of over 17 years (including 9 years in PHP - MySQL). ...take pride of my 5.0 / 5.0 rating, 98 - 99% completion rate, 100% on-time completion. ...work alone, and strictly bite only what I can chew! No sub-contracting, ever! ...use most instant messengers for speedy communication, and always backup files that I change. ...provide daily progress reports / updates via Skype (Google Talk, Freelancer or email), whatever YOU prefer. When it comes to automation, I make it a point to apply automation techniques wherever applicable. I believe in working the smart way; that makes me work smart, and not hard! Started programming in the year 1997, and still trying to maintain the rating, from almost 900+ on-record projects! Thank you for reading. Have a good one :-)

    PHP, Java, Javascript, and XML

  • DJHnjin Profile Picture

    DJHnjin

    Edmonton,  Canada

    I Typically prefer to program using Python 2.x or Python3.x, but I can also program in C++, C++11, C++14, Ruby, Javascript, php, php5, bash/sh, among others. I mainly prefer to work on and with a Linux base for the code that I develop due to the wide availability of many diverse and Free packages which simplify developing whole systems. I am not accredited by any organization, nor have I done much in publicly available projects and as such, I have a very limited selection in my portfolio currently. I am rated on www.codeeval.com and have a link to my profile in my resume.

    Python, Testing / QA, Computer Security, and Troubleshooting

  • noxtras Profile Picture

    noxtras

    Oradea,  Romania

    I'm a PHP developer since '98, I worked on hundreds of sites and almost as many software projects (ERP, CMS, custom). I code clean, fast and SECURE code.

    PHP, Javascript, XML, and Website Design