39,316 Topics

Member Avatar for
Member Avatar for Angle90

Can you guys help ? I have ssl perfectly working on my site until I updated my whmcs to the latest version and since then accessing the my website with https:// keep setting it back to http:// Please note this is only happening in Google Chrome and Opera. Can anyone …

Member Avatar for AndrisP
0
68
Member Avatar for durgesh1

Show body field in block programmatically in drupal I make content type testimonial and there is three field title,body and position. i would like to display this in block separately like <ul> <li>title: title here</li><li> body:body</li><li> position:position</li> </ul>

0
75
Member Avatar for erabxes

I have a form like the one below which is posted to processForm.php, and the user can dynamically add more with jquery. <input type="text" name="subject[]" /> <input type="text" name="grade[]" /> <input type="text" name="year[]" /> <input type="text" name="subject[]" /> <input type="text" name="grade[]" /> <input type="text" name="year[]" /> <input type="text" name="subject[]" /> …

Member Avatar for erabxes
0
359
Member Avatar for jakizak

Hi everyone, For a social system I am working on, I am in desperate need of being pointed in the right direction for how to create a live ajax feed which calls data from a database. Urgently needed, any help much appreciated! Cheers! Jack(Scaasiboi)

Member Avatar for dean8710
0
2K
Member Avatar for santhoshweb

HOW CREATE 5 BRANCH TREE AND HOW CALCULATE THE LEVELS IN EACH ROOT ANY ONE CAN HELP ME THANK YOU....

Member Avatar for Dani
0
72
Member Avatar for Jake.20

Greetings guys can you point to me what is the problem here? This is the code that produces the error. That is in my views: <h7 id="header-label">Welcome, {{ $fname }} |</h7> This is the controller: class ProfileController extends BaseController { public function showProfile() { $items = DB::table('item_tbl')->get(); // Auth::check(); // …

Member Avatar for pritaeas
-1
1K
Member Avatar for toxicandy

By default the page after login.php is authorize.php which just checks the information then sends it off to index.php. From index.php I cannot get to my page 'volunForm.php', it just redirects me back to the login page. This is my first ever login system and my first time using sessions. …

Member Avatar for toxicandy
0
195
Member Avatar for davy_yg

Hello, Can anyone help me troubleshoot this problem: This code suppose to work in someone else server, but when I place in my own server this code doesn't work I wonder why? I am using smtp.gmail.com and port 587. contact.php <!DOCTYPE html> <html lang="en"> <head> <!-- Basic --> <meta charset="utf-8"> …

Member Avatar for mattster
0
253
Member Avatar for scaiferw

I'm converting old MySQL code to MySQLi, and running into some questions. When selecting data from the database, is it necessary or strongly advised to use prepared statements, or can I safely escape my user-derived parameters like the sample below? In a perfect world I'd have all the time I …

Member Avatar for scaiferw
0
234
Member Avatar for ankit1122

hello, i wanna know whats the best way to show query results from mysql onto a webpage.. some says this can only be done in form of table.. but nowadays table less design is preferred..tell me teh most demanding way if somebody knows..

Member Avatar for ankit1122
0
233
Member Avatar for bradly.spicer

Hey guys, I have a Table which utilises Twitches API where the offset needs to be in increments of 25. I want to make it so everytime you click next in a table of data it reloads the query but adds +25 to the offset. Here is what I have: …

Member Avatar for bradly.spicer
0
209
Member Avatar for mokshi

Hi i need to use the below query in PHP to generate PDF but its not displaying what are all the supporting files i need to put for running the below (XML path) query in php,Its running successful in sql but when i put in php its not working can …

Member Avatar for mokshi
0
278
Member Avatar for RikTelner

http://pastebin.com/6xbfquFz It answers with: ID is: . Resulting is: 1 Redirection failed. Please redirect yourself to main website. Redirection isn't a problem. I disabled auto-redirect so that I can see error at work.

Member Avatar for veedeoo
0
181
Member Avatar for berserk

i have an issue with this new form im using based roughly on a design template that i found online, it looks great for the purposes that i need it for, but the problem is i cant seem to get the input data from the form to pass to the …

Member Avatar for berserk
0
431
Member Avatar for Nollyvenon

I'm creating a query which checks if a client made payments for a given month and if not set charges of 20% of the agreed monthly payment. this is what i currently have: SELECT DAY(paydate) AS PayDay, clientid FROM transactions,clients where transactions.clientid=client.clientid and transactions.product=invoices.product and DAY(paydate)> 10 order by client.clientid …

Member Avatar for Nollyvenon
0
110
Member Avatar for R0bb0b

I am building a selenium test suite which pulls a list of tests to run and then forks those tests to multiple parallel processes. Each process needs its own connection to the database because of two reasons: one, when the child process ends the connection is closed and two, when …

Member Avatar for veedeoo
0
274
Member Avatar for fornandakishore

Hello to all, I am working on PHP, HTML, CSS and Joomla since 6 years, but now a days in INDIA many companies are looking for the Drupal Developers, I am lacking skills in Drupal, so can any one guide me to learn Drupal and start building websites using Drupal. …

Member Avatar for jeffmarkel
0
315
Member Avatar for RonKevinT.Manuela

It seems it only executes the first line in which for example in uploading a .PNG photo it changes the format to Jpeg....I guess it has something to do with my if elseif else statement.....help :p <?php if (isset($_POST['submit'])) { $name= $_POST['name']; $album_id=$_POST['album']; $file=$_FILES['file']['name']; $file_type=$_FILES['file']['type']; $file_size=$_FILES['file']['size']; $file_tmp=$_FILES['file']['tmp_name']; $random_name=rand(); if(!empty($name) or …

Member Avatar for RonKevinT.Manuela
0
174
Member Avatar for druzzy

hello :) I am new to PHP. I was going through the example on w3schools. i managed to retrive my data and display nicely. my problem is i don't know any code that i can use to paginate the data i am displaying. Please help me . the code from …

Member Avatar for diafol
0
138
Member Avatar for 9tontruck

okay.. what I wanna do is, 1. upload an image into temp folder -- done 2. create a folder -- done 3. create an index.html in the new folder -- done 4. create thumbnail image in the new folder -- page dead without errors 5. copy(rename) the original image into …

Member Avatar for 9tontruck
0
132
Member Avatar for kakalahori

Hi i am having an issue with my website. My friend wrote the codes using codeignitor. I am a beginer just to add up . now the index page is only visible and i cannot access any other page than that. Not the admin pages as well. The live codes …

Member Avatar for kakalahori
0
229
Member Avatar for RonKevinT.Manuela

Okay so a few days ago I finished a tutorial of photo gallery...I'm having problems of putting images other than jpg format...the one who made the tutorial said that you can add formats to be uploaded but he didnt show it..here was his code in his upload.php...I tried experimenting on …

Member Avatar for mattster
0
187
Member Avatar for gampzz

image is uploading in directory and in db also but when i refresh image disappear database.php // i know i should not to use mysql but i have the it into mysqli so no big issue in this <?php //Connection $con=mysql_connect("localhost","root",""); if(!$con) echo "Failed to connect with MySQL.".mysql_error()."<br />"; //Create …

Member Avatar for mattster
0
941
Member Avatar for davy_yg

Hello, I am trying to create a table with a checkbox for each row to delete the row that checked. Then after the user press the delete button the row that is checked must be deleted. This is the code that I have so far, but I do not think …

Member Avatar for mattster
0
259
Member Avatar for rani_4

In a query say i have a image path that have multiple images stored as path=http://localhost/images/xyz.When i run the code: <?php //Retrieves data from MySQL mysql_connect("localhost", "root", "") or die ("Could not save image name Error: " . mysql_error()); mysql_select_db("dawat") or die("Could not select database"); $data = mysql_query("SELECT 'images_path' FROM …

Member Avatar for rani_4
0
559
Member Avatar for RikTelner

`while ($row = mysql_fetch_array($result))` Is nice command which iterates through every line, if `$result` is a MySQL query. It iterates every single line, one by one. See, I've got situation like: <tr> <td>Source 1</td> </tr> <tr> <td>Source 2</td> </tr> And it is kind of part of design, I can't really …

Member Avatar for RikTelner
0
165
Member Avatar for VShaw12

Hi i take a project of my client said that you have to develope this project by using Code Igniter and Yii.. I don't Know what are these .. please tell me some thing about these but in simple ..

Member Avatar for mattster
-5
235
Member Avatar for mcdczzz

how can i count or merge same data from the database? here is my code but this wont work..help please.. <?php $result = mysql_query("SELECT category FROM inventory"); while($row = mysql_fetch_array($result)){ $cat_array = array($row['category']); foreach ($cat_array as $value){ if ($value<=1){ echo $value . "</br>"; }else{} } } ?> and my output …

Member Avatar for mcdczzz
0
150
Member Avatar for radostin.angelov.370

So I looked into other threads but didnt find a solution that worked for me. Here is my problem: the first page is supposed to get information from a form, look for it in a database, store it in a variable $_SESSION['$dataArray'] and send it to the second page. http://codepad.org/VhblM76K …

Member Avatar for mattster
0
315
Member Avatar for bolfescu

Hy how can insert in this echo function, return confirm ? echo "<input type='submit' name='submit' id='submit' class='btn btn-primary' value=Cancella onclick=window.location='delete_article.php?id=".$row['id']."'; /></p>"; i've already have onclick....

Member Avatar for mattster
0
798

The End.