Jump to content
Larry Ullman's Book Forums

bahaa

Members
  • Content Count

    147
  • Joined

  • Last visited

Community Reputation

9 Neutral

About bahaa

  • Rank
    Advanced Member
  1. Counting characters got nothing to do with the font size the viewer use. What boxes do you suggest fixed height and why ?
  2. Well, I did not know that the prepared statement depend upon the version of Mysql I use. I thought as long as the version I have support Mysqli prepared statement, then I would not have a problem on how to construct my query. In my opinion, if you indicate such things in your answers and give both solution, it would be a good resources for other members and they would have less problems in their application. When I posted the second query, I did not mean to violate the guidelines. I read the the guidelines before and I read where it says not to add another post if it doesn't add anything to the thread. I waited 3 days and since I saw you answered some questions that have been posted after my post, I thought you did not notice thread or something and that is why I add the second post. Anyway the version I use is 5.0.7
  3. Hello, This is my second project using MySQLI and PHP. I have done this for a client. http://gulfpal.net/index.php I know you won't be able to read it but you can see the look and click on links to check the speed. It is hosted on shared server. Please let me know what you think.
  4. Hi, how to we use the filter_input(INPUT_POST, '', FILTER_VALIDATE_INT) to validate zero as int ? I always get false when i try to use the filter on an input that has a value of zero. Bahaa,
  5. I was able to figure out the problem here is why it happens in case some of you run into this problem This can happen, for example, if you are using mysql_use_result() and try to execute a new query before you have called mysql_free_result(). It can also happen if you try to execute two queries that return data without calling mysql_use_result() or mysql_store_result() in between. I had to use mysq_store_result between the 2 queries.
  6. Hello I get this error when i try to run 2 prepared statement.. the 2 statements do not relate to each other. The first one runs but the second doesn't... I deleted the first prepared statement and the second one worked find. here is the error Commands out of sync; you can't run this command now Bahaa,
  7. Hello, How do I get rid of the output buffering already sent ? I need to generate the page title dynamically and this require to echo it before the header and it causes the the output buffer already sent to appear. I also use the header() function in many places in my code. I can't change the setting on the server because it is shared hosting. Bahaa,
×
×
  • Create New...