Hello all,
I have a question about Directed acyclic graphs. I am new to Microsoft SQL server coming from MySql. The reason why I am now using MS SQL is the need for nodle graphs in a relational database. I have been reading so much on this, I really need this to work. I have been trying this...
if I have a number 255, is there a php function to output the binary string of 11111111?
thanks,
timgerr
-How important does a person have to be before they are considered assassinated instead of just murdered?
Congratulations!
Hello all, I have an array of objects that I need to remove some items and keep others. Here is my problem, I have this array::
array
0 =>
object(stdClass)[9]
public 'id' => string '781' (length=3)
public 'root' => string '781' (length=3)
public 'RSS_Role' => string...
Hello all,
I have a problem.
I have a program that tells me that I am using 54% of Ram. How in powershell can I do this
1024 / .54
Thanks for the help
timgerr
-How important does a person have to be before they are considered assassinated instead of just murdered?
Congratulations!
Hello all,
I was wondering if I could embed a picture from a url in a ps1 script. I want to use Google graphing api, so I want to embed this graph
http://chart.apis.google.com/chart?chs=250x100&chd=t:60,40&cht=p3&chl=Hello|World
like this
$filelocation = "C:\testscript\pwrshl\asshat.html"...
Hello all, I have a goofy question for ya, I have a PDO transaction to my mysql database that I an sending 2 queries. I get local variables in the first mysql statement then pass the variables to the second mysql statement.
Here is my problem I have at signs (@) in some returned object...
Hello all,
I have a question about PDO and any word that has an apostrophe in it. I have a
function below, if I create (for some reason) a query that is bad, somthing with
the word don't in it, I get an error. If I add a slash to the word don\'t I
still get an error. Has anyone else gotten this...
Hello all,
I am new to C Sharp and I am in need of help to parse a nessus XML file. I am un able to recursively go through an XML file and look for the elements that I want. Does anyone have any sample code that recursively gets child elements?
Again I am new so the code that I have been...
Hello all, I was wondering how do to something. I have a table that I need to do some kind of sub query. I am learning so this query eill teach me a lot. I have 2 columns One is the ID and the other is Num. I need to search for all Nums that have a "0" in it and get the ID of that row. I...
Hello all,
I have a problem, I am getting a generated list of computers type, OS's, and computer names. The problem is that I am unable to parse the information via tabs or white space because of how the list is generated. I want to use a regular expression to get the 3 pieces of data that are...
How can I create an array that I am not sure how many items are going into it.
string[] myArray = new string[1];
1 item can go into the array
How can I declare an array if I am not sure how big I should make it.
Thank you,
Timgerr
-How important does a person have to be before they are...
I am learning c# coming from a vbscript, Perl, PHP and flex background. I have a questions about objects.
In PHP if I want to create an object I would do this:
$t = new stdClass;
$t->name = "Tom";
In Flex I would do this
var t:Object = new Object();
t.name = "Tom";
Does c# have anything...
I am creating an HTA using VBscript. I have a few div's that I hide when not in use. The problem is that when the div is hidden it takes up space. so if I have this:
<div id="divFormOne">
Some code here
</div>
<div id="divFormTwo">
Some code here
</div>...
Hello all, I am having troubles getting this to work. I need to list all the registry hey values and paths in the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key. I need to loop through the key, get all the value names and the paths. I cannot for the life of me to get...
Hello all, I have an array of objects and I need help removing duplicates from $test[]->PARid. Not sure how to do this.
$test = Array (
[0] => stdClass Object ( [PARid] => 0 [nID] => 1 )
[1] => stdClass Object ( [PARid] => 310 [nID] => 2 )
[2] => stdClass Object ( [PARid] => 313 [nID] =>...
Here is my problem, I am used to different languages (java,flex) where I can declare somthing and then add to it when I want. Here is my problem, I want to declare an object, run a function that will add an array to the object and then add to that object from another function. It might be...
Hello all,
Here is something goofy, I am trying to remove the last character from a string so I use this method:
$test = '012345678';
while($test){
echo $test . '<br/>';
$test = substr($test,0,-1);
}
This is the output
012345678
01234567
0123456
012345
01234
0123
012
01
it ends at 01...
Hello all, I was wondering why I am getting an error when calling the $this-> method in my class, here is what I mean:
class tree {
function recurse($obj)
{
foreach($obj as $key=>$val){
if(is_object($val)){
$this -> recurse($val);
} else {
echo $key . ":" . $val;
}
}...
Hello all,
I have a question for ya. I am trying to do this tree structure from http://dev.mysql.com/tech-resources/articles/hierarchical-data.html and the query has @ symbols in them. I cannot get the queries to work because of the @ symbols. What can I do to get the queries to work?
Here...
Hello all, I have a question for ya, I have created a class to change time zones, using Pear's Date.php
Here is my class:
class DateClass{
function GMT()
{
$nowGMT = date('U') . "<br/>";
$ets = strftime($nowGMT); // this is GMT...
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.