Stefano Mtangoo 455 Senior Poster
Stefano Mtangoo 455 Senior Poster
Stefano Mtangoo 455 Senior Poster
Stefano Mtangoo 455 Senior Poster
:)
I'm looking for if I can add C# to my toolbox. However there is something which is not clear. I know C# is interpreted language, but can't get it when it comes to learning It.
I would like to learn Mono, but then, how does it differ with M$'s? Where do I start?
I can competently do some stuffs in C++, Python, PHP, Java.
Thanks
Thanks Steve!
It is a great framework, though I am embarrassed to say that I haven't worked with it that much either. :D
Someone on the PHP form has to be a CI guru. If there isn't and vizz has a question about CI, I guess we have some reading to do...
-PhpMyCoderEDIT: It's been so long since I've been on Daniweb, I almost forgot how strange the smilies looked!
I will be making Big PHP project in few months to come and I will use CI so slowly I'm getting familiar with it. Controllers/Views are Just breeze and I'm learning how to do "messy" things in Models.
I think all you need is something like JQuery which is JS library to help you manipulate the DOM (Hide, show, effects et al) and with simplified AJAX methods, you can do a big deal of, almost, whatever you think of
Check it here
hey.
thanks for the response..i am no way interested in most of these topics..iam going to work alone..so i just want a simple idea to overcome this in as easy way as possible
Think of little nagging problems people face in your place that programming can be a tool to resolve them. I hope you don't leave in Eden, so the problems should give you a clue as to what you can do ;)
Let me differ a little bit
1. Learn PHP
2. Learn MySQL
3. Design Database
4. Code your site
Otherwise you will end get lost in mud of codes you don't understand :)
Else, hire somebody knowledgeable of PHP
good practice is to echo your path on script and see if the path is correct!
Don't bother of Ajax Code with pure JS.
There are a lot of libraries out there that simplify JS.
So Unless you are learning JS, pick one and use the simplified AJAX calls.
My favo is JQuery
HI every one,
I need to do a course project for software architecture which should be implementable and is compulsoraily an ieee or acm paper.
The areas given for us are:agile s/w developement,extreme programming,cloud computing,web services,generic programming,testing...
can u guys suggest any thing in it
I would suggest PHP or Java's JSP
Get your self a book by Bruce Eckel, thinking in C++ and check below sites for resources. Also read the to sticky:
http://www.cplusplus.com/
http://www.cprogramming.com/
Hi anyone who knows good and documented CHM library?
There is chmlib which is X-platform but I cant find documentation or example.
Is it hard to write cross platform CHM reader library. Just reading, no writting
Thanks
like java, you can have any number of constructors overloaded :)
I need msdn for vb 6 please help me
I don't think it is available anymore. M$ got concentrated on VB.Net
If I may add my ten cents, I believe that CodeIgniter.com has a great 20 minute tutorial on creating a basic blog. .........................
For the purists out there, I'm not endorsing CI as a start to PHP. I believe it's much better to learn and be comfortable with PHP basics & OOP before using a framework. In this case, I think a framework could help illustrate relationships and basic functionality.
All the Best,
PhpMyCoder
I second PhpMyCoder on CI once you get passed the basic PHP and OOP
It is great framework thoug I have barely scratched the surface
If you use Codelite IDE and use new class wizard there is Singleton option.
It makes singleton for you and you can learn from there!
It is basically a class utilizing concept of static variable to hold the instance
Check CP example and this Question
Test this in your app
index.html
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<form name="myform" action="test.php" method="POST">
<p>Time In<input name="in_time" type="text" /></p>
<p>Time Out<input name="out_time" type="text" /></p>
<input name="Submit" type="submit" />
</form>
</body>
</html>
test.php
<?php
$in = $_POST['in_time'];
$out = $_POST['out_time'];
echo "Out Time is $out<br />";
echo "You Got in at $in";
?>
I'm trying to create a simple GUI for a program that runs in the terminal and requires a lot of typing. What I do type in (being saved as a variable in C++) I need to enter into the program which, stated above, is running in the terminal. :(
I haven't got you. Could you explain what Kind of app are you using and GUI toolkit you use?
logout: echo "<p><a href=\"logout.php\">Click here to logout!</a></p>"; this will destroy the session and return to your index.php file. Logout.php <?php session_start(); session_unset(); session_destroy(); // Logged out, return home. Header("Location: index.php"); ?>
session_unset(); is not necessary as session_destroy(); does it all ;)
Sounds like file modification thing. Use stream classes in <iostream>
Just grab right file to edit. Note: Backup file before modifying so that you can prevent a disaster from happening!
can somebody help me i need a compiling site for documents its like a registration site but your filling up documents for a business. that every page has a login/logout. so that if she/he didn't finish the registration he can logout to save and login to continue thank you
And how much are you going to pay for that? :D
And thank you for hijacking the thread.
Now seriously: Start your thread and post what you have and your programming ability level ;)
Please elaborate clearly and say what have you done so far
Check
http://sqlzoo.net/howto/source/z.dir/tip241027/i02create.xml
http://weblogs.sqlteam.com/jeffs/archive/2007/08/23/composite_primary_keys.aspx
how do i escape the _POST or _GET? i have resarchd but dont get it, thanks
I'm yet to find mysql_real_escape_string equivalent for odbc.
May I know why are you troubling with ODBC while MySQL is free and very capable and is smoothly supportted in PHP?
Mark it then Solved!
what are contents of lines 11 and 12?
Can you echo the values of $from and $to?
try echo the query and pase what it displays
also you can try this
$result = mysql_query("SELECT visitor_in.Name,visitor_in.Contact_Number,visitor_in.Date,visitor_in.Time_In,visitor_out.Time_Out FROM visitor_in,visitor_out WHERE visitor_in.Date BETWEEN '".$from."'AND '".$to."' ") or die(mysql_error());"
Doesn't dynamic_cast only work with polymorphic types?
Not sure but may be you are right!
I used it and it failed and then I resorted to C-ish cast and it worked. Since it was just a test program I didn't bother ;)
Glad we helped :)
Mark it solved then!
Hey guys
I've had the same problem and by looking at lots of different ways to solve the problem i have found the solution. I'm not sure on the specific reasons and stuff but basically, the error only pops up if you had not ended the "while" command. So i think the code keeps repeating in that socket or something. Just remember before you close the python window when you go to test your code, write a code to end the "while" command.(it will tell you that the program is still running and if you want to kill it)
:P
More than year old thread Lol!
Use VIDLE that comes with VPython or alternatives already mentioned
There are no validations yet needed unless you think i need it.
Beware of SQL injections. At least escape your GET/POST stuffs before using them
there is sticky at the top for this common issue. Please take time to read it and understand what is cause and what others have faced
Have you displayed dates to see if Form dates format matches the Database stored dates?
If it works for Dynamic pages then it should not be hard for static. Just rename your pages to something like story1.htm, story2.htm et al and create that dynamically, something like below. This is not working code, so implement in Murali's code.
But why would it be "strictly" Static?
i = 1; //story1
include("story".i);
No probs, Yeah proudly a kiwi haha
Why New Zealanders calls themselves Kiwis? Is that a nation symbol like giraffe is for my nation?
Add redirection after inserting
if(isset($imp)){
foreach($imp as $a => $b){
$query_all = "INSERT INTO test (emop_id, implementor, steps, start, finish, duration, status) VALUES ('$id', '$imp[$a]','$step[$a]','$start[$a]','$finish[$a]','$duration[$a]', '$status[$a]')";
mysql_query($query_all) or die('Error with TEST query, query failed:'. mysql_error());
}
header(Location:"home.php");//do redirection here
}
take examples verbatim and see WHAT it does by compiling and running it
Then fiddle with them doing some modification and see HOW it works
What is contents of include "wconfig.php";?
If you search for error message, you will find the answer.
But to get the flavor of answer see links below
After inserting redirect to another page which have link to insert page
That is page home.php have link to insert.php if one click link it takes him to insert.php and after inserting redirect to home.php
You got it! Yes it is the issue
void* wxDynamicLibrary::GetSymbol ( const wxString & name,
bool * success = 0
) const
I think dynamic_cast is better than reinterpret_cast
Would you summarize your question, I have failed to understand it