I'm trying to track down the cause of the Browser error "'browseris' is undefined" when viewing a website generated by Sharepoint.
Looking at the source code does not show any call to a javascript browseris variable.
The error is intermittent, and although it doesn't cause problems with the...
I did something like this but for includes not for storing into an array.
Here is the code that can be modified for it
if($handle = opendir("{$CONFIG['root']}/sources/mods")){ // This checks that the directory is opened if not it doesn't fire
while(false !== ($filename = readdir($handle))){...
Use the global $_GET array.
when you have an URL something like
http://www.mysite.com/index.php?id=10&act=3&name=bob&auth=true
you can access each and every one of those items in the URL using $_GET it is a superglobal meaning that it is available everywhere in your script.
with the above...
Ok that works like my IF statement but it doesn't get them into dis_order (display order) as well unless they all have sequential ids. In this case they might not have sequential ids where id=1 the dis_order might be 2 so that id=1 need be the second in the list.
JRSofty...
Here is the table I have
uid, pid, dis_order, title
uid = Unique ID
pid = Parent ID
dis_order = Display Order
title = title
Ok so I need to display this table in such a way that
1. ordered by display order
2. children are under their parents
3. children are also in their display order
I...
Great thanks for the code.
Now if I can figure out how to do this without the eval or to find a way to secure it.
JRSofty http://jrsofty.stinkbugonline.com
You can try to use the isset() function like so
if(isset($_REQUEST['username'])){
then do my thing
}
or you can have it do something when it is not set
if(!isset($_REQUEST['username'])){
then do my thing
}
JRSofty http://jrsofty.stinkbugonline.com
Close, the problem I'm having is that the array portion is stored as a string (comes from a POST form) in the $_POST['newval'] and I can't for the life of me get the string value of $_POST['newval'] which is "array('arr1'=>1 ..." parsed into an actual array.
I've tried parse_str() and eval()...
In a form I have where an admin user can create a new config array element for any changes he makes to scripts.
The possiblity exists to create a multi-dimensional array element by entering in the textarea
array('arr1'=>array('a'=>1,'b'=>3,'c'=>5),'arr2'=>array('a'=>2,'b'=>4,'c'=>6))
Which...
YIKES that was really confusing. Ok here is what I've done so far with this type of subject myself. I have developed my own way to identify the [] tags and then to put the information into HTML.
This code identifies my code type tags for example:
while...
Hello Askeladden,
What you need to do is look under your File Menu of the IDE and look for a line that says Compile statsbygg.exe or something along those lines. This will create an executable file for your application.
The next step is you must place this executable file inside a setup file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.