Type: Posts; User: php-bgrader
Search took 0.02 seconds.
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!...
Got the errors displaying and found the problem!
I did that but all it did was output the ext "error_log"
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,...
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.
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...
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...
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.
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...
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...
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...
check error_log for error messages
You can't call PHP on the client side - the form must be submitted to the server for PHP to process
I have an array which looks like this:
 => Array
[TechID] => 2602
[TechName] => JOHN DOE
[SaleType] => CLEANING
"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:
id | type | tech | name ...
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...
ended up going with union and it works as required.
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:
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,...
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.
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...
OMG! That's embarrassing...
Thanks for your feedback!
I'm trying to use array_push to create an array that looks like this:
"SaleTypeCat1" => array("Type1", Type2","Type3"),
"SaleTypeCat2" => array("Type3")
My code fails on this...
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 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...