-
Replied To a Post in hello world
Welcome to DaniWeb. -
Replied To a Post in Warning: mysqli_select_db() expects parameter 1 to be mysqli, string given
You are mixing MySQL and MySQLi commands. Choose one. -
Replied To a Post in Salutation
Welcome to DaniWeb. -
Replied To a Post in hello
Welcome to DaniWeb. -
Edited ABC Loans Company
ABC Bank gives loans to its customers at a monthly interest rate of 0.75%, and recipients are expected to make fixed payments every month. The bank uses the formula below … -
Replied To a Post in Solved Topics
Oh, those points. They reset daily, the title says so: "Activity Points Accumulated Today" -
Replied To a Post in Solved Topics
> you can demand or expect a pont. Reputation and upvotes are given by choice. Expecting or demanding them is not how they work. -
Replied To a Post in Model
A model is usually just the design, to help you build the actual database. After creating the database and tables you can store data in it. Is that what you … -
Gave Reputation to Isaac_4 in user login problem in regex
Your pattern matches only a single character, add a + to match one or more characters: if ( preg_match ('/^[a-z0-9]+$/', $username)) { echo $username. ' ' . $password . ' … -
Replied To a Post in suggestion on searching technique
> should i change the architecture of my database for faster reads I'd prefer a separate skills table linked to a person. Regexes are slow. Why would you not use … -
Edited variable type
Hello, What variable types should I use for phone number. I tried to put integer(20) earlier then, I cannot record : 021888888 since it saves as 21888888 If I choose … -
Replied To a Post in Solved Topics
There is still room or further discussion, or different viewpoints, even if the original question has been solved. -
Replied To a Post in Am trying to create search engine exactly like xmarks.com search
> but it is not happening What exactly is not happening? -
Edited Include file locations
I'm trying to use the Freetype libraries. The header files are in **/usr/include/freetype2** I'm using Netbeans IDE and I've addred **/usr/include/freetype2** and **/usr/include/freetype2/config** to the include directories portion in Tools>Options>C/C++. … -
Replied To a Post in BackUp Database
http://dev.mysql.com/doc/refman/5.7/en/mysqldump.html -
Replied To a Post in programe that creates,save, open file and writes user's input to a file
> Access to the path 'C:\mandis.ini' is denied. You don't have write access to `C:\` -
Replied To a Post in PDO exception
Missing `:` on line 67. -
Edited unable to receive email notification in php
Hi...tried to send email notification in php but not successful. When i check my email there is no email notification received. Below is the coding. Once the user click notify … -
Edited how can i get values in form of array??from response
hello, <?php $q=$_GET['q']; //echo $q; $con=mysqli_connect("localhost","root","",$q); if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $abc=mysqli_query($con,"use $q") or die('cannot show tables'); $result=mysqli_query($con,"show tables"); echo "<select id='abc'>"; … -
Edited mysql outfile not working
hello; i have taken shared hosting plan ..my sql query on phpmyadmin is SELECT 'EMAIL','first','last' UNION select email,first,last from e where skills regexp "javapl" and deposit>=bid INTO OUTFILE '/home/user/etc/csvfiles/1412231915.csv' FIELDS … -
Replied To a Post in I need help
What scripting language are you using? -
Replied To a Post in show/hide 2nd dropdown jquery multiselect
Use `GetSelects`. If it returns 1 (or 0 depending on what you put in it) show, else hide. -
Replied To a Post in Zomato clone
$19 apparently ;) http://b-scripts.com/en/13-restaurant-rating-and-review-script.html -
Replied To a Post in show a confirmation box before deleting a row of the table
Use the `onclick` of the `a` tag to popup a dialog. If it returns false processing stops. If it returns true your delete script will be called. -
Replied To a Post in remove div tag in blogger
I think you can use `window.location` and check if `.com` is at the end of the url. -
Replied To a Post in User logs
If that is what they want, you can choose to log to file, or to database. For file logging [log4php](http://logging.apache.org/log4php/) might be interesting (it can log to multiple destinations if … -
Replied To a Post in Killed by 'undefined'
Not sure. If I put your code in jsFiddle, it runs as expected. -
Replied To a Post in User logs
Not sure what _they_ mean, but it's usually an audit trail so when something suspicious happens it can be traced who did what and when. -
Replied To a Post in minimum & maximum value
What is the problem (or your expectation)? My guess is you want to initialize maxValue and minValue the other way around. -
Replied To a Post in Fatal error : Integrity constraint violation
> column 'event_id' cannot be null The error says it is. Check the $_POST array. -
Replied To a Post in Fatal error : Integrity constraint violation
Check your generated HTML for the dropdown. It says you are trying to insert an event without an ID. Probably, one of the options does not have a value. If … -
Replied To a Post in How to redirect and return back to same page after a download
> Is there any solution for this requirement. No, but perhaps you can start the download in a new window. When the download is complete the window will close and … -
Replied To a Post in cds &dvd bar codes
A barcode scanner (keyboard wedge)? For example: http://www.barcodesinc.com/cats/barcode-scanners/ps2.htm -
Replied To a Post in Login authentication
> You should implement a web application that supports multiple external authentication services, e.g. Google, Facebook and Twitter. Each of them have an API and PHP clients you can use. … -
Replied To a Post in Cant get the export by date to work
Working with a date column is much easier than a date stored as a varchar. If you can change it, it would be a plus. -
Replied To a Post in Cant get the export by date to work
In the export I can see the date as `10/07/2014`. My guess is that this is causing the issue. Try: DATE_FORMAT(NOW(),'%d/%m/%Y') -
Edited Show dropdown based on checkbox
Hi how do I use jQuery to show a Jquery mutliselect based on a checkbox option, here is my codes //html <input type="checkbox" value= "checkbox1" name="checkbox1"> <select id="dropdown" name="dropdown" multiple="multiple"> … -
Replied To a Post in Cant get the export by date to work
This should be alright, even if the dates are strings. If you give me an sql dump with the table structure and some data (text file, not image), then I'll … -
Replied To a Post in Cant get the export by date to work
`DATE_FORMAT` returns a string, and `BETWEEN` doesn't work on strings AFAIK. Have you tried using `>` and `<` instead? -
Replied To a Post in Cant get the export by date to work
The file (or part) you posted earlier only showed `mysql_query()` and not `mysql_connect()` -
Replied To a Post in Cant get the export by date to work
Ok, you are posting the form to it. The easiest way is to connect and execute the query again in `export.php`, just as you do in the other file. -
Replied To a Post in Cant get the export by date to work
How are you calling `export.php`? -
Replied To a Post in Cant get the export by date to work
> i have come to find out that you cannot call this function twice on TECHNICALLY the same page. How in the world do i get around this? Copy the … -
Replied To a Post in Cant get the export by date to work
Above you have this: $sql = "SELECT * FROM $table WHERE STR_TO_DATE('date','%Y-%m-%d') BETWEEN '".$b."' AND '".$e."'"; $result = mysql_query($sql,$con); Turn the second line into: $result = mysql_query($sql, $con) or die($sql … -
Replied To a Post in Cant get the export by date to work
Show your table structure. -
Replied To a Post in Cant get the export by date to work
Isnt is stored as a date perhaps? And not a varchar. -
Replied To a Post in Cant get the export by date to work
What format is in date? -
Replied To a Post in Cant get the export by date to work
`'date'` is not a valid date string. If you mean date as a column use backticks instead if single quotes. -
Replied To a Post in contents of website
That's almost impossible to achieve. Anything that is online can be copied by anyone. -
Edited contents of website
how can we protect the contents of a website(image , text) so that it can't be stolen(copyright)
The End.