-
Replied To a Post in Pass value with $_GET using javascript
Hi, do: print_r($_GET); inside allSearches.php and see what you get. //Edit Oh, wait, I'm not sure I have understood your request. You want to perform an AJAX request with the … -
Began Watching Pass value with $_GET using javascript
Hello i made a search box and i want to make a link what will pass the search word that the user put in the search box. e.g. http://localhost/myproject/allSearches.php?searchword=aa **aa** … -
Replied To a Post in Read / Answer / Ask
Between *Ask* and *Discussion* I prefer *Submit* as it fits both. -
Began Watching Read / Answer / Ask
In light of the discussions going on lately about being a discussion community, what do you think about rewording the Read / Answer / Ask in the navigation menu to … -
Replied To a Post in Populate php curl array from submitted json array
If 2.3 in `$entry['2.3']` represents the index key sent by the POST request, and so it is the name of an input field: <input type="text" name="2.3"> then PHP will translate … -
Replied To a Post in Registration form
Hi, the regular expression used to validate first and last name can fail if there are special characters or a dot, like in `Björk` or `Aldous L. Huxley`, see: * … -
Began Watching Registration form
hi I am a newbie in PHP and is validating a form in PHP. I have an issue in this validation. The issue is that form validation is not working … -
Replied To a Post in Populate php curl array from submitted json array
Okay, maybe you want to do this inside your javascript: var data = {'data' : JSON.stringify( _data )}; ... $.post( _handler, data ); Like this in the PHP side you … -
Replied To a Post in Populate php curl array from submitted json array
> I have a form that creats a json array from user input data. > I need to send that to a php curl file so that it can be … -
Began Watching Populate php curl array from submitted json array
I have a form that creats a json array from user input data. Array ( [full_name] => First Name + Last Name [company_name] => Company Name [email] => Email [free_trial] … -
Gave Reputation to Dani in Fullscreen editor
Fullscreen mode now has the editor toolbar, including a button to get back for badly behaved browsers. -
Replied To a Post in $_SESSION() issue
If the query does not return a result set, then the loop will not assign any value to $_SESSION and the print statement will show the previous value associated with … -
Began Watching $_SESSION() issue
Sir I am using these codes on login.php session_start(); $query="select * from w_log where email ='".$muser."' and pass='".$mypass."'"; $result=sqlsrv_query($con,$query)or die ("Error". sqlsrv_errors($con)) ; while($res = sqlsrv_fetch_array($result)) { $_SESSION['id']=($res['id']); $_SESSION['sno']=($res['usno']); $_SESSION['user']=($res['name']); … -
Replied To a Post in CGI Re-direct Question Best Practice
Hello koneill, > What happens is that even though the information page has checks that data is filled in - the checkout file if a search crawl hits the page … -
Began Watching CGI Re-direct Question Best Practice
All, I'm looking for the best practice in regard to a CGI shopping cart - I am working on. What happens is that I have a checkout file that sends … -
Replied To a Post in Data in Drop Down List Retrieve From DB in Codeigniter
**@Prasanna_5** Hello, please open a new thread and search also the forum, this thread could help you: * https://www.daniweb.com/programming/web-development/threads/506840/autocomplete -
Began Watching Data in Drop Down List Retrieve From DB in Codeigniter
In creating dropdown in my project encounters problems(errors). I'm very new to codeigniter. Please check and advise what is wrong with with my code? **Model** Public function get_region() { $return … -
Replied To a Post in Phone Support Scamming
About the pains of the "unsubscribe": http://www.ted.com/talks/james_veitch_the_agony_of_trying_to_unsubscribe -
Began Watching Phone Support Scamming
I got a call from recently from someone claiming to be a Dell tech rep. He said my laptop was reporting multiple errors. Realizing immediately that this was a scam … -
Gave Reputation to diafol in Fetch the data from Other website
C'mon experts! What's keeping you? -
Gave Reputation to Dani in MySQL FOUND_ROWS()
Jim, I think that cereal is just demonstrating a simple example to show that found_rows() isn't working for him, and his actual use case isn't as simplistic as in the … -
Gave Reputation to Reverend Jim in MySQL FOUND_ROWS()
If you are only interested in the number of rows of something then do SELECT COUNT(*) FROM test [WHERE...] Doing SELECT SQL_CALC_FOUND_ROWS * FROM `test` is a waste. In the … -
Marked Solved Status for MySQL FOUND_ROWS()
Hello, so, I'm playing a bit with **MariaDB 10.0.29** and I cannot understand why `FOUND_ROWS()` keeps returning the `1` whatever happens to the latest select query. Here's my test: > … -
Replied To a Post in MySQL FOUND_ROWS()
Just tested on two others Ubuntu 16.04: 32 and 64 bit, and it works fine with the same database version. So it may be my specific box. Thank you for … -
Replied To a Post in MySQL FOUND_ROWS()
No, it is the latest stable version available on Ubuntu 16.04. I will try to download it from MySQL and see if it makes some difference. -
Replied To a Post in MySQL FOUND_ROWS()
Thank you Jim! Yes, that works fine and also counting the resulting array works fine. The original query is not like in the above example: I was using FOUND_ROWS() in … -
Created MySQL FOUND_ROWS()
Hello, so, I'm playing a bit with **MariaDB 10.0.29** and I cannot understand why `FOUND_ROWS()` keeps returning the `1` whatever happens to the latest select query. Here's my test: > … -
Began Watching MySQL FOUND_ROWS()
Hello, so, I'm playing a bit with **MariaDB 10.0.29** and I cannot understand why `FOUND_ROWS()` keeps returning the `1` whatever happens to the latest select query. Here's my test: > … -
Replied To a Post in Got a problem checking a files filesize();
Hi, use `r+` to read and write from the top or `a+` in case you want to append data: $fopen = fopen($filename, 'r+'); With the `w+` flag the file is … -
Began Watching Got a problem checking a files filesize();
Hi, I wrote some code below, at the moment i'm testing so there's no database queries in the code but before i do that i'm hoping someone can help. The … -
Replied To a Post in Rugby 6N 2017
Indeed it was a great game! Let's see what will do Scotland now. -
Began Watching Rugby 6N 2017
Well here goes - another year and a wide open championship. England must start as favourites now that Ireland faltered against Scotland. France will be kicking themselves as they narrowly … -
Replied To a Post in Codeigniter load view file after insertion using jquery post
Hi, codeIgniter can log errors. If enabled set it to max verbosity (through application/config/config.php) and see if it gives you some additional information. -
Began Watching Insert only if it doesn't exist
How can I do a bulk insert of rows but only if specific combinations of columns don't already exist? Those columns are not unique to the table. (Otherwise I could … -
Replied To a Post in Why does Google offer free fonts to use online?
That would be a big concern for sure. -
Replied To a Post in Can you tell me something about googlebot?
Another random fact: sometimes in logs you see Google's bot user agent but it's just another crawler trying to avoid filters. -
Replied To a Post in Php file format
Localhost? It seems a ramsonware, a virus that encrypts data and ask money to return the files back. If you are using Windows that's probably in your system, so it … -
Replied To a Post in Rugby 6N 2017
Italy? :D They need to improve a lot, but here we felt the change in their approach, hope to see some great games this year! -
Replied To a Post in What is wrong with this code
Dunno, add an error check and see what you get: if( ! $result2) print sprintf('Error (%s) %s', $conn->errno, $conn->error); Note - on lines 22/23 you are accessing mysqli through procedural … -
Replied To a Post in Check with PHP if custom post type field is empty
Great! I wrote the example basing on: > get_field returns false if (value == “” || value == null || value == false) so I supposed it was returning boolean … -
Replied To a Post in What is wrong with this code
This line will raise an error and kill the execution: trigger_error('Wrong SQL: ' . $sql . ' Error: ' . $conn->error, E_USER_ERROR); If you want to use it, then you … -
Replied To a Post in Check with PHP if custom post type field is empty
Hi! You could try with: $url = get_field('url'); if(FALSE === $url) { # code for empty value } else { # code for assigned value } See: https://www.advancedcustomfields.com/resources/code-examples/#using-conditional%20statements -
Gave Reputation to Stefce in Phone Support Scamming
> I've also been getting a lot of sex spam. I wonder if someone got my email address off a database somewhere ^_^ Hey here you can check it out … -
Replied To a Post in Phone Support Scamming
> I've also been getting a lot of sex spam. I wonder if someone got my email address off a database somewhere ^_^ Me too and they try to add … -
Gave Reputation to diafol in Library management system
You don't mention what the problem is. Here: header("Locaiton: issuedbook_form.php"); Won't work due to `Locaiton` should be `Location` Also include an `exit;` after a redirect like that. SQL Injection alert: … -
Gave Reputation to Dani in Just fix it
I was being facetious in my previous post. -
Gave Reputation to Reverend Jim in Just fix it
I'd brace myself if I were you. -
Replied To a Post in Just fix it
Except it is the ending of a PHP function. -
Created Just fix it
I was asked to fix few bugs, looking at the code, this is what I saw at the end, 600 lines later: } } } } } } } } … -
Replied To a Post in How to combine product API feeds from different e-commerce websites to a we
You're welcome. I'm not really into OpenCart, but reading the documentation, it seems you need to develop a Product Feed with a model, so you can define your database schema …
The End.