39,326 Topics

Member Avatar for
Member Avatar for nevek

Hi I have a php application which runs on an IIS Server and I want to create/append a file on an other server or PC Can I do it if I use fopen and I create a folder on that other server or PC which I grant write access to …

Member Avatar for rubberman
0
267
Member Avatar for phphp

Sir I have follwing data var1= '5,487,256.36 ' var2= '245,868.48 ' How to get this sum with Js or with any other method. Basically I want to use it with PHP. var3= '5,733,124.84' Please

Member Avatar for HITMANOF44th
0
118
Member Avatar for TheFearful

Hey everyone, I am trying to use JQuery to help me load a page on my page so that the user does not have to refresh or move to a new page. So far, I have the code so that the next page's contents will display, but the update button …

Member Avatar for hielo
0
542
Member Avatar for toxicandy

I am trying to create a table in html/php that is dynamic sized but allows users to edit rows of the table, I have 99% of this done and the last piece is to send edited values VIA ajax to an edit page where I update to the database and …

Member Avatar for hielo
0
2K
Member Avatar for jpknoob

Hi, i recently created a bit of script to pull images from a database and display them horizontally using a scroll bar. i have now decided to try and integrate it with jquery to give it a bit of life. At first, i use the jquery plugin to use 5 …

Member Avatar for Mike_33
0
5K
Member Avatar for Ivan_10

I need to prevent this urls: index.php/test/ must be redirect to index.php index.php/test/test/ must be redirect to index.php I need this to be automatically, because i have multiple pages (index.php, team.php and etc...) Without bring the names of the pages in htaccess Important: i have this urls: index.php?page=5 (this need's …

Member Avatar for hielo
0
143
Member Avatar for hrushi9

Fulllscreen div misbehave on window resize. [Demo](https://jsfiddle.net/y2d7dbod/) **fullpage** is main container having fullscreen height & width. **section** is inner div of full height & width. When window is resized after scrolling to any div it leaves some space from top. How to make it responsive & scrolling fullscreen page? (section …

Member Avatar for ewai1
-1
700
Member Avatar for breakzzzz20

form: <form> <table> <tr> <th>Subject</th> <th>Description</th> <th>Final Grade</th> <th>Remarks</th> </tr> <!-- You can loop this one, depends on the subjects. Subject must not be encoded. Baka lalagyan ng maling subject. I just base it to your design so naging ganito. --> <tr> <td><input type="text" name="grades[][subject]" id="grades[][subject]" value="" /></td> <td><input type="text" …

Member Avatar for cereal
0
9K
Member Avatar for amith_ami

hi all, pls help... this is my code from where i can select multiple values and post... but it is not displaying the selected values in multiple dropdownlist... how can i solve this???? <?php $loc_con1 = array(1=>'ALL','Andaman and Nicobar Islands','Andhra Pradesh', 'Arunachal Pradesh','Assam', 'Bihar','Chandigarh','Chhattisgarh','Dadra and Nagar Haveli','Daman and Diu','Delhi','Goa','Gujarat','Himachal Pradesh','Jammu …

Member Avatar for rayearth_1
0
10K
Member Avatar for Aeonix

Link is: `/example.php?id=1`, no space after `1`. if (isset($_GET["id"])) { $id = $_GET["id"]; echo !is_int($_GET["id"]); // yields "1" (true) !!! } Ask me whatever you need. I check to make sure that my system didn't go crazy `!is_int(1)` yields false. So... I don't know... Maybe `$_GET` passes `"1"` instead of …

Member Avatar for cereal
0
273
Member Avatar for eno_1
Member Avatar for Aeonix

Connection is successful. No typo's were made (look below). If read it from top to bottom, some of the tests that I show you will seem stupid. Until you look at the end (still keep reading from top to bottom) and find out that it's one of the indicators. SQL …

Member Avatar for makaijohn9
0
432
Member Avatar for naithsleeray

I have a database in mysql which contains of four tables (Student, Units, Offering and Enrols_in) and i want to create an enrolment page where students can enrol in units which will be offered in each semester. Student names will be entered in the database and they will use their …

Member Avatar for Mr.M
0
2K
Member Avatar for garyrichard

Hello Everybody.. Can you suggest me PHP code to check whether a domain is available or not... Thanks in Advance

Member Avatar for Thirumani_1
0
2K
Member Avatar for MK
Member Avatar for oliprik

Hello Dani web. This is my first post here so please bear with me if its not 100% correctly setup. Anyways I'm a rookie to php and mysql and I've run into problem with my final project in my first php class. The error given is: "Warning: mysql_num_rows() expects parameter …

Member Avatar for diafol
0
3K
Member Avatar for joshmac

Hello, everyone. I need help with something, and I am hoping that someone could point me in the right direction. Since I am not sure what the technique is called, I will try to explain what I need to the best of my ability. I am trying to create a …

Member Avatar for joshmac
0
877
Member Avatar for CreatorZeus

Probably just overlooking something small but its 5:30 am here so please forgive me. $sql = "SELECT * FROM accounts WHERE username = $testuser"; $result = mysqli_query($conn, $sql); if (!$result || mysqli_num_rows($result) > 0) { // output data of each row while($row = mysqli_fetch_assoc($result)) { echo "id: " . $row["id"]. …

Member Avatar for radow
0
170
Member Avatar for FarrisFahad

I am having problems installing PayPal IPN. It returns INVALID every time I process it. Is there something wrong with my code Code: <?php $db_host = 'localhost'; $db_user = ''; $db_password = ''; $db_database = ''; // Connect and select database $connect = mysql_connect($db_host, $db_user, $db_password); $select_db = mysql_select_db($db_database); // …

Member Avatar for FarrisFahad
0
611
Member Avatar for Makara

Hello. I have a challenge in editing a joomla component. In the below picture, I want to add another functionality but I cant access the component in the admin ![problem.png](/attachments/small/4/e6fa4064f75a939a2a23cdee07da935b.png "align-left") ![problem.png](/attachments/small/4/e6fa4064f75a939a2a23cdee07da935b.png "align-left") Someone to help please

Member Avatar for cereal
0
129
Member Avatar for Abhishek_26

> i have bind 10 random post form json file in to marquee but the problem is arising , its show like list and showing as marquee works kindly check the code and the output , do some suggestion what to do . Thanks in advance <html> <head> <meta charset="UTF-8"> …

0
278
Member Avatar for baig772

I have a string like `string(8234) "<style>.{ margin-bottom:10px; float:left; display: inline-block; width:56%; text-align:left; padding-right:20px; padding-left:20px; } . > p { display: table-cell; height: 150px; vertical-align: middle; }..................</style>.................` I want to remove `<style>` tag and all its contents. I have tried $description = $product_info['description']; // the string with style tag $text …

Member Avatar for cereal
0
2K
Member Avatar for rpv_sen

Hi i am working on contact form using SMTP. I am unable to send a mail. Please help me to fix the issue. **index.html** <div id="frmContact" class="w-form"> <div id="mail-status"></div> <!-- <form action="contact.php" method="post">--> <label for="name">Name:</label> <input class="w-input" type="text" placeholder="Enter your name" id="cf_name" name="cf_name"> <label for="email"><p class="info">*</p>Email Address: <span id="cf_email-info" class="info"></span></label> …

Member Avatar for cereal
0
831
Member Avatar for showman13

Good Morning, Hopefully there is someone around this morning that can give me a quick and easy answer. Is there a relatively simple way to prevent a page from reprocessing data when someone hits the 'Refresh' button? I don't want to disable the refresh, but just prevent reprocessing and creating …

Member Avatar for showman13
0
223
Member Avatar for Seung Hwan

This is php code at https://developers.google.com/maps/articles/phpsqlajax_v3#putting-it-all-together. <?php $username="xxxx"; $password="xxx"; $database="xxx"; ?> <?php function parseToXML($htmlStr) { $xmlStr=str_replace('<','&lt;',$htmlStr); $xmlStr=str_replace('>','&gt;',$xmlStr); $xmlStr=str_replace('"','&quot;',$xmlStr); $xmlStr=str_replace("'",'&#39;',$xmlStr); $xmlStr=str_replace("&",'&amp;',$xmlStr); return $xmlStr; } // Opens a connection to a MySQL server $connection=mysql_connect ('localhost', $username, $password); if (!$connection) { die('Not connected : ' . mysql_error()); } // Set the active MySQL …

Member Avatar for jacks009
0
467
Member Avatar for RudyM

Hi All, I tried reading through this: https://www.owasp.org/index.php/Password_Storage_Cheat_Sheet . But I'd like to know if the following scenario is considered good practice for a simple login/registration system. The userlist table: create table simp ( USR VARCHAR (128), PWD varchar (512), SALT VARCHAR(512) ) I created a stored procedure to execute …

Member Avatar for RudyM
0
236
Member Avatar for toxicandy

My problem currently is that I am trying to call a function with jquery at a specific event but it is running at the wrong event. The function I want to call is: function resolvedAjax(tid){ $.ajax({type: 'post',url: 'resolveTicket.php',data: 'tid=' +tid, success: function(s){ $('#resolvedTicket').html("Resolved"); mainTable(); }}); } I am trying to …

Member Avatar for toxicandy
0
370
Member Avatar for TheFearful

Hey guys, I'm trying to reupdate a web application that I have going on right now. Originally, I had a php page connect to a database and have a dropdown menu with the list of user id's. When you select the user id, you can submit it and you will …

Member Avatar for TheFearful
0
449
Member Avatar for TheFearful

Hey guys, I am trying to figure out a few things right now. 1. Is it possible to do a nested checkbox where there is the main checkbox and then two tabbed checkboxes that are related to the main one and when the main one is checked, the other subcheckboxes …

Member Avatar for TheFearful
0
211
Member Avatar for masimies

Hi, I bought some months ago a template of site style. For learn, what is the current way of do that. It took a whole weekend, to remove bootstrap styling from my portal. And now, everything is working just fine, and with same style. CSS is including only what is …

Member Avatar for masimies
1
318

The End.