Jump to content
Larry Ullman's Book Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About olaoyesunday

  • Rank
  1. Thanks very much, I am reading a javascript book and is pointing me towards the right direction. If I need any further assistance on this I will post it in any javascript forum. but I'm still coming with a lot of questions on php when I am through with reading PHP and MySQL for Dynamic Web Sites, Fifth Edition
  2. Hi everybody, I want to write a php code that extract numbers say 4567 from an image when you press scan button and then sum the numbers together. I have used one javascript library but I'm having problem in converting the numbers into an array. pls. I need an help urgently.
  3. Abiagail I wrote the two queries, I would have posted it but this text editor does not allow to copy and paste I wouldn't know why it is preventing me from pasting? or is there any other way to paste on this particular text editor?
  4. Thank you Bill. My problem is on how to insert into two tables simultaneously, I tried inserting into orders table after the line 100 in the registration.php which read $uid = mysqli_insert(dbc,q); $_SESSION['reg_user_id'] = $uid; but it is not working. You know what I need to know is how to insert into multiple table simultaneously. i.e users and orders table upon knowing the user_id
  5. Please, I want to ask if I want to be using FPDF to water mark the pdf, is it going to be dynamic (i.e a code will be doing adding customer's name on the fly) or I will be doing it manually after I am alerted by customers order?
  6. Dear Admin, In chapter 6 The payment gateway that I am using want me to insert transaction id, amount , payment status to my order table before sending it to their payment gateway and on my thanks php they want me to compare the transaction_id returned from their site with the one in my database before the receipt is shown or printed. please, where do I place the code : INSERT INTO orders (user_id, transaction_id, payment_status, payment_amount) in my registration script before sending captured information to the payment processor?
  7. Thanks very much. After downloading the library from github, the instruction is not clear on how to make use of the library. I tried using RandomLIb/generator generator->generateString(32, 'abcdf'). it was saying the class not found. I tried using rand(1111222233334444, 5555666677778888). it works but not given me the consistent 12 digits number? please, bail me out.
  8. Dear Admin, I'm integrating a payment processor named Global pay by Zenith bank Nigeria on my site. The site is subscription site similar to Knowledge is power. My script is the same as registration.php in chapter 6 the only difference is where I change paypal code for global pay. I want to ask 2 questions : 1) How can I generate transaction_id on my site for payment processor from my code? I thought paypal generated it for us behind the scene but here they want my site to generate it for the payment processor. 2) How do I include receipt.php for customer to print after completing the order on paypal without relying on the one paypal will send to the customer like we did in chapter 13?
  9. Thanks, I will try it. I would have try this suggestion before but when you said "it involves much more programming and server processing to write the user information to each PDF displayed on the fly" in the book and that was making me to think whether it would be a programming thing.
  • Create New...