with the code you currently have, what happens?
jonsan32 commented: On my site as well? +2
tobyITguy 24 Junior Poster
with the code you currently have, what happens?
what selected items? i dont understand the question. If you need to save info across refreshing you can use $_SESSION
It worked normal for me.
I think you need to click on the shutdown performance monitoring
Im inclined to think it's a driver issue. One must have been installed that's not for your operating system. If you find it and uninstall it. It should solve your problem. Check the recent drivers you installed and check that they were made for your os
If i understand what your saying
$shorturl = $url
is what you should have on line 52.
Try this
$update_query = "delete from shortenedurls where id='$ida'";
In your constructor for your class, do you instantiate all needed objects from the WPF?
Stored procedures are used to store some actions on your database. So that those actions can be peformed by people without having direct access to the data.
It allows for variable declaration. Its like functions in programming.
DELIMITER //
CREATE PROCEDURE `multiply` (OUT var1 INT)
BEGIN
SET var1 = var1 * 2;
END //
When the mutiply procedure is called like so
CALL multiply(5)
its given a parameter(in this case 5
).
That parameter is then multiplied by two and returned.
Within the "begin" and "end", you can put any type of query.
It limits what users can do on your database and enhances security and ease of use.
The "DELIMITER" tells sql your done with typing a statement.
In the example we used //
as our delimiter.
Hope that helps.
I now understand what you talking about.
First you failed to mention that its on the about page.
Next its happening becuase your using parallax on it.
Either take your parallax off or put it in section
tags
Create a new console app project.
Paste the code.
Change the file path.
Run the application.
Then you will be prompted to type.
Alternatively, just replace
input = Console.ReadLine()
with
input = "machine"
Try this:
Module Module1
Sub Main()
Dim FileName As String
FileName = "C:\Users\Toby\Desktop\daniweb.txt"
Dim TextLine As String
If System.IO.File.Exists(FileName) = True Then
Dim objReader As New System.IO.StreamReader( FileName )
Do While objReader.Peek() <> -1
TextLine = TextLine & objReader.ReadLine() & vbNewLine
Loop
Console.WriteLine(TextLine)
Dim aryTextFile() As String
Dim numOfLines As Integer
Dim input As String
Console.WriteLine("what do you wanna find")
input = Console.ReadLine()
aryTextFile = TextLine.Split("*")
numOfLines= UBound(aryTextFile)
For counter = 0 to numOfLines
Dim pos As Integer = InStr(aryTextFile(counter),input)
If pos <> Nothing AndAlso pos <> -1
Console.WriteLine(aryTextFile(counter))
End If
Next
Else
MsgBox("File Does Not Exist")
End If
Console.ReadLine()
End Sub
End Module
This would return the whole line with the word.
Its a console app so you can add the GUI yourself.
so if you have
Ani | #friend #human #male *
Car | #machine *
BMW | #car *
Toyota | #car *
James | #human #male *
and search for Machine
you will get
Car | #machine
use the split function i gave you earlier to make it gibe just the word before the '|'
I used the trailing * to split the lines before checking. So you have to use that format in your text file.
Hope that helps.
Yeah Reverend Jim, I think that is what he wants. I understand now.
@altjen - Must the code be in VB?
Im totally not understanding but i want to help. If you can find a different way of expressing yourself id be happy. If your better at a different language try describing your requirement in detail and use google to translate it.
Maybe that would help.
Gateway timeout means the code didnt even get to the server most likely.
Check your connection to your database and retry his code
I actually dont see anything wrong with your code.
Try setting AutoGenerateColumns
to true in the asp control and let C# make the columns for you. Lets see what happens.
The only laptop i see in the slider moves like the others.
It fades
Okay, mark as solved. I don't see any problem in the syntax.
Im still having difficulty understanding your requirement.
But try this:
Public Function SplitWord(ByVal s As String) as String
'Split string where there is a '|'
Dim words As String() = s.Split(New String() {"|"})
SplitWord = words
End Function
You can call it and give it a string as a parameter
It should return the first word before the '|'
Meaning if you give it 'This | is a ball'
It would return 'this'
If you want it to give you all the words in the document one line at a time,
then we can do that too.
If anyone can better understand his requirement, please explain.
show your colorbox javascript code. Its happening because you are calling it on the the element with the id of webcam.
Trying to understand the question.
You want the modal to work without having to add the id field?
Your probably using |
as you delimiter. You shouldnt.
Add something like *
after the sentences then write code to read the content till it gets to that *
so you would have
DaniWeb | a forum to help programmers *
Play | a means to have fun *
then in your app code you make it find a word
and read till it sees a *
Where was this class and method defined?oSQLS.GetDtasaRecN
The route is proper. The problem should be at the controller. There should be methods in your reportscontroller that correspond with the report names. To add a new report you need to add a method with the name as your new report and put the logic to make it find and display the report.
When they said they wanted the code, I dont think they meant all 1422 lines of it. This error could be caused because the designer code references a gui control that probalby was removed. I experienced something similar when using visual studio and writing in c#. Did you delete any gui control that had a method that it called?
Your missing route definitions. And probably a controller. Show us the content of your RouteConfig.cs and tell us what you have under the controllers folder.
Your calling it wrong. It should be:
transactions.adopt(chappie,dog);
This is because your adopt method is defined under the transaction class and accepts a customer and a pet.
when you try to open the designer view for the windows form in your ide, does the gui show?
why dont you consider using procedural instead of object oriented?
that way you have
$link = mysqli_connect('yourHost','username','password','database');
$q = SELECT fan_count FROM messages WHERE msg_id='$msg_id'";
$result = mysqli_query($link,$q) or die('sorry an error ocurred');
$resultRows = mysqli_fetch_assoc($result);
Then you can access the data like so
echo $resultRows['column'];
That should work.