chinclub Posted April 30, 2007 Share Posted April 30, 2007 In this script it charges one dollar per word and the PHP code reads: $cost = $words I want it to charge $5 per word. I hoped it would work like math and I could just type $cost = 5 x $words but NOPE! big error with that. Can anyone tell me the correct way to edit that line. Thanks!! Quote Link to comment Share on other sites More sharing options...
AndyB Posted April 30, 2007 Share Posted April 30, 2007 $cost = 5 * $words; Quote Link to comment Share on other sites More sharing options...
chinclub Posted April 30, 2007 Author Share Posted April 30, 2007 thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.