Search:
Type: Posts; User: noahssite
Search:
Search took 0.11 seconds.
-
Welcome to VBForums!
As SambaNeko mentioned, the cause for your 'boolean given' error is that mysql_fetch_array() returns false if there are no more rows in the result set.
As a side note on...
-
Read up on Regular Expressions here if you don't already know how to use/write them: http://www.regular-expressions.info/
After you become familiar with the basics of RegEx you can implement a...
-
How would I detect where the black pillar box is in order to draw the rectangle? The size/location of the media player is not fixed, its position is set by the user.
-
Hello,
I'm using the AxWindowsMediaPlayer control. At the moment if I play a video whose dimensions are not of the same ratio as the AxWindowsMediaPlayer control then there are added "black bars"...
-
You could learn PHP and write it yourself. Once you learn the basics it is pretty easy to write a simple login script. You should also learn SQL to manage user accounts.
-
Message board or guestbook?
-
PHP is a server side scripting language. I think you want to look into JavaScript.
-
$texts = array('hi','hello','hey','Good Day');
$text = array_rand($texts);
echo '"' . $texts[$text] . '"<br />we also have ';
unset($texts[$text]);
$ln = count($texts);
for($i=0;$i<$ln;$i++){...
-
I'm still confused on what you mean "Internet Emulator". Everyone else in this thread is joking. Now I believe the true question is: are you?
-
On Gmail you can insert an attachment by dragging the file from your desktop to the textbox on the screen. Does this work in all browsers and how does it work?
-
On Facebook if you click on a button like "Messages", for example, your messages will appear on the page and the URL in the address bar will change to reflect that you are looking at messages. The...
-
Does anyone have any idea for creating virtual monitors? If this cannot be accomplished in C# then the other language that I could write it in would be java.
-
Hello,
If anyone is familiar with the remote access service, LogMeIn, you will know that it provides the user with the functionality to 'blank' the monitor connected to the computer that you are...
-
Oh my mistake.
This should have worked, I believe:
TextBox1.SelectionStart = TextBox1.Length
with no adding/subtracting.
-
You have to set the Selection of the Textbox to the length of the Textbox's value minus 1.
e.g.
TextBox1.Text = Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(TextBox1.Text)...
-
What do you think is better for a shared web hosting plan, Godaddy or Hostgator? Reasons?
I have been using Godaddy for a while but Hostgator seems much cheaper however there must be a reason.
-
I didn't think Godaddy had Image Magick; now that I look at it I think they do. I am going to look into it. I'll post if there is still an issue.
-
In the Textbox's keyup event place this code, assuming your textbox is TextBox1:
TextBox1.Text = Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(TextBox1.Text)
-
Hello,
I need to be able to convert a PDF to formatted HTML or to a JPEG/other image file. The methods I have searched all require a program to be installed on the server. Using the current server...
-
I don't believe PHP is the right language to use. JavaScript is probably the one you need to look into. If Google Images didn't have the Search By Image feature then I would have said what you want...
-
I have used DOM Documents with xml like <a>dasdasd</a> etc.. but does it work with a tag like <br />? A single tag with no content? Could I access that <br /> tag like I would any other tag?
-
I've improved the expression to this:
<\s*(w:p)(\s+[^>]*>)|(\s*>)([^[<\s*\/\s*(w:p)\s*>]]*)<\s*\/\s*(w:p)\s*>
This expression is giving me the full w:p tag and closing tag i.e. <w:p id=23...
-
I need a RegEx expression to find the text between two XML tags.
I have tried the following expressions:
/<w:p[^Pr][^>]*>(([^(<w:p>)])|([^(<w:p>)]))*<\/w:p>/...
-
You aren't checking if $_SESSION['username'] contains a value. Someone could easily 'compromise' $_SESSION['username'] and set it to " ". The isset function checks if it equals NULL or not.
-
The method you choice only limits te file extension. I can take an executable file called destroyall.exe and rename it to destroyall.docx. According to your code it will upload the file.
-
You can use a KeyUp event on your form if you set the TopMost property of your form to True. You would have to hide your form another way (opacity = 0) instead of minimizing it.
An API would be...
-
No one will read all that code. Try narrow down the area where the error is located. What exactly is happening? Are you getting an error message? If not include this at the beginning of your code:
...
-
What do you mean it's seperating the expression from the value?
The '|' (pipe) operator is the OR operator.
True OR False = True.
EDIT: Oh my mistake. I didn't realize that the '|' was part...
-
Here's the logic in English:
As you can see (false | true) always returns true. Which defeats the purpose of the ternary conditional.
Do a break point and find the value of...
-
private static int showRandomInteger(int aStart, int aEnd, Random aRandom){
if ( aStart > aEnd ) {
throw new IllegalArgumentException("Start cannot exceed End.");
}
//get the...
-
Nothing. It's just that. A reputation.
-
Your welcome :)
Mark the thread as resolved if you have no more questions.
-
What web browser did you test it in? I tested it in Mozilla Firefox and Google Chrome.
EDIT: It works in Internet Explorer 9 as well. Did you copy it exactly?
-
Add this to your home.css file:
#nav li ul
{
z-index: 1;
}
-
You will get more answers if you use the forum CODE tags to display your code rather than attach it in an attachment.
-
Remember the file location is relative, you can replace this:
$image1Url = imagecreatefromjpeg($_SERVER["DOCUMENT_ROOT"]."/php/Headers/1.jpg");
with
$image1Url =...
-
How large is the image 1.jpg? (in megabytes) It is possible it's a memory issue.
EDIT: Also try to use another jpg file.
-
thanks for the clarification :check:
-
This file:
does not exist. What is the root directory of your web server? I am not sure how you configured your server but try get rid of "/php" so that it becomes:
$image1Url =...
-
Outside of an extensive loop where a string is being echo'd is the performance difference that noticable?
|
Click Here to Expand Forum to Full Width
|