Jump to content

James0231

New Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by James0231

  1. I finally just got it to work! Thank you so much for all the helpful information you've provided
  2. You're right. I guess that it's all part of the learning process. As I mentioned before, I'm rather new to all of this so there's always something I can learn from people like you guys that have been doing programming for a long time.
  3. Broken as in 'It's not doing what it supposed to do' which as the other person mentioned a bunch of stuff that was missing in my code. Thank you for all the pointers. I'll keep going over them as I attempt to make things work.
  4. I've been trying to make a shopping cart application in php but my code is still broken. I've tried to fix it but I still can't, therefore I'm asking for help now. I'll attach the file and if someone is willing to take a look at my index then i'd appreciate it. Note: I'm still not all that great at programming shopping cart.zip
  5. Thank you. I'll keep studying the code. Cheers
  6. Thank you. Also, I think you misunderstood the part about the RGB black and white colors. The colors of the grid can be random (many different colors) while the RGB color code is to be displayed inside the grid in both white and black. I'm having trouble with that part. What I'm trying to accomplish is something like this but in a 10x10 grid (see attachment)
  7. Hey guys I'm brand new to php and I'm trying to make script that will generate a 10x10 grid of randomly generated colors that display the RGB color code inside the grid in both white and black. So far I have a 3x3 grid of the HTML that the PHP script would have to generate in order to accomplish the grid but I'm not sure about how to do the whole thing. Any help? below it's what I have so far (it's all the same color though) <!DOCTYPE html> <html> <head> </head> <body> <table> <tbody> <tr> <td style="background-color: #a3bc34;">A3BC34<br /><span style="color: #ffffff;">A3BC34</spam></td> <td style="background-color: #a3bc34;">A3BC34<br /><span style="color: #ffffff;">A3BC34</spam></td> <td style="background-color: #a3bc34;">A3BC34<br /><span style="color: #ffffff;">A3BC34</spam></td> </tr> <tr> <td style="background-color: #a3bc34;">A3BC34<br /><span style="color: #ffffff;">A3BC34</spam></td> <td style="background-color: #a3bc34;">A3BC34<br /><span style="color: #ffffff;">A3BC34</spam></td> <td style="background-color: #a3bc34;">A3BC34<br /><span style="color: #ffffff;">A3BC34</spam></td> </tr> <tr> <td style="background-color: #a3bc34;">A3BC34<br /><span style="color: #ffffff;">A3BC34</spam></td> <td style="background-color: #a3bc34;">A3BC34<br /><span style="color: #ffffff;">A3BC34</spam></td> <td style="background-color: #a3bc34;">A3BC34<br /><span style="color: #ffffff;">A3BC34</spam></td> </tr> </tbody> </table> </body> </html>
×
×
  • 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.