Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. He is echoing it. In order to actually see it as the text instead of an image, you'll need to include the page img.php using include or require in addition to doing the img src. This will help you debug.
  2. Wait, right align, or right to left like arabic?
  3. I prefer to turn blue, it's prettier
  4. foreach($_SESSION['count'] as $var) { echo "this is a new count:". $var; } Try taking off that second []
  5. On the page I linked to is a function! http://us2.php.net/manual/en/function.pdf-show-xy.php#59630 Copy and paste that function into your code, then call it like you would the regular one.
  6. tee hee you said cookies into cookies. magic: you'd encrypt both and check if they match. Pretty rare to get a false match. (Some people like to use two methods and check them both, md5 and sha1 for example).
  7. you're positioning it right here: pdf_show_xy($pdf, $details, 150, 50); The function is exactly the same, but it starts on the right.
  8. Yeah, you could try the one I suggested. :)
  9. It's the first function on the documentation's comments. http://us2.php.net/manual/en/function.pdf-show-xy.php
  10. Wow. Nevermind. Good luck.
  11. magic, implode does that "foreach" part for you. No need to reinvent the wheel...
  12. Put your code in code tags, by highlighting it and pressing the # button on the editor. It will make it easier to read.
  13. It will help if you use the code tag (the #) Your post is too hard to read.
  14. Oh, try imploding it into a string. Look up implode()
  15. [code]foreach($array AS $value){     print $value.'<br />'; }[/code]
  16. Did you look up foreach? Turn error reporting on please, and look up functions if you have trouble using them.
  17. Sorry that took so long. Best of luck.
  18. $sql = "insert into members (loginName, password, email) values ('$loginName', '$password', '$email')"; Your quotes were messed up. You need to add that mysql_error() part.
  19. Okay, you're missing the point. You said "when i retrive the form with my php script its not showing multiple services from the services field" Now, you have your multiple services. I guess you used test instead of services. When you process it, services is an array because there are multiple values. Now if you want to do something with that array, use foreach instead of print_r. Print_r was to make sure the values were being set. Your initial problem has been solved...
  20. You use a foreach loop instead. print_r is mostly for debugging.
  21. Okay, so IS your config.php included on your recent_news.php page? You'll also need to end the string which you're printing before calling the PHP otherwise it won't run. What you're trying to do likely won't work. If you need a placeholder, just do something like [image] and then str_replace.
  22. That's what print_r does. Is test the only input you are using when you fill out the form? It really should be printing out much more than that if you print_r($_POST); <-- exactly like that. You're seriously not getting other fields like your hidden ones? That seems...rather improbable.
  23. What? The function is...in the database? What? PHP code on PHP pages. Data in Database. Goooood. CALLING the function is not the same as defining it. Where is the part where you do function image(){ //code } ?? You're not putting that in your database please say you're not. That is PHP code. Put it on the php page.
  24. You selected one from the services, and that is ALL you got from your post? Try the services[] name.
  25. No, cron runs when you schedule it.
×
×
  • 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.