Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~20.8K People Reached
Favorite Forums
Favorite Tags
Member Avatar for seularts

I have managed to achieve this action through this: <link href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" rel="stylesheet"/> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <div class="input-group"> <input type="password" id="pass-on" title="<?php echo $user->valid_password_error; ?>" class="form-control" name="txt_upass" placeholder="Enter Password" autocomplete="off" value="" oninvalid="setCustomValidity('<?php echo $user->password_error; ?>')" oninput="setCustomValidity('')" required /> <label>Password</label> <div class="input-group-append"> <span class="password-button password-button-main" data-id="pass-on"><i class="fas fa-eye-slash"></i></span> </div> </div> <div class="form-group progress …

0
272
Member Avatar for seularts

I have a very standard code where I use a CRUD interface on my Database. The issue is that every attempt I made to redraw/update the table with the new data [ $('.table').DataTable().draw(); ] has failed miserably. Here is my targeted code: function manageData(key) { var name = $("#countryName"); var …

0
520
Member Avatar for seularts

I have 2 files: apix.php and crud.php. I am trying to convert the fetched data from php to a jason print. The issue is that the function does not the results for me to parse in the next section of my code. The CRUD.php: class crud { private $db; function …

Member Avatar for seularts
0
448
Member Avatar for seularts

I have a checkbox input switch set up over the Input text box that acts as an on/off switch for that particular field. I am also using jQuery Validator (jqueryvalidation.org) to handle the errors for empty fields. The issue is that when the error hops in, my switch is pushed …

Member Avatar for rproffitt
0
307
Member Avatar for seularts

I have a straight forward form sprinkled with a bit of jQuery, but I have a small issue. When I hit Next button it goes to the next step without popping up the small field with "you have to complete this required field". How can I force the next button …

Member Avatar for Haji Sameon
0
2K
Member Avatar for seularts

I tested over and over and it seems there is something conflicting between these 2 scripts: bootstrap toggle and jquery validator. If I remove data-toggle=" toggle" the checkbox is required for validation, otherwise it just passes regardless of being checked or not! <form id="regiration_form" action="action.php" method="post"> <h1></h1> <fieldset> <h2>Pasul 1: …

0
389
Member Avatar for Bacchus_1

I am rather new to Normalization. I understand the concept of how it organizes the tables but I fail to see how I can use the data to show up correctly in my query using pdo. I have 3 tables: employees: id | name 1 user1 2 user2 2 user3 …

Member Avatar for Web-Designer
0
1K
Member Avatar for seularts

Hi, I'm back ^_^ Ok, I almost have this cute thing working. I know I am close but I have no idea how to get this working the right way. I am Left Joining a few tables and I want to filter the results after multiple values. ...... Ex: Options …

Member Avatar for Web-Designer
0
269
Member Avatar for seularts

I want to search a combination of values from any given field that has a list of items. Example: id | nume | denumiri_job 1 | my_list | chair,apple,snake,can How can I search for 2 or more elements from the field list? For example if I input in my search …

Member Avatar for diafol
0
6K
Member Avatar for seularts

I have a little issue I can't figgure out. I can't seem to figure out how to add dots to my pagination so I don't have more pagination numbers than mysql results in the page XD . This is my code: $query = "SELECT id, ....."; $records_per_page=10; $crud->paginglink($query,$records_per_page); public function …

Member Avatar for seularts
0
1K
Member Avatar for seularts

I'm trying to find a way to output whatever BLOB files are inserted into a silly database. In my code when I query the CV column I get all sorts of weird symbols. Can you guys please help me fix my code? $crud->dataview($query); }else{ $query = "SELECT id, from_unixtime(cheie_wp) as …

Member Avatar for cereal
0
3K
Member Avatar for seularts

please help me cause I am totally lost on this one. I am trying to fetch the results from a database that has the data inserted in a weird way. The IDs are not unique, thus I have multiple values with the same ID in the ID column. I am …

Member Avatar for jkon
0
2K
Member Avatar for seularts

I am trying to make the smooth scroll effects with this basic script for this site: http://greaca9.ro/test/index.html $(function() { $('a[href*="#"]:not([href="#"])').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); if (target.length) { $('html, body').animate({ scrollTop: …

Member Avatar for panduranga_1
0
316
Member Avatar for seularts

Hi, I stumbled upon this website recently: http://archeage.xlgames.com/ and fell in love with the way they designed it, but I have no clue what css/jquery method they used to achieve this. Can anyone point me in the right direction to some sort of tutorial that will help me create a …

Member Avatar for diafol
0
106
Member Avatar for seularts

I need a bit of help to make a connection to a mysql DB with a function and then create an admin table. I got this far: [CODE] function dbconn($db_host, $db_username, $db_pass, $db_name) { /* Global research function */ global $researchDbLink; if($researchDbLink) { return $researchDbLink; } /* Connect to DB …

Member Avatar for seularts
0
98
Member Avatar for seularts

I know this is a stupid question, but how can I get the value $mail out of this function? [CODE] function Email() { $the_name = $_SESSION[$this->GetLoginSessionVar()]; $profil_query="SELECT * FROM $this->tablename WHERE username='$the_name'"; $resultate_profil=mysql_query($profil_query); $resultat=mysql_fetch_array($resultate_profil); $mail = $resultat['email']; } echo $mail; [/CODE] Thanks.

Member Avatar for seularts
0
124
Member Avatar for seularts

I need some help with this one guys. I made a small script that inputs only numbers with 4 digits. Now the trick is that I need to input only numbers higher than 0 (ranged from 1 to 9999). Easy enough, I said, if I only make this rule: $val<=0. …

Member Avatar for diafol
0
142
Member Avatar for seularts

I need some help with sizing an image in height. My page is tzr.ro, and as you can see in some browsers such as explorer and chrome the image height differs. So i have this small piece of code that i need to adjust: img { max-width : 350px; height …

Member Avatar for scottloway
0
185
Member Avatar for seularts

I stumbled on this code by accident and used it on one of my scripts, but it has a 'flaw', I can't make it include empty folders in the backup zip filer, nor make it to force download it after the creation of the zip. Any suggestions!? [code] <?php // …

Member Avatar for seularts
0
121
Member Avatar for seularts

Here is a dub question. If this code is supposed to restrict files other than jpg, png and gif, why does it do it? This is for a file browser aplication. The image has to be one of the 3 accepted file extensions. [code] $ext - is the var that …

Member Avatar for seularts
0
120
Member Avatar for seularts

Here is the code that counts all the image files from a group of folders in the binary folder. The problem is that when it counts the file, if i have 1 file in the first folder(88x31) and another one in a second folder (120x60) it will count 3 instead …

Member Avatar for rch1231
0
169
Member Avatar for seularts

Ok.. so I was trying to fix errors in respect to what the xhtml validation would have told me, except the fact that he doesnt detect my doctype. Can anyone tell me why is it doing that, here is my site: [url]http://andrei.santinela.info/[/url] Any help would be appreciated, thanks:)

Member Avatar for diafol
-1
91
Member Avatar for seularts

How can I change the chmod to 0777 through PhP for a folder with subfolders and all it's content!? Or if I set the chmod for the folder with the subfolders all the subfolders will have 0777 permission as well? Thanks :)

Member Avatar for JRM
0
156
Member Avatar for seularts

So lets say i have this url: $url = $_POST['site']; I would like to remove the [url]http://,[/url] the www. and the last "/". The trick is that the $url can be witten like this: $url = 'http://site.com/' like this: $url = 'www.site.com/' or even like this: $url = 'site.com/'. And …

Member Avatar for seularts
0
201
Member Avatar for seularts

OK this code here should include "lol_url" file: [CODE] <?php $file = 'lol_count.txt'; $data = @file($file); $data = $data[0]; if($handle = @fopen($file, 'w')){ $data = intval($data); $data++; fwrite($handle, $data); fclose($handle); } header('Location: '.include ('lol_url').''); ?> [/CODE] the "lol_url" file contains an url address, such as: http//www.example.com How can I make …

Member Avatar for EvolutionFallen
0
135
Member Avatar for seularts

How can I count unique IP clicks on a image link [B]without [/B]a MySQL db. If any tutorials are at hand could you give me a hint or something please, thanks:)

Member Avatar for sourcebits
0
82
Member Avatar for seularts

here is my little code: [code] <?php $dir1 = $filex.'/88x31'; $filecount1 = 0; $d1 = dir($dir1); while ($f1 = $d1->read()) { if(strstr( $f1, '.htm' )) continue; if(($f1!= '.') && ($f1!= '..')) { if(!is_dir($f1)) $filecount1++; } } ?> [/code] how can i add more file extensions to this code to be …

Member Avatar for diafol
0
127
Member Avatar for seularts
Member Avatar for seularts

Ok, in this code here I want to include a getimagesize in respect to the resolution. So for example if I have a 728x90 image I want it to go to abc folder that corresponds to this dimensions. Can anyone give me an idea on how to make this work!? …

Member Avatar for seularts
0
188
Member Avatar for seularts

Can anyone please help me exclude the .php files from this code? [CODE] <?php $dir = 'x'; $filecount = 0; $d = dir($dir); while ($f = $d->read()) { if(($f!= ".") && ($f!= "..")) { if(!is_dir($f)) $filecount++; } } echo 'there are ',$filecount,' files in this folder'; ?> [/CODE] I have …

Member Avatar for n_e
0
185