Search results

  1. gomarc

    Help with database

    Hi manan35, From the SQL posted, it seems you are moving a WordPress from some previous hosting to x10hosting. You may have installed a brand new WP here at x10 and you are now facing some trouble importing your database. If this is your case, and as MaestroFX1 points out, you may have...
  2. gomarc

    custome login message for a user

    You are missing apostrophes wrapping the variables: ... VALUES ('$user', '$passmd5', '$email')
  3. gomarc

    Optimizing website

    Hi thecanadiansandbox18, Yes, cPanel has this option under Software/Services: But to be honest with you, I haven't tested this option.
  4. gomarc

    Question...

    Hi mikesla115595, Your brother and all x10 premium customers will be more than happy with their accounts. Its top notch quality hosting not affected by any small temporary issue that any free hosting may have. That's definitely the way to go. I have an old promo package called Development...
  5. gomarc

    custome login message for a user

    Hi there, Before we continue, I would like to say that I hope you are developing this code on your computer using a local server to test, something like XAMPP or equivalent, because as you probably know, it's not a good idea to go live while still having security issues to sort out. So...
  6. gomarc

    SQL help (possible a join)

    All of it. You can test yourself by changing ASC to DESC.
  7. gomarc

    SQL help (possible a join)

    callumacrae, As posted, the query has no defined order. You need to add 'ORDER BY'. If you want it by feed.id ASC: SELECT feed.id, feed.user_id, feed.content FROM feed WHERE feed.user_id = ? UNION SELECT feed.id, feed.user_id, feed.content FROM feed INNER JOIN friends ON...
  8. gomarc

    SQL help (possible a join)

    Yes you can use the SQL UNION operator to combine the results of two queries into a composite result. It will be something like this: SELECT feed.id, feed.user_id, feed.content FROM feed WHERE feed.user_id = ? UNION SELECT feed.id, feed.user_id, feed.content FROM feed INNER JOIN...
  9. gomarc

    custome login message for a user

    They are many ways of doing this. Please show your SQL query code and how you get the user name value to display. (Please do not show passwords!) I'm thinking you can simply concatenate the $user_name and $custom_message. If there is no $custom_message for that user, only the user name...
  10. gomarc

    SQL help (possible a join)

    Hi callumacrae, I would run 2 separate queries. The first one will get the user results: SELECT id, user_id, content FROM feed WHERE feed.user_id = ? And the second one for the user's friends: SELECT feed.id, feed.user_id, feed.content FROM feed...
  11. gomarc

    custome login message for a user

    Hi Zenax, An easy way is to add a field to your DB-table (say custom_message) and retrieve this information in the same way you get the user_name. Modify your SELECT query to include this ‘custom_message’.
  12. gomarc

    sql problem

    Hi Greg62150, Start by replacing host=ftp.artoisnet.elementfx.com To 'localhost': host=localhost
  13. gomarc

    Can someone help?

    Hey NoCrime147, Since your Forum is still showing the same error message, I doubt the server is always busy. You said that it was working before the SAN move (or close to that date) and you haven't made any changes since. You have also deleted and recreated the MySQL username/database and...
  14. gomarc

    Can someone help?

    OK, I’m assuming you gave the db-user all the privileges. – Next step: What happens when you establish a simple php connection to the database? Can you connect using the same username/password given to your database forum? Do you get errors? I’m sorry if these are things you already...
  15. gomarc

    If IE Redirect

    Hello jmixmaster29, Of course, Livewire is correct! Your first code [if IE 6] means [if IE is version 6] The second one [if lte IE 8] means [if IE version is less-than-or-equal to 8] You can find a good explanation and examples here: http://msdn.microsoft.com/en-us/library/cc817577.aspx
  16. gomarc

    Pagina temporarily unavailable [Alejandro]

    Hola DarkMaster, Mientras esperas la respuesta de Alejandro, te alegrará saber que tu sitio carga muy bien ahora: Respecto a tu servidor (Boru), puedes seguir el estado de los trabajos que se están realizando en este post Boru SAN migration Cuando los trabajos finalicen, sin duda que el...
  17. gomarc

    I deleted to much from my hosting account

    Really all you need to do is place a blank public_html folder in your Home Directory. Do you have a backup of your site?
  18. gomarc

    Can someone help?

    Hello NoCrime147, Your Remote MySQL IP settings are correct. What if you try to re-create your DB username/password? Do you know how to safely do that from cPanel > Databases > MySQL Databases? If you don’t, please post back for instructions.
  19. gomarc

    installation

    Hello really__girl90, Are you using some kind of CMS? If so, you may have the option to set your site "offline" while you do the updates.
  20. gomarc

    Free Hosting will not allow manual backup of files

    Hello archprime, The message "Output Truncated by browser" may be misleading. It’s just a warning that the full list of all the files zipped is not displayed in the given list. In other words, the zip file DOES include all the files you selected, but the full list of them was truncated to the...
Top