Jump to content

Ninjakreborn

Members
  • Posts

    3,922
  • Joined

  • Last visited

Everything posted by Ninjakreborn

  1. Ok, that makes sense now. THanks for the explanation.
  2. [quote]a little off topic but: the use of @ has been mentioned, but personally I think it's seldom a good idea to use it. Amongst many other things, such as making life easier, frameworks should be handling errors properly rather than hiding them. If the day comes where you have an error and cant find it, you're stuffed. take a look at set_error_handler. it goes along way to push errors all into one single place which can, at your disretion, be turned on/off.[/quote] I understand what you are saying, and see what you mean.  However I see the use in them, when it comes to custom error messages. [quote]If errors occur before the script is executed (e.g. on file uploads) the custom error handler cannot be called since it is not registered at that time.[/quote] Based on specific reasons I would rather not use set_error_handler.  THere are a few other reasons as well, it's just not what I am specifically looking for in this situation. I know a lot of people dislike the use of the at symbol, and generally so do I, with the exception of errors that I want to perform custom error handling on.  In this, the error message (default) might be supressed, but a custom error message is generated in stead, so it still gives the proper error message, just a lot cleaner.  Right now if I start up something, and see 2-3 errors pop up, it takes a minute to figure out what's going on, or even why it's not working.  I would rather do compelte custom error handling, and doing error handling without the @ symbol seems impossible, because then it not only outputs my custom error, but also throws out php's default errors. I also don't want to totally turn off error handling entirely because then it will not output errors related to the project, when someone is actually working on a site. That is the reasoning for me to use it during this specific situation.
  3. [code]<?php // check and connect to database. if ($config['db']['active'] === TRUE) { // if yes perform db work if (!@mysql_connect($dbhost, $dbusername, $dbpassword)) { $config['system']['error'][] = "Critical Database Error:"; $config['system']['error'][] = "Problem making connection to the database"; $config['system']['error'][] = "Exact Error: " . mysql_error(); $config['system']['error'][] = "<hr />"; } if (!@mysql_select_db($db)) { $config['system']['error'][] = "Critical Database Error:"; $config['system']['error'][] = "Problem Selecting database"; $config['system']['error'][] = "Exact Error: " . mysql_error(); $config['system']['error'][] = "<hr />"; } } // Run includes based on chosen settings. #critical foreach($config['require']['critical'] as $k=>$v) { if (!@include_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } #corefiles foreach($config['require']['corefiles'] as $k=>$v) { if (!@include_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } #functions foreach($config['require']['functions'] as $k=>$v) { if (!@include_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } #classes foreach($config['require']['classes'] as $k=>$v) { if (!@include_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; echo "die4"; } } // Check for errors, if so, show them. echo $config['system']['error']; if (isset($config['system']['error'])) { foreach ($config['system']['error'] as $k=>$v) { echo $v . "<br />"; } exit(); } ?>[/code] Thanks, I forgot about that. When you do require, if it doesn't work it kilsl the script.  When I changed it to include, and tried that, it worked perfectly. It included the ones it could, and hteone's it couldn't it supressed the error, and populated the array. That was exactly what I was wanting.  I had totally forgotten that by nature require kills the script if the requirement fails. Thanks.  Now I can move onto formatting and cleaning up the error messages.  Perfect. Thanks again.
  4. [code]// check and connect to database. if ($config['db']['active'] === TRUE) { // if yes perform db work if (!@mysql_connect($dbhost, $dbusername, $dbpassword)) { $config['system']['error'][] = "Critical Database Error:"; $config['system']['error'][] = "Problem making connection to the database"; $config['system']['error'][] = "Exact Error: " . mysql_error(); $config['system']['error'][] = "<hr />"; } if (!@mysql_select_db($db)) { $config['system']['error'][] = "Critical Database Error:"; $config['system']['error'][] = "Problem Selecting database"; $config['system']['error'][] = "Exact Error: " . mysql_error(); $config['system']['error'][] = "<hr />"; } } // Run includes based on chosen settings. #critical foreach($config['require']['critical'] as $k=>$v) { if (!include_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } #corefiles foreach($config['require']['corefiles'] as $k=>$v) { if (!include_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } #functions foreach($config['require']['functions'] as $k=>$v) { if (!include_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } #classes foreach($config['require']['classes'] as $k=>$v) { if (!include_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; echo "die4"; } } // Check for errors, if so, show them. echo $config['system']['error']; if (isset($config['system']['error'])) { foreach ($config['system']['error'] as $k=>$v) { echo $v . "<br />"; } exit(); }[/code] Actually your include idea worked.  It's not registering stuff in the arrays, but my new problem is it's still outputting that first error message.  The data base portion even seems to be working now.
  5. Hmm that is a thought.  Something for the future, but the reason I am going to the difficulty to try and generate specific error message, is because I am wanting this whole system to be very powerful when it's done.  Very clean, very smooth, and most of all easy to read.  That was why I was trying a simple approach, and ran into these problems.  THat is a worthy fix, but I am wanting something substantial, something I can 100% rely on, and gaurantee they get included, if not there is a returned error. I want this system to run very smoothly, and the errors to be very understandable, so if someone was just starting out, it wouldn't be hard for them to decide what was going on with what errors. That is why I was pressing for this arrangement, if I used codeignitors method.  WHen someone includes a controller, if it doesn't exist it give's an error, I am just having trouble tracking down the file's code ignitor uses to auto_load the classes, functions, core file's, and everything else.  I know it gives nicely formatted error messages, for one's that do not load correctly, only different is I want to wait until the end of the process and show them all at once instead of killing the script right then.  SO they have a full list of all errors, and all problems that arose while starting up the system.
  6. Same with the database. I might have to use the way codeignitor loads it's files. I wanted a solution that looked cleaner to me, or took up less code. I have done custom error handling before, but never with requires. Maybe I should just require them and leave them at that. If I do if file exists, will it be the same thing.  I want global error handling, for the system I am creating. Other errors related to a site, I do seperately.  However if ANY errors occur during the startup of the program, or any initial processes associated with the program, I want to gather all information into an array, and kill the execution at the very bottom of the script, so I aguarantee when it starts up, if no errors show up, I know then, that everything is 100% successful, and there are no errors anywhre throughout the system. I am thinking running if (fileexists), for the things I am including will get too encumbersome, but that might be the only way.  I may just end up using the way they include files  (The files that you wnat to auto load), on code ignitor.  I was thinking there was a simpler way though.
  7. Your right it doesn't. Now what, there is no way to get the functionality I was attempting to get. Maybe require_once() returns 1 if successful, 0 if false? Is there any other method, because hte same problem is happening with the database errors.
  8. [quote]@ surpresses errors, so @require_once isn't going to give any errors, and the if won't be reached. [/quote] Yes but won't it still eb something that can be acted on. If the require is not successfully, then it can be acted on with !require_once See, the error suppression is to prevent it from throwing out the initial error, letting me catch that it had an error, and formulate my own error handler. This is what is starting to confuse me. I even tested it out, here [code]<?php if (!@require_once("/config.php")) {   echo "File Not Included"; }else {   echo "File included"; } ?>[/code] When I set this to the right filepath, the out put was "file included" when I set the wrong path intentionally to test it it outputs "File Not Included" so that shows me there, that if a require fails, you can act on it.  I also already knew if a database connection or selection fails it can be acted on.  There is something I am missing with teh array implementation.  I declared the arrays, I know the requires work when done normally, but when I alter one to specifically be false (to try to force an error), nothing is gonig into the $config['system']['error'] array.  Same when the database is fed fake information to test the system, it still doesn't register my arrays.  Or it's not outputting them right, but I did standard checks on the array to see if anything was in them, and there was nothing.
  9. Ok, so I need to have some way to point the domain into the views. A view can't be viewed unless someone is in that folder looking at it, that is my confusion. In codeignitor when looking through it, the domain name points to the root directory as normal, and you just specific it's location in the config file, I am trying to find out how code ignitor takes account for that when doing the views/models/controllers.
  10. Yes, sound advice, but even then, there is something wrong with the way I am implementing this in general. I ran another test [code] <?php // check and connect to database. if ($config['db']['active'] === TRUE) { // if yes perform db work if (!@mysql_connect($dbhost, $dbusername, $dbpassword)) { $config['system']['error'][] = "Critical Database Error:"; $config['system']['error'][] = "Problem making connection to the database"; $config['system']['error'][] = "Exact Error: " . mysql_error(); $config['system']['error'][] = "<hr />"; } if (!@mysql_select_db($db)) { $config['system']['error'][] = "Critical Database Error:"; $config['system']['error'][] = "Problem Selecting database"; $config['system']['error'][] = "Exact Error: " . mysql_error(); $config['system']['error'][] = "<hr />"; } } // Run includes based on chosen settings. #critical foreach($config['require']['critical'] as $k=>$v) { if (!@require_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } #corefiles foreach($config['require']['corefiles'] as $k=>$v) { if (!@require_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } #functions foreach($config['require']['functions'] as $k=>$v) { if (!@require_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } #classes foreach($config['require']['classes'] as $k=>$v) { if (!@require_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } // Check for errors, if so, show them. echo $config['system']['error']; if (isset($config['system']['error'])) { foreach ($config['system']['error'] as $k=>$v) { echo $v . "<br />"; echo "hi"; } exit(); } ?> [/code] Right now, no errors that pop up are getting recorded into the $config['system']['error'] array. Here is what is annoying me In theory if a require fails you can do something with it. Even on other applications I see if (!@require_once("/system/config.php")) { define("basepath", "/system/config.php"); } I have seen that before, it's obvious you can act on it. I want to do the same, if it Does Not require, then I want to formulate my own custom error. Which is telling what the error was, then echoing out the filename of the file that could not be included.  WIth enough formatting to make it look decent when the errors come up so they are easy to track down. Same with databases, if I database does not connect, you can do something with that information, same if db cannot be selected. That is what I am trying to do catch when something happens, I tested the database, the values are not going into the array at all, anyone see anything wrong with the array setup or the way i am trying to trap the information into the array?
  11. I know the file exists. What the current point is (of what I am trying to do), is based on an array of file's to be required.  Require them.  IF something goes wrong during the process, show an error, instead of just kicking out a random error out of nowhere (the standard default error that comes up), I wanted to make it easier to understand, that is why I am trying to trap it in a variable. If you try to require, and it doesn't it should return the error (right?)
  12. I have one question about MVC When you have an MVC system (framework, or something similar) At some point you are going to have 3 folders View Model Controller Is view the place all your view file's go, if so you need to point the domain name directly into that folder, right.  Is this the idea. Because If I did the view/model/controller, then I would have to point the domain name itself into the view folder. So a lot of hosts you don't have access to where the domain points except for the root directory (public_html I mean) So how would you deal with this Or do you have an index.php page in the root, and have it automatically redirect any incoming traffic straight into the views folder. Even then the first instant redirect would be bad for search engines?
  13. I will probably end up using script.Whatever.us the one that was presented.  For most of my javascript, and ajax.  I want open rico too, because I see some stuff it can do, those are the 2 I will end up using.  That should cover all of my needs. Right now, does anyone know of one that is heavily used to handle validation. Some of the validation affects, like showing the words beside the text, I like the multiple validation, having it validated onchange, then having a summary at the end, that let's them see what errors each part had.  Something that has functions for validation in javascript. I write my for it, but have always had aggravations with javascript functions, I get them to work, but after a long time, and havnig them for multi-purpose situations don't work well for me in javascript normally. What I need is to be able to easily validate emails, and date's, and whatever else like that in javascript.  As well as just being able to put (into an array) what variables need to be filled out) whatever I can find to handle validation that's portable, and easily used in any situation. Also I have been looking into Object Oriented Javascript, is this something that works really throughout all browsers, or is browser support limited on Javascript OOP.
  14. The reason I was expecting an error, I specifically altered the requires to try and induce some errors to test that error handling was working, that didn't work either.
  15. IF anyone has some time, help would be appreciated. I tried restructuring the array a few time's, to see if it had something to do with that, but it's not working.
  16. It will? Thanks I will keep that in mind as well, I always used the long method
  17. It's a little hard to read, and a little messy.  It's sometimes hard taking third party scripts and adapting them to your purposes. All I can do is offer you an example of how I handle pagination right now (working on a class for it when I get better with OOP), but for now, I replicate the same code I have been using, and reform it. I went back through my code, and just commented it better for you, this is what I use for every situation with pagination, adn it's always been fairly easy to integrate. [code] <?php // this is required for the pagination to work, it does a test for the previous and next links, // The mysql escape string is for safety, you can take it out if you choose. if ($_GET['rownumberprev']) { $rownumber = mysql_real_escape_string($_GET['rownumberprev']); }elseif ($_GET['rownumbernext']) { $rownumber = mysql_real_escape_string($_GET['rownumbernext']); }else { // if it wasn't found it set's the current rownumber to 0 $rownumber = 0; } // You have to set a limit for this to work $limit = 20; // run query // This is the key to making this work.  BEFORE running your actual query with limitation you ahve to run a // full query, so you can get the total number of rows completely. $selectfull = "SELECT * FROM eventreport;"; // run full query $queryfull = mysql_query($selectfull); $total_rows = mysql_num_rows($queryfull); // this is required to get total number of rows // run original query, with limitations $select = "SELECT * FROM eventreport LIMIT $rownumber, $limit;"; // rownumber and limit required $query = mysql_query($select); // run query echo "<hr />"; echo "<br />"; while ($row = mysql_fetch_array($query)) { // do fetch call (so you can output data) echo $row['name'] . " "; echo "<a href=\"viewalleventinfo.php?id={$row[id]}\" title=\"View All Information\">View</a>"; echo " "; echo "<a href=\"edit.php?id={$row[id]}\" title=\"Edit Event\"> Edit</a>"; echo " "; echo "<a href=\"deleteevent.php?id={$row[id]}\" title=\"Delete\">Delete</a>"; echo "<hr />"; }// end running query // This is the critical part, this is what makes the actual pagination links show up. if ($rownumber != 0) { $rownumberprev = $rownumber - $limit; // adjust following links to point back to the current page with server self, or the page or something echo "<a href=\"viewevents.php?rownumberprev={$rownumberprev}\">Previous Page</a>"; echo "<br />"; } if ($rownumber <= ($total_rows - $limit)) { $rownumbernext = $rownumber + $limit; // same here change the link echo "<a href=\"viewevents.php?rownumbernext={$rownumbernext}\">Next Page</a>"; } ?>[/code] [quote]This looks as though it could be a problem with a setting called 'Register Globals'. Regards Huggie[/quote] The following (or something similar) will work without register globals being on. (Good point huggie, I didn't notice that, still don't)
  18. There is nothing in there to restrict filetypes, they could upload whatever they wanted to that script. Even php file's, (I ran into that awhile back) What you want to do now, is start an array, with all the accepted extensions, then from there you want to use regex to differ waht file types you want to accept. Here are some examples of things I have done in the past that are similar (actually 100% the same), for you to look at, as references. [code]<?php $_accepted_extensions = array('.jpg', '.bmp', '.gif'); if (is_uploaded_file($_FILES['lostimage']['tmp_name'])) { // start check $tmp = pathinfo($_FILES['lostimage']['name']); if (!in_array('.' . $tmp['extension'], $_accepted_extensions)) { $errorhandler .= "<span class=\"logspan\">"; $errorhandler .= "Unfortunately the file extension is not on our accepted<br />"; $errorhandler .= "extension list.  This can be caused by 2 possible things.<br /"; $errorhandler .= "The first thing is you could just simply have the wrong<br />"; $errorhandler .= "extension type.  The second thing is it could be<br />"; $errorhandler .= "of the 4 letter extension type instead of three for instance<br />"; $errorhandler .= "jpeg, instead of the approved jpg.  Please convert them to<br />"; $errorhandler .= "3 letter aliases.<br />"; $errorhandler .= "</span>"; } $basepath = "postlost/imguploads/"; $filename = $_FILES['lostimage']['name']; $relativeurl = $basepath . $filename; // The code below I used from a friend named just some guy from the forums at // w3schools.  It takes the path name, and the // file name of the file I am using, and it tests the directory to see if the file // already exists.  If it exists then it takes the current filename and path // I am working with in my script, and renames the file, enought to where it can // still be added.  This isn't used necessarily to allow someone to upload // the same file 2 times, but more of if it ends up being the situation // where the filename is the same on 2 different computers and those files // just end up happening to have the same name.  // Just a safegaurd against discrepancies in case. // The whole section between if and else below was created by someone else. if (file_exists($basepath . $filename)) { $nr = 0; $filename = $_FILES['lostimage']['name'] . "_{$nr}"; while (file_exists($basepath . $filename)) {   $filename = $_FILES['lostimage']['name'] . "_" . $nr++; } } // end script from just some guy on w3schools.com that tests if the filename // exists or not }// end file check ?>[/code] That is one shitty example on and old site I did a long time ago.  I have this bad habit of when creating an admin panel, I never screen filetypes for the admins, I tried looking through all my scripts, the recent script I built that I have been re-using doesn't screen filetypes, for doing multiple uploads like 30 at a time, so for some reason I have neglected to build in that 1 critical thing, I am going to go back and fix that. I looked and that is the only current example I have, I deleted another older project (I don't do that anymore), that contained very powerful code to do just that.  I had it setup to screen every filetype I could think of, and redirect them to proper pages, for viewing, adn everything else.  It was an entire file handling system, that I deleted, and it pisses me off even to that day, I wish I had my old copy of that, it was helpign with file handling a lot. Hopefully what I have offered will help you atleast some though. [quote]I highly recommend you read PHPFreaks' tutorial on file uploading. I have been using this class for years now and it works perfectly... and has a function to specify the file formats you want to allow. http://www.phpfreaks.com/tutorials/85/0.php [/quote] That is very good advice, and I think I will take a look at that myself.
  19. move_uploaded_files() That is used to move newly uploaded files to a directory.  As far as moving current files on the server, to new locations on the server, you need to open the file, copy it, create a new file, paste the information in htere, and save the new file in the new location, and then delete the old file. Unless php has a way to just copy file's, then delete the old one, not sure.
  20. I am working on my personal programmer assistant I have the following [code]<?php ## Configuration Settings // User Variables: Put anything you want loading up as a global variable here # Your email address $config['user']['email'] = ""; // Path Variables: These are variables related to paths, or similar information #root path $config['paths']['root'] = $_SERVER['DOCUMENT_ROOT']; #framework folder $config['paths']['system'] = "framework/ppassistant/system"; #path to specific page $config['paths']['self'] = $_SERVER['PHP_SELF']; #Assets folder $config['paths']['assets'] = "/ppassistant/projectassets/"; // Database Variables: Configuration settings and information related to databases $config['db']['active'] = FALSE; $config['db']['host'] = ""; $config['db']['username'] = ""; $config['db']['password'] = ""; // Main System Files: Core files related specifically to the system itself $config['system']['error'] = array(); // inclusionary files #critical: Files 100% necessary for the framework to run #Corefiles: File's within the core folder.  Generally these can be taken out and added at will #Classes: File's that contain classes #Functions: File's that contain just functions #plugins: File's that contain third party classes/functions (aside from ones I created) #extensions: Extensions onto pre-existing classes $config['require']['critical'] = array(); $config['require']['corefiles'] = array("/core/"=>"inisettings.php"   ); $config['require']['functions'] = array("/functions/"=>"arrays.inc.php",         "/functions/"=>"forms.inc.php",         );   $config['require']['classes'] = array(); ## End editable configuration settings // check and connect to database. if ($config['db']['active'] == TRUE) { // if yes perform db work if (!mysql_connect($dbhost, $dbusername, $dbpassword)) { $config['system']['error'][] = "Critical Database Error:"; $config['system']['error'][] = "Problem making connection to the database"; $config['system']['error'][] = "Exact Error: " . mysql_error(); $config['system']['error'][] = "<hr />"; } if (!mysql_select_db($db)) { $config['system']['error'][] = "Critical Database Error:"; $config['system']['error'][] = "Problem Selecting database"; $config['system']['error'][] = "Exact Error: " . mysql_error(); $config['system']['error'][] = "<hr />"; } } // Run includes based on chosen settings. #critical foreach($config['require']['critical'] as $k=>$v) { if (!@require_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } #corefiles foreach($config['require']['corefiles'] as $k=>$v) { if (!@require_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } #functions foreach($config['require']['functions'] as $k=>$v) { if (!@require_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } #classes foreach($config['require']['classes'] as $k=>$v) { if (!@require_once($config['paths']['root'] . $config['paths']['system'] . $k . $v)) { $config['system']['error'][] = "Critical Inclusion Error:"; $config['system']['error'][] = $k . $v . " Could not be required into the system."; } } // Check for errors, if so, show them. if (isset($config['system']['error'])) { foreach ($config['system']['error'] as $k=>$v) { echo $v . "<br />"; } exit(); } ?> [/code] Ok, for some reason, the bottom part is not working.  Everything else has been tested.  I wrote it blindly, then went and started testing everything, found some problems, fixed them.  Now I have encountered a problem here.  When I try to check for server error's, and display them, then exit.  It's not displaying any server error's for some reason.
  21. Those 2 and open rico look good, I think those will handle all my need's, I also want to use one other I saw called ajaxgold, I just have to find it.  Those 4 libraries, should handle everything I need. Thanks
  22. Well basic/intermediate javascript is easy.  However I am not too good at writing functions in javascript, so building a javascript library for me is very, very hard.  I never get angry with anything else, but with javascript I always end up getting steaming mad, and hellaciously pissed.  I loved it when I first started it, but after doing php, then coming back to it, I sometimes get stuck for day's at a time.  So I am thinking for anything I need a library for, use smoething already built.  I will take a look at the 2 you offered, thanks for those.
  23. Ah, good idea.  Thanks I will try that out with the array, thanks again.
  24. So $temp = array("parameter1", "Parameter2", "Parameter3"); if (isset($temp)) { // $temp is an array and has some variabbles passed to it, which are param 1, 2, and 3 }else { // $temp is an array in nature, but DOES NOT have any values pass to it whatsoever at the moment } Is the above statement 100% correct, that you know of?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.