aej1973
asked on
what does this statement mean in php?
Can someone let me know what this translates to ?
$mediaFolder = dirname(__FILE__).'/media' ;
$wavFilename = sprintf('%s/u%d_m%d.wav', $mediaFolder, (int)$recordingRow['unique id'], (int)$recordingRow['msgnum ']);
Thank you,
A
$mediaFolder = dirname(__FILE__).'/media'
$wavFilename = sprintf('%s/u%d_m%d.wav', $mediaFolder, (int)$recordingRow['unique
Thank you,
A
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I mean... '%s/u%d_m%d
http://php.net/manual/en/function.sprintf.php
The % codes are part of the formatting that sprintf() does.
The % codes are part of the formatting that sprintf() does.
ASKER
ok, what does the /u mean? That is the part that is confusing me, and also %d_m. Thank you.
A
A
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ummmm, why did you give a grade of B when people were still answering you?
Please see the grading guidelines here:
https://www.experts-exchange.com/help/viewHelpPage.jsp?helpPageID=26
I'd like to call your attention to these expectations:
https://www.experts-exchange.com/help/viewHelpPage.jsp?helpPageID=26
I'd like to call your attention to these expectations:
A should be the default grade awarded unless the answer is deficient.And to this requirement:
A B grade means the solution given lacked some information or required you to do a good amount of extra work to resolve the problem. When closing the question, the asker should explain why a B grade was awarded.So what was wrong with the answers and why did you not follow up before giving the bad grade?
ASKER
Ray,
you are right I have made a mistake in my grading, how can I go back and correct this? I apologize for this error.
Regards,
A
you are right I have made a mistake in my grading, how can I go back and correct this? I apologize for this error.
Regards,
A
You can use the "Request Attention" button to ask a moderator for assistance. The mods can change the grade or re-open the question if you still need assistance.
Thanks and regards, ~Ray
Thanks and regards, ~Ray
ASKER
Thanks Ray, I have submitted the request.
ASKER
Thank you.
ASKER
sprintf('%s/u%d_m%d.wav', $mediaFolder, (int)$recordingRow['unique