-
How to save data to Two or More MySQL Table with a Single Query
Problem solved. http://stackoverflow.com/questions/30466422/insert-data-into-multiple-tables-using-one-form
-
How to save data to Two or More MySQL Table with a Single Query
Hello, I went through all the links available in Google but didn't found any correct solution. Please help the noob here. Also if you find that I am thinking totally in a wrong way then please suggest the correct way. I want to know that how thing is actually done. I have created two tables so that I can do RDBMS (Data Normalization and Joining). Here is my code: <?php require("conn.php"); // Escape user inputs for security $name = mysqli_real_escape_string($conn, $_POST['name']); $desc = mysqli_real_escape_string($conn, $_POST['desc']); $cars = mysqli_real_escape_string($conn, $_POST['cars']); $gender = mysqli_real_escape_string($conn, $_POST['gender']); $bike = mysqli_real_escape_string($conn, $_POST['bike']); $cycle = mysqli_real_escape_string($conn, $_POST['cycle']); // attempt insert query execution $sql = "INSERT INTO tbl_project2 (Name, Description, Cars, Gender, Own) VALUES ('$name', '$desc', '$cars', '$gender', '$bike' )"; $sql = "INSERT INTO tbl_project2b (Cycle) VALUES ('$cycle' )"; if(mysqli_query($conn, $sql)){ echo "Records added successfully."; } else{ echo "ERROR: Could not able to execute $sql. " . mysqli_error($conn); } // close connection mysqli_close($conn); ?> Whatever I try nothing works. I tried mysqli multi_query but its also not working. My code only saves data to the 2nd table and not in the 1st table. So what is the correct method of adding data simultaneously into two or more tables? Thank you.
-
Having trouble deciphering Bootstrap for editing...
Then according to you which Framework is the best?
-
Having trouble deciphering Bootstrap for editing...
Hi I haven't tried BS4 yet but in BS3 you just neede to take the bootstrap.css and bootstrap.js You event don't need the bootstrap.js if your website is a one page landing page and wont have drop dowm menus and other fancy components.
-
Need basic idea on how to do this HTML myself
Hello, I am trying to build this section myself but I am really not understanding on how or where to start. Can anybody just give me a starting idea on how to do this. OK please see this website and the attached image. In that website I want to make that section myself. http://demo.themefuse.com/exposure/ https://dl.dropboxusercontent.com/u/12360312/ss2.jpg Thank you
-
Any Dribbble Member Here?
Hello, I am not looking to get an Dribbble Invite but I want Five of my works to be get reviewed by a Dribbble Member and I want to know whether my works are worthy of Dribbble or not. So let me know if anybody is and I will PM the links. Thank you.
-
Any iOS app developer here?
Any professional iOS app developer here? If yes and you are interested to answer few questions related to iOS app designing in Photoshop or Illustrator then let me know and I will ask my Questions then. Thank you.
-
Bidding and Selecting Designers on Upwork - Question
Wow Fisi, Thanks for your prompt reply. Well Fisi, if I send you my proposal letter can you review it? Can I PM you?
-
Bidding and Selecting Designers on Upwork - Question
Hi, This Question to designers. While bidding in sites like upwork and freelancer, upto what number will you go? Like if one project has 35 bids will you still bid on that project? So I want to know the number. This Question to project owners. Upto what number would you go? If your project gets 75 bids then will you see the bid of that 75th bidder? Thank you.
-
A bit of direction needed - Jquery Slider Fancy Transitions
1st of all, Happy New Year. OK can anybody give me some direction, idea, any link to tutorial that shows how to make those fancy tile transition effects in image sliders. Here are some examples: http://jquery.malsup.com/cycle2/demo/tile.php http://demo.dev7studios.com/nivo-slider/ Thank you Edit: What I want to know is that those tile transitions... are they done purely through java script or jquery OR by animating some CSS3 properties through programming?
-
JQuery Mobile - Shall I use it with BootStrap for normal web works?
Hello, I just landed on JQuery Mobile and I was thinking whether to include it or not in normal web design works that I do with BootStrap. http://www.w3schools.com/jquerymobile/default.asp Is it necessary to use it under normal conditions. If not then when to use it? Do I need it when I am doing total from scratch custom work like custom slider, custom navigation etc.? Gen. I use plugins like flexslider and bxslider and cycle for sliders and various other js and jquery plugins for various works. In that case I don't need it ... Right? Thanks
- Floating & Expanding Div -CSS/HTML
-
- Getting the header to respond on user scroll
-
Responsive navigation menu with dropdowns
Hello Rndm, Firstly use Bootstrap. Its responsive and works both in desktop and mobile devices. Then use this for multilevel dropdown BS menu http://www.smartmenus.org/blog/smartmenus/create-advanced-bootstrap-3-navbars-zero-config/
-
Floating & Expanding Div -CSS/HTML
Hi, In this link see those 2 floating buttons on the top right side. Purchase theme and send us a message.... http://themes.dfd.name/ronneby/thirty_seventh/ This is what I have now. https://dl.dropboxusercontent.com/u/12360312/float/index.html I know how to put an icon infront of the text using CSS ::before and content property. But I can't figure out how that text remains hidden and slides in on hover. Can anyone help? Thank you.