www.webdeveloper.com

Search:

Type: Posts; User: php-bgrader

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    578

    Code error but no output to debug

    I am getting a tad frustrated.... I am having issues but I have no way of identifying what they are...

    My code was working fine but all of a sudden everything is broken and I can't figure it out!...
  2. Legend! Perfect! Got the errors displaying and...

    Legend! Perfect!

    Got the errors displaying and found the problem!

    Thanks
  3. I did that but all it did was output the ext...

    I did that but all it did was output the ext "error_log"
  4. How to convert a php webpage into a script

    I have a page which when I access, checks the local mail server for new emails, and if found, will extract the attachment and insert the contents into a database.

    This process works fine however,...
  5. Using a parent id to group customer locations - best method

    I am trying to create a group login mechanism whereby individual locations can log in and view their own information but also, the Head Office can log in and see all locations together.

    My...
  6. How to use a value from the same column in a new insert

    I have an SQL statement which inserts numerous rows of data from an array (in PHP).

    The data is updated daily with new values and assigned a new report_id.

    there is a field labelled...
  7. jQuery jQuery focus() handler not triggering.

    I am at a loss to figure this out. I've spent the last 2 hours pulling out my hair so hopefully someone here can help.

    I have a series of inputs which I have tried to bind a focus() event to so...
  8. Thanks NogDog, The code I copied was...

    Thanks NogDog,

    The code I copied was incomplete. I have since reviewed message encoding to find that 7bit does not need to be decoded and hence there is no "decode" method for this encoding.
  9. [RESOLVED] Error trying to decode an email part reterieved from imap_fetchbody()

    I have a process which has been checking an imap server for messages and the processing the emails if found.

    The process looks for a HTML attachment and then processes the file, stripping out the...
  10. Most secure way of setting up cron processing job

    I have a PHP script which checks the mail server for new messages.
    If it finds a new message, it will process the message (and attachment) and store the data.
    Once complete it archives the email...
  11. [RESOLVED] Inserting PHP variables into imported HTML template

    Not sure if this is possible but I will give an overview of what I'm trying to achieve.

    I am building a notification email - basically it is just going to send a notification email to the...
  12. check error_log for error messages

    check error_log for error messages
  13. You can't call PHP on the client side - the form...

    You can't call PHP on the client side - the form must be submitted to the server for PHP to process
  14. [RESOLVED] How to identify unique values in multiple sub-arrays of an array

    I have an array which looks like this:


    Array
    (
    [0] => Array
    (
    [TechID] => 2602
    [TechName] => JOHN DOE
    [SaleType] => CLEANING
  15. "NogDog" - once again, you've provided the goods!...

    "NogDog" - once again, you've provided the goods!

    "blasphemy" - For clarity, what I was trying to achieve (and what NogDog was able to help solve) was:

    from table:


    id | type | tech | name ...
  16. How to combine data using SQL from multiple rows into a single result

    I have created a little bit of a messy database and I am debating on restructuring or, hopefully finding an easy solution here to work around it and just deal with it.

    I have setup rows that look...
  17. Thanks, ended up going with union and it...

    Thanks,

    ended up going with union and it works as required.
  18. Thanks for that. When grouping with 2 columns...

    Thanks for that.

    When grouping with 2 columns though, it seems to duplicate the resultset (I'm using both userid & name in group by)

    My slight modification:


    SELECT
    userid, name,...
  19. [RESOLVED] Most efficient way of getting a totals column for data from SQL using PHP & MySQL

    I have a PHP script which queries the database and returns a number of matching rows as follows:


    SELECT name, open_wip, clock_hrs, close_wip, avail_hrs, sold_hrs, sold_amt, cost_hrs, cost_amt,...
  20. Thanks again, The problem is that it's not...

    Thanks again,

    The problem is that it's not really a file in the true sense of the meaning, it's an email attachment part which has been extracted as a string using .

    thanks for both options.
  21. Trying to auto increment a foreach loop

    I am processing a file line by line using a foreach loop.

    I have a heading line which is 2 lines in some places where the header has wrapped.

    What I am looking to do is just auto process the...
  22. OMG! That's embarrassing... Thanks for your...

    OMG! That's embarrassing...

    Thanks for your feedback!
  23. Trying to initialise an array but getting: syntax error, unexpected T_VARIABLE

    I'm trying to use array_push to create an array that looks like this:


    array(
    "SaleTypeCat1" => array("Type1", Type2","Type3"),
    "SaleTypeCat2" => array("Type3")
    )

    My code fails on this...
  24. Thanks guys, More than enough information in...

    Thanks guys,

    More than enough information in here to give me a pretty good grasp on how to move forwards.

    I have used global before and I take on board your comments.

    Thanks
  25. Thanks for the response .. it makes sense. As...

    Thanks for the response .. it makes sense.

    As I said, I'm just a novice so this is purely for educational purposes (to see the result of each call) - Once we get to production, I imagine I will...
Results 1 to 25 of 26
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles