Register
FAQ
Calendar
Search
Today's Posts
Rules
Guidelines
SMS enable your application
via Clickatell’s fast, simple and reliable API's, built to integrate with any system.
Click here
to learn more.
Flash Website Builder
- Trendy Site Builder is a Flash Site Building tool that helps users build stunning websites.
Check Out Custom
Custom Logo Design
by LogoBee. Website Design and Free Logo Templates available.
CodingForums.com
>
Search Forums
Search Results
User Name
Remember Me?
Password
Before you post, read our:
Rules
&
Posting Guidelines
Showing results 1 to 10 of 10
Search took
0.02
seconds.
Search:
Posts Made By:
dstars5
Forum:
MySQL
08-24-2012, 07:57 AM
Replies:
11
Updating data in a MySQL database
Views:
787
Posted By
dstars5
I actually just figured it out. Because I was...
I actually just figured it out. Because I was using the query in the function, it wasn't finding the username value, I guess. Anyway it works perfectly now! Thank you so much for all of your help!
Forum:
MySQL
08-24-2012, 03:40 AM
Replies:
11
Updating data in a MySQL database
Views:
787
Posted By
dstars5
I changed the code a bit since I originally...
I changed the code a bit since I originally posted this thread, so I thought I'd post my current version.
<?php
include('cn.php');
@session_start();
$userUsername =...
Forum:
MySQL
08-24-2012, 02:29 AM
Replies:
11
Updating data in a MySQL database
Views:
787
Posted By
dstars5
Where it is coming from: $userUsername =...
Where it is coming from:
$userUsername = $_SESSION['loggedInUser'];
I think its working though, one of my echos shows the username on the page.
echo "The username is '".$userUsername."'.";
Forum:
MySQL
08-23-2012, 10:36 PM
Replies:
11
Updating data in a MySQL database
Views:
787
Posted By
dstars5
Wait, but the hours are set to 5 and the minutes...
Wait, but the hours are set to 5 and the minutes to 10. So it isn't changing the data. Also, sorry for asking so many questions ha, but "WHERE user_username=" shouldn't cut off like that should it?
Forum:
MySQL
08-23-2012, 10:20 PM
Replies:
11
Updating data in a MySQL database
Views:
787
Posted By
dstars5
Okay, so it shows: convertTime(10) was...
Okay, so it shows:
convertTime(10) was called
hours: 0, minutes: 0
DEBUG SQL: UPDATE user SET user_minutes=0, user_hours=0 WHERE user_username=''
So, it's got the right starting time, but its...
Forum:
PHP
08-23-2012, 03:39 AM
Replies:
1
Something's wrong...
Views:
208
Posted By
dstars5
Something's wrong...
Hey guys, sorry for the rather vague title, but I honestly don't know how to title this haha. Basically, on my site, a user inputs minutes into a text field, then I take the input, convert the...
Forum:
MySQL
08-23-2012, 03:13 AM
Replies:
11
Updating data in a MySQL database
Views:
787
Posted By
dstars5
Hey, I added some echos into the code, and it...
Hey, I added some echos into the code, and it looks like the mysql query function has been working this whole time, but for some reason, its adding 0 hours and 0 minutes.
Forum:
MySQL
08-22-2012, 04:15 AM
Replies:
11
Updating data in a MySQL database
Views:
787
Posted By
dstars5
It still doesn't add any time.. The debug thing...
It still doesn't add any time..
The debug thing just has the code printed up at the top of the webpage.. Is that what's supposed to happen?
Forum:
MySQL
08-21-2012, 09:29 PM
Replies:
11
Updating data in a MySQL database
Views:
787
Posted By
dstars5
Updating data in a MySQL database
Hey guys, I'm trying to update the "hours" and "minutes" of an accounts row.
I'm sure I am doing this wrong, and I am sure its a simple fix, lol, but I am pretty new to mysql, so a little guidance...
Forum:
MySQL
08-21-2012, 07:59 PM
Replies:
2
Resolved
MySQL error
Views:
395
Posted By
dstars5
MySQL error
Hey guys, MySQL has been giving me this 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 ')' at line 13...
Showing results 1 to 10 of 10
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
:: Client side development
JavaScript programming
DOM and JSON scripting
Ajax and Design
JavaScript frameworks
Post a JavaScript
HTML & CSS
XML
Flash & ActionScript
Adobe Flex
Graphics and Multimedia discussions
General web building
Site reviews
Building for mobile devices
:: Server side development
Apache configuration
Perl/ CGI
PHP
Post a PHP snippet
MySQL
Other Databases
Ruby & Ruby On Rails
ASP
ASP.NET
Java and JSP
Other server side languages/ issues
ColdFusion
Python
:: Computing & Sciences
Computer Programming
Computer/PC discussions
Geek News and Humour
Web Projects and Services Marketplace
Web Projects
Small projects (quick fixes and changes)
Medium projects (new script, new features, etc)
Large Projects (new web application, complex features etc)
Unknown sized projects (request quote)
Vacant job positions
Looking for work/ for hire
Project collaboration/ partnership
Paid work offers and requests (Now CLOSED)
Career, job, and business ideas or advice
Domains, Sites, and Designs for sale
Domains for sale
Websites for sale
Design templates and graphics for sale
:: Other forums
Forum feedback and announcements
All times are GMT +1. The time now is
11:37 AM
.
Web Hosting UK
|
Dedicated Server Hosting
|
Shareware Junction
|
Software Geek
|
Flash file uploader
|
Cloud Server
|
Web Hosting Australia
Home
-
Contact Us
-
Archives
-
Link to CF
-
Resources
-
Top
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.