-
Edited Add the value taken from the user to my range for ActiveX ComboBox
Hi everyone, I defined * a ActiveX ComboBox named "cmbPeymankar", * a Text Box (ActiveX control) called "txtNewPeymankar". * a Command Button (ActiveX control) called "Add". I have a table … -
Edited Add the value taken from the user to my range for ActiveX ComboBox
Hi everyone, I defined * a ActiveX ComboBox named "cmbPeymankar", * a Text Box (ActiveX control) called "txtNewPeymankar". * a Command Button (ActiveX control) called "Add". I have a table … -
Replied To a Post in Executing a button in PHP
I get that, and the changes I recommended for you should be doing that. If it's not working, I recommend adding debug echo statements. -
Replied To a Post in Executing a button in PHP
Oh the button you're referring to is for when the action is delete_product? This *should* be correct (the way you have it already): <td><form action="index.php" method="post"> <input type="hidden" name="action" value="delete_product"> … -
Replied To a Post in Executing a button in PHP
So let me get this straight ... when you hit the button for the add_product form, you would expect it to redirect to index.php and then, on line 6, retrieve … -
Replied To a Post in Executing a button in PHP
Also, keep in mind, the code I typed out the other day was just typed here on DaniWeb in the reply textbox. I never checked it for errors. -
Replied To a Post in Executing a button in PHP
Sometimes you get a blank page when there's a fatal PHP error (syntax error, parse error, etc. Add this to the very top of index.php and it should spit out … -
Replied To a Post in Fantastic word game
Tomorrow is just around the corner! -
Replied To a Post in Fantastic word game
Things really need to shape up or ship out around here! -
Began Watching Fantastic word game
OK -- You take the LAST word of the sentence and make a new sentence. EX: A man lived by the water. The Result: [b]Water[/b] the grass. -
Replied To a Post in Last time this came up about Python, I upset people. Here I am again!
That’s not trolling. There are no such thing as good-natured trolls. Apparently you disagree with the Miriam-Webster dictionary. Sigh. -
Replied To a Post in hi, I'm making some new pals here. hope am welcomed
Hello and welcome! Thank you for signing up! -
Began Watching hi, I'm making some new pals here. hope am welcomed
I'm James, and I'd like to introduce myself. I hope everyone is doing well. I joined this community in the hopes of making some new friends with whom I can … -
Replied To a Post in PHP CODEIGNITER Referral System
Sorry, there's not enough information here for me to really understand what you're asking? What do you mean by a referral system? What does the referral system do? What would … -
Began Watching PHP CODEIGNITER Referral System
can someone suggest me how to build referral system with code referral and bonus table mysql -
Replied To a Post in Notification codeigniter 4 websocket
Unfortunately I don't, but I do use long polling with Codeigniter 3 to provide live chat. May I ask why you want to use websockets? Did you ever figure this … -
Began Watching Notification codeigniter 4 websocket
Hello, does anyone here know how to make notifications with websocket + codeigniter4 / php? Example: will display the total of all users who registered today -
Replied To a Post in Regenerate token csrf codeigniter 4/3
My apologies for just seeing this right now! I know this topic is a few months old, and you've probably already figured it out ... but I can't help myself. … -
Began Watching Regenerate token csrf codeigniter 4/3
Hii are someone know the best ways to regenerate csrf token on ajax form submit -
Replied To a Post in raw_urlencode() Questions
> In conclusion, check if the user entered a valid URL. If they didn't, prompt them to try again. Don't accept any invalid URLs into your database. This way your … -
Replied To a Post in raw_urlencode() Questions
Firstly, you're completely going down a horrible rabbit hole trying to transform potentially-malformed URLs that a user enters into valid URLs. Basically what you're trying to do is if you … -
Replied To a Post in raw_urlencode() Questions
> Now since I do not know what their url formats (url structures. eg. which part of url is path, which is query string, etc.) would be I can't know … -
Replied To a Post in raw_urlencode() Questions
As I mentioned [in this post](https://www.daniweb.com/programming/web-development/threads/538477/is-htmlspecialchars-necessary-here#post2287282) the purpose of using htmlspecialchars(), urlencode(), and rawurlencode() is to make it easier for you to make your HTML code valid, and make your … -
Began Watching raw_urlencode() Questions
Hello, You use raw_urlencode() on the file path. Does that mean you have to exclude the domain name part ? <?php echo '<a href="http://example.com/'. rawurlencode('Sales and Marketing'). '/search?'. 'query='.urlencode('Monthly Report'). … -
Replied To a Post in How Is This An INT ?
Sorry for the confusion. In my example when I had: $expected_integer = $_REQUEST['integer']; it was because I was talking about the URL: page.php?integer=foo The 'term' integer has no special meaning … -
Replied To a Post in How Is This An INT ?
The $_REQUEST[] array fetches parts of the URL query string. $_REQUEST['integer'] would be null, but $_REQUEST['tbl'] would give you links, $_REQUEST['bool'] would give you null, $_REQUEST['col_1'] would give you domain, … -
Replied To a Post in Which Pagination Section Code Is Correct Using http_build_query() ?
Is this a duplicate of your question over at https://www.daniweb.com/programming/web-development/threads/538477/is-htmlspecialchars-necessary-here? -
Began Watching Which Pagination Section Code Is Correct Using http_build_query() ?
Hello, I know the safest way to write a pagination section with php is to use the http_build_query(). Like so: $i = 0; while($i<$total_pages) { $i++; if($_GET['bool']=='null') { //Page Format: … -
Replied To a Post in Why Has This Become 1 INT ? And Why Has That Become 0 INT ?
I'm sorry, I'm not understanding your question. Whenever `$c` is a string, regardless of if the value of that string is `bool` or `string`, if you do `settype($c, 'integer');` then … -
Began Watching Why Has This Become 1 INT ? And Why Has That Become 0 INT ?
Hello, $c = 'bool'; // boolean settype($c, "integer"); // $c is now integer (1) echo $c; Why has $c become the int of 1 and not any other number ? … -
Replied To a Post in When Would You use These Echo Types ?
The main use cases for `var_dump()` and `var_export()` would be for debugging purposes or logging errors. When debugging your code, you might want to be able to spit out the … -
Began Watching When Would You use These Echo Types ?
Hello, I have come across these echo types before: echo print_r printf var_dump But now come across: var_export. https://www.w3schools.com/php/phptryit.asp?filename=tryphp_func_var_var_export $a = 32; echo var_export($a) . "<br>"; $b = "Hello world!"; … -
Replied To a Post in Is htmlspecialchars() Necessary Here ?
> Dani, If my code will not prevent XSS attack then can you fix it without using http_build_query bcos I know how to use that one. Sorry if I was … -
Replied To a Post in How Is This An INT ?
`intval()` is used when you want to convert a variable, no matter what type of variable it is, to an integer. It can be useful if you are expecting the … -
Began Watching How Is This An INT ?
Hello, Was reading this tutorial on the INTVAL(): https://www.w3schools.com/php/phptryit.asp?filename=tryphp_func_var_intval How is this an INT ? $e = array("red", "green", "blue"); echo intval($e) . "<br>"; And, when to use int() function … -
Replied To a Post in Is htmlspecialchars() Necessary Here ?
The URLs that you linked to for the two page formats are located at https://localhost/, which means that only you have access to them, since they're being served locally from … -
Began Watching Is htmlspecialchars() Necessary Here ?
Hello, One of the following code got htmlspecialchars. Which code is correct out of the two ? Both codes build pagination section. Need to add security so users cannot sql … -
Replied To a Post in How to write a program whose input various information of the companies
What would you use for the database server, Jim? -
Replied To a Post in How to write a program whose input various information of the companies
I think Microsoft Access (or pretty much any database software) would suit your needs here as far as just a simple method to create records with these four field types. … -
Began Watching How to write a program whose input various information of the companies
Hi, I want to write a program whose input is the names of the companies and when adding the name of each company, it will take various information from that … -
Replied To a Post in Hi everyone, I'm alex_161
Hi Alex! Welcome to DaniWeb :) -
Began Watching Hi everyone, I'm alex_161
Loves to hear about travel -
Replied To a Post in How to make a good backlink
I think that guest blog posting will become an inefficient backlink strategy once the Helpful Content algorithm update goes live this week. -
Began Watching How to make a good backlink
Guys, are there any good recommendations? -
Replied To a Post in eBay Bulk Listing Tool
eBay has an official list of bulk listing tools that it seems that they develop in-house available at https://www.ebay.com/sellercenter/listings/ebay-bulk-listing-tools Specifically, they have a [multiple listing tool](https://bulksell.ebay.com/ws/eBayISAPI.dll?BEAR&workspaceType=22) -
Began Watching eBay Bulk Listing Tool
How to create tool for sellers like delimiti for bulk product listings on Alibaba eBay Etsy stores. -
Replied To a Post in Search Engine Optimization Strategy
That’s especially true with the new Google Helpful Content algorithm supposedly rolling out this week. -
Replied To a Post in Hi everyone, I'm steavejames9
> And a programmer of 3D apparel is not a fashion designer either? No, that would make them a 3D modeler. Whether they are creating 3D models of a shirt, … -
Replied To a Post in Hi everyone, I'm steavejames9
> So a graphic designer who makes a graphic and puts it on a t-shirt is not a fashion designer? LOL, goodness no! A graphic designer who makes a graphic … -
Replied To a Post in Hi everyone, I'm steavejames9
> To me fashion and graphic design are same. Graphic design is an artist who makes digital artwork. Fashion designers create clothes. The OP had a failed spam attempt to …
The End.