-
Edited need information for bulk sms service
Hi Guys, I want to start a new business in india, Which is a Bulk Sms Service, I visited many comapnies in personal, some of they are already reseller and … -
Edited Code and software documentation
Hi all, I would like to learn on the best practices in code nad software documentation. Also would be great to learn about tools if any for this purpose. Thanks … -
Replied To a Post in Code and software documentation
Code documentation: http://www.cc2e.com/Default.aspx A must-read IMO. -
Edited .htaccess problem
I cant find solution for this problem so i hope someone of u can help When i set seo settings** Use URL rewriting = yes** in Joomla than my site … -
Edited Master Master synchroniztion get halt.
Hello all, My master master synchronization working properly but from yesterday after 4pm my sinking get stopped. My uplink working properly but downlink not working.I failed to found any issues. … -
Edited What are interfaces used for?
What are interfaces main purposes and what features do they offer to give us a solid reason to use them? -
Replied To a Post in What are interfaces used for?
Continued here: http://www.daniweb.com/software-development/csharp/threads/483172/what-are-interfaces-used-for -
Replied To a Post in Get Related Product by Title
How would you tell the query what is related? -
Replied To a Post in case sensitivity issue with password login
> you should never store passwords as plain text If you change the collation of the password column, you can set it to case sensitive. A collation ending in _ci … -
Replied To a Post in Hello from New Zealand.
Welcome to DaniWeb. -
Replied To a Post in how to get web projets in php
Can you be more specific? -
Replied To a Post in mysqli_select_db() expects parameter 1 to be mysqli, string given in C:\wa
Apart from your error, you are mixing mysql and mysqli functions. Don't do that. -
Replied To a Post in Greetings Watson!
Welcome to DaniWeb. -
Replied To a Post in php thumbnail script wont show watermark image and text
If you type the URL in the address bar directly, what do you see? Do you have errors enabled? -
Replied To a Post in php thumbnail script wont show watermark image and text
Is the watermark image available and path correct? Do you have GD enabled? -
Replied To a Post in not redirecting to login page
You don't need the `if` in your logout, as it's always true. In login, remove lines 6-8. That is causing a redirect loop. -
Replied To a Post in unable to insert into db table
Missing colons on ilne 160. If you add error checking, you'd get a more informative message to work with. -
Edited Undelivered Mail Returned to Sender
when i send email below address i got this message.(several time) 1)Delivery to the following recipient failed permanently: northstate@bigpond.com Technical details of permanent failure: Google tried to deliver your message, … -
Replied To a Post in Undelivered Mail Returned to Sender
It says andrew@aztecblades.com doesn't exists, send to the right address. -
Replied To a Post in why error when i used php with dropdown in table
What is the exact error message you get? -
Replied To a Post in $_Session['roleID'] not working?
Replace `$pdo` with `$db` -
Replied To a Post in $_Session['roleID'] not working?
If you replace echo $recordObj->mycolumn; with echo $recordObj->roleID; do you see a value? -
Edited Using webservice
Hi, I use SOAP like webservice. It's work nice. Now I want to get pdf file from server. I receive a array ('filename'=>'test.pdf', 'mimetype'=>'pdf/file', 'content'=>'dhjhfjskjfhksjfhsjfhsfhsdfjhsfj') How can I read and … -
Replied To a Post in $_Session['roleID'] not working?
Start with this one first: http://www.daniweb.com/web-development/php/code/435142/using-phppdo-with-error-checking I assume you didn't check page 2. -
Replied To a Post in How do I auto-populate form fields with data in a MySQL table?
Ah. You didn't copy everything the first time... Anyway, should the query fail, then no error is triggered, it just returns false. So, start with checking that `false` is actually … -
Replied To a Post in $_Session['roleID'] not working?
> doesnt my config.php the one to handle connecting to database? Yes it does, but I couldn't see that. The problem is that your config.php instantiates a PDO connection, so … -
Replied To a Post in $_Session['roleID'] not working?
You didn't even connect to the database. I recommend you take the MySQLi or PDO example, NOT the deprecated MySQL one... -
Edited senior of HS
I've laughed, I've cried, I've torn out my hair, but yes! I have made finally to my senior year. I want to know what your senior year was like? -
Replied To a Post in $_Session['roleID'] not working?
http://www.daniweb.com/web-development/php/code/_/17 I wrote some snippets using PDO and/or MySQLi (on page 1 and 2). Use one of those. -
Replied To a Post in How do I auto-populate form fields with data in a MySQL table?
If that is all there is, then it will never work. The query is never executed. -
Replied To a Post in $_Session['roleID'] not working?
> thats impossible roleid in blog_members table has a value That it exists in your table, does not automatically mean it exists in your session. Do you have code to … -
Replied To a Post in $_Session['roleID'] not working?
> Notice: Undefined index: roleID That means that the `$_SESSION['roleID']` never got a value. -
Replied To a Post in How do I auto-populate form fields with data in a MySQL table?
No, not that, the actual code behind `query()` -
Replied To a Post in How do I auto-populate form fields with data in a MySQL table?
Show the code for your `query()` function. -
Replied To a Post in $_Session['roleID'] not working?
Line 4 uses a single quoted string., You cannot put a variable in it, use a double quoted string: $roleID = ("SELECT roleID from blog_members where roleID={$_SESSION['roleID']}"); Next problem is … -
Replied To a Post in jQuery post not working
Let the script output `print_r($_POST);` so you can see what it contains. -
Replied To a Post in jQuery post not working
Since you post with jQuery instead of the submit button click, `isset($_POST['submitset'])` will always be false because it is not included in your post data. -
Replied To a Post in $_Session['roleID'] not working?
> did I use the right method to retrieve roleID from my database? Show the code you have for that. -
Replied To a Post in hide print button on print review after print command using java script
You need to be more specific. -
Replied To a Post in How do I auto-populate form fields with data in a MySQL table?
Output `print_r($_GET);` and post the result here. -
Replied To a Post in How do I auto-populate form fields with data in a MySQL table?
See line 141 in your question's code... -
Replied To a Post in How do I auto-populate form fields with data in a MySQL table?
> The following is how I queried the database How is the selected user's id attached to your query? Shouldn't that be a parameter in your query method? Is the … -
Replied To a Post in Allowing Duplicate value
Replace line 5 with a `Response.Write` for example. The `SqlException.Number` property has code 2601 when a duplicate key error is triggered. -
Replied To a Post in How do I auto-populate form fields with data in a MySQL table?
There's always the old debugging style, where you put echo's all over your script to monitor flow and variables. -
Replied To a Post in Hello From Macedonia!
Welcome to DaniWeb. -
Replied To a Post in How do I auto-populate form fields with data in a MySQL table?
> Any idea how to fix the issue? Debug. See where your code gets, and where it does not. -
Replied To a Post in How do I auto-populate form fields with data in a MySQL table?
Check if: $getuser = query("SELECT * FROM users WHERE id = '$id'"); is throwing an error, and `$id` has a proper value. -
Replied To a Post in How do I auto-populate form fields with data in a MySQL table?
> but it's not working What exactly is not working? -
Replied To a Post in Greetings from italy
Welcome to DaniWeb. -
Edited VBA interrupts Word document
Hi, I would like to know if anybody can tell me what, if any, functions exist to allow a VBA macro to recognize when somebody is entering text in a …
The End.