PHP Code to create table. $create_q = 'CREATE TABLE IF NOT EXISTS `' . $job_id . '` ( `id` int(11) NOT NULL auto_increment, `mobile` bigint(20) NOT NULL, `routeID` int(11) NOT NULL, `status` varchar(20) NOT NULL default `Sent`, `handler` varchar(20) NOT NULL, PRIMARY KEY (`id`) ) '; Mysql Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Sent`, `handler` varchar(20) NOT NULL, PRIMARY KEY (`id`) )' at line 5 how to fix this error?

Member Avatar
Member Avatar
+0 forum 3

Just a simple password creator using Python code. The length of the password can be set and the characterset could be changed if you so desire.

Member Avatar
+0 forum 0

Hi! Firstly, here's the code: if(new File("ATM.xls").exists()){ System.out.println("File exists"); } else{ File excel = new File("ATM.xls"); } What I'm trying to do is check whether or not a file exists and then create said file, if it does not exist. This all works fine, but somehow, I'm unable to use this created file in any way outside my IF statement. I'm trying to do the following: WritableWorkbook wb = Workbook.createWorkbook(excel); It's not working, and I'm not sure why. Any ideas?? Thanks for all help in advance :)

Member Avatar
Member Avatar
+0 forum 5

Once you are on the internet, you have to come up with passwords. After a while it will be difficult to remember those passwords. You could write them down somewhere, but the wrong person could find them. Why not have Python help you to come up with a logical password whose logic of creation might help you to recall it. ''' password_create101.py a simple program to create a password you can remember ''' # use something you can remember # like your first and last name and year of birth first = "David" last = "Herzig" year = 1993 # …

Member Avatar
Member Avatar
+1 forum 14

hi guys. i have this one page that is for graphical seating arrangement. u know like for say a wedding u assign who is seating where, what table is used, where is the table placed and stuff like that. right now i just have drop down list of the number of seats like : <ul class="navbar"> <li> <a href="#">Rectangle Table</a> <ul> <li><a href="#" id="6seater">6 Seater</a> </li> <li><a href="#" id="8seater">8 Seater</a></li> <li><a href="#" id="10seater">10 Seater</a></li> </ul> </li> </ul> and there are images that go with the links. 6 seater round table is just an image. so its all fixed. now i …

Member Avatar
Member Avatar
+0 forum 1

Hello, I was asked to try and create a table seating arrangement, something like [this site](http://www.weddingwire.com/wedding-planning/wedding-seating-tables.html) but i guess not so advanced as that because I may not be able to do it. Anyway, I haven't even started and I'm already stuck. I'm not sure where/how to start. Could someone who may have had experience creating one for their client go through the motions with me? DOesn't have to be a step by step thing just i guess a list of what i need. then maybe from there i can start. TIA SN: the link is not broken, i dont …

Member Avatar
+0 forum 0

i want to create a table and fill the data inside. i have crated table manully using loop now i want to fill data inside it... how we can fill plz help Dim tmpcounter As Integer tmpcounter = pageLeft + Printer.CurrentY For x1 = pageLeft To 2036 Step 200 Printer.Line (x1, tmpcounter)-(x1, 2036) Next For y1 = tmpcounter To 2036 Step 200 Printer.Line (pageLeft, y1)-(2036, y1) Next needed urgently .....

Member Avatar
Member Avatar
+0 forum 5

Write a shell script that will take a filepath and a string as command line arguments. The script should find lines which contain the given 'string' in the given file. It should create an output file in "/tmp" directory with the name in the pattern as below. "NN_15Nov2013_12Hrs_32Minutes_20Seconds.txt"

Member Avatar
Member Avatar
+0 forum 3

hey guys, so im not sure if this is the right forum, sorry if its not. anyway, i have to create a webpage that can do seating arrangements graphically. it would be like those seating plan softwares out there but this would be online. users can choose tables/chairs/etc which guests seats where that sort of thing. im not sure how to even start doing this, if anyone has any links/suggestions/ideas that would be great. thanks.

Member Avatar
Member Avatar
+0 forum 3

hallo good people am new to ASP.NET but well versed with VB.NET(VisualStudio 2010 ) my question is is there a way can i convert an application i have developed in vb.net to ASP.net to ba a web application and if yes what is the procedure???? My other question is can someone kindly assist me with step to step of how to create my first vb,ASP.net project since am new to web applications and want to migrate to web based systems Thank you all in advance

Member Avatar
Member Avatar
+0 forum 4

I am learning MVC and i would love to do my web site with different languages... if the site come from my domain mysite.fr i wanna show french, if comes from mysite.it i wanna show italian.. etc etc So, i did all what the e tutorial asked me to do (Creating a Multilingual Website with ASP.NET MVC 4) but... I tried to follow step by step this tutorial : [Click Here](http://www.ninjacode.com.br/Blog/2013/07/19/creating-multilingual-website-mvc-4/) But when i run my application this eerror come out... Somebody can help? This is the error (i am sorry but is written in french cause i got french …

Member Avatar
Member Avatar
+0 forum 1

Can anyone help me with this homework assignment. Im so confused!!! Create a very simple four function integer calculator with buttons for Add, Subtract, Multiply, and Divide, and with two text-type input fields. When the user enters two numbers and clicks one of the buttons, the answer is displayed where shown. Your program must use an alert to tell the user about any errors. The possible errors include: One or both input fields are blank One or both input fields < -9999 or greater than 9999 Divide by zero Illegal character in either input field. Only 0, 1 ,2 ,3 …

Member Avatar
Member Avatar
+0 forum 1

How to create extension module in magento ?

Member Avatar
Member Avatar
+0 forum 1

Hello everyone, In my wpf application i have user conrtols like button,rectangle,image etc.. in one side of the window(whole window is divided into 2 canvas panels) i need to implement the functionality where, if i drag any user control and drop it in other area of the window, a new instance of that user control has to be created (put simply, duplicate it). Please help me with the code if possible. thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

How To create Trigger in PHP

Member Avatar
Member Avatar
+0 forum 2

//index.php $img_dir ="C:/xampp/folders/img/*.jpg"; $thumb_width = 100; // Open a known directory, and proceed to read its contents $scan= glob($img_dir); foreach($scan as $image) { $im= imagecreatefromjpeg($image); $img_width = imagesx($im); $img_height=imagesy($im); $thumb_height= floor ($img_height *($thumb_width/$img_width)); $new_img=imagecreatetruecolor($thumb_width,$thumb_height); imagecopyresized($new_img, $im, 0,0, 0, 0, $thumb_width, $thumb_height, $img_width, $img_height); $thumb_path = "C:/xampp/folders/thumbs/"; imagejpeg($new_img,$thumb_path); } The error message `Warning: imagejpeg(C:\xampp\folders\thumbs): failed to open stream: Permission denied in C:\xampp\folders\index.php on line 32` he destination file has read and write permissions! Whats wrong with my code? ( I have used both / and \ slashes for file paths, and I still get the same error.)

Member Avatar
Member Avatar
+0 forum 1

How to create a form with a a button add_subjects which adds one textbox on each click, at runtime in VB and a corresponding label, 3 buttons - Add, Edit and Delete, for each textbox created. Once each texbox's corresponding Add _button is clicked, it passes textbox's value is passed to the label.

Member Avatar
Member Avatar
+0 forum 1

SO im writing a simple map editor using c# and xna. Ive just finished with xml serilization, but when i compile i get the following error: "Unable to generate a temporary class (result=1). error CS0016: Could not write to output file 'c:\Users\Chris\AppData\Local\Temp\1vw3tjxm.dll' -- 'Access is denied. ", what does this mean? And how can I solve the problem?

Member Avatar
+0 forum 0

Hi, I am new on this all, I want to add RSS Feed to my website. But really i don't know about this anything. As I am on windows 7, The gadget RSS FEED (i look on it) and also view some pages like [THIS](http://windows.microsoft.com/en-us/windows7/Using-RSS-feeds) but the Question is How can I add it to my website so that other can subscribe me with the RSS FEED? Help Me Fast, I am waiting for the answer

Member Avatar
Member Avatar
+0 forum 2

I already created application, now I want to add the "Submit Software/image/etc page", So i am having my own website in weebly which allows me only 10MB per File, and also I am link with mediafire, 2shared, 4shared etc hosting service, But what i need is that the user can browse their file and then they can submit me, Which will directly upload to the website/hosting service. Reason: i create mail sender and it's work, but it did not work when I send the exe file to someone as gmail pop up error. So Is there any way so that …

Member Avatar
Member Avatar
+0 forum 2

So as part of my computer science course, we have been instructed to build an encryption process. I have a good knowledge on different encryption methods (RSA for example), however I am having a hard time trying to create my own. Now, before anyone says it, I know, using homebrew methods for data encryption is dangerous and should not be used. That is not the purpose of the assignment. All we need to do is create something that works. Thanks for any replys!

Member Avatar
Member Avatar
+0 forum 3

I am using the richtextbox, and now when I am saving the File, then the File get saved but not as I want.? Example: File Name: example File extension: .txt Body: **1.)**Hey guys, Whats up? **2.)**R u Fine ??? **3.)**Reply soon Now When I save the file and open in the notepad. then its seem as: **1.)**Hey guys, Whats up?R u Fine ???Reply soon while if I open the same file with Wordpad then no problem it looks as it should... So how can I edit this things. Using Richtextbox only, reason: change specific text fonts/colour/save as rtf,txt,doc etc... If …

Member Avatar
Member Avatar
+0 forum 2

In main.html i will have two text fields one is the name of the html page i need to create and another is number of text fields, once i enter number(for example three) in main.html, within the same page dynamically 3 text boxes should be created using javascript... now if i enter text in to those three text boxes like name,age,email then it should send those to server and dynamically create a database table with those fields and it should generate a html page with the mentioned name in main.html and it should also create text boxes for the given …

Member Avatar
Member Avatar
+0 forum 2

Hi there, this is the code of my contactcontroller.cs : using ContactMvc.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ContactMvc.Controllers { public class ContactController : Controller { // // GET: /Contact/ [HttpGet] public ActionResult Index() { return View(new ContactMessage()); } [HttpPost] [ValidateAntiForgeryToken] public ActionResult Index(ContactMessage post) { if (ModelState.IsValid) { using (var db = new ContactDatabase()) { post.DateSent = DateTime.Now; db.ContactMessages.Add(post); db.SaveChanges(); } TempData["ContactMessage"] = post; return RedirectToAction("SuccessfulMessage"); } return View(post); } public ActionResult SuccessfulMessage() { var message = (ContactMessage)TempData["ContactMessage"]; return View(message); } [NonAction] public ActionResult LogList() { var messages = new List<ContactMessage>(); using (var db …

Member Avatar
+0 forum 0

I want to create an algorithm which shows how to create a linked list that could store a database of animals ie its species and physical features etc can any one help me

Member Avatar
Member Avatar
+0 forum 1

Hi, I can't seem to find the answer I'm looking for online (maybe keywords are too common?). Is my code only verifying whether my directory is created? Or is it actually validating? I need it to validate, but I'm unsure whether or not it's doing that. $dirPath = $_POST['company']; $result = mkdir($dirPath, 0755); if ($result == 1) { echo '<br/>'.$dirPath . " has been created".'<br/>'; } else { echo '<br/>'.$dirPath . " has NOT been created".'<br/>'; } Upon a second submission with the same company name and uploaded image, I get this error: Warning: mkdir() [function.mkdir]: File exists in /home/***/***/***/formulaires/processForm-test.php …

Member Avatar
Member Avatar
+0 forum 6

When the user finish with the order and pay then i want to create a pdf with the order receipt with email. How i can create this pdf online and sent it to the user? Thank you very much

Member Avatar
Member Avatar
+0 forum 4

Yes, I know what I'm talking about. which is Creating my own compiler to compile a language say C++,Java,Ruby, Python ..(Any one of them ofcourse -.- ) Actually, if I can just get the source code for an existing one that would be much better. [example] Say there's Turbo C ...is the source code available for it ? if so where? or any other compiler ..(Any language ,any compiler) I just want to poke around and see what happens(with the source code) ..I've done enough languages now I want to do compilers :)

Member Avatar
Member Avatar
+0 forum 3

Hai everyone. I am new to this discussion. Can anyone tell me about xml site map creation.

Member Avatar
Member Avatar
+0 forum 2

**Task:** "pass these four variables (x,y,w,h) into the getSubimage method of the original_image object." That method returns a BufferedImage, which i need to directly return from my getImageRect method. I have not included my whole code, but i was wondering if anybody could help me out with this? If you need me to include other aspects of my code to help understand this program then i can paste them. BufferedImage getImageRect(int thisCol, int thisRow) { // if input is out of range, return "null" if(thisCol <0 || thisRow < 0) return null; if(thisCol>=numCols || thisRow>=numRows) return null; // otherwise, make …

Member Avatar
Member Avatar
+0 forum 6

The End.