39,323 Topics

Member Avatar for
Member Avatar for sanjay@srvmedia
Member Avatar for shalu2012

I am using MYSQL and php version 5.4.16.My table structure is as given below. I want to sort the temp_id cat_id and colors based on the cat_id as given in the second table. The com_id same values should not come at once. My Table is something like this: col1 col2 …

Member Avatar for iamthwee
0
211
Member Avatar for Pravesh_1

I have a strange problem, my code is working fine on Chrome but showing blank page on both FF & IE.

Member Avatar for diafol
0
99
Member Avatar for Mohamed_26

Hello, So I managed to do the AddToCart function and stuff but I dont know how to display the cart this is the add to cart function <?php session_start(); // get the product id $DVDID = isset($_GET['DVDID']) ? $_GET['DVDID'] : ""; $name = isset($_GET['NameOfTheDVD']) ? $_GET['NameOfTheDVD'] : ""; /* * …

Member Avatar for jstfsklh211
0
503
Member Avatar for kuldeepsheoran

<?php $a=""; $b=""; $c=""; if(isset($_GET["plus"])) { $a=$_GET['eknum']; $b=$_GET['donum']; $c=$a+$b; } ?> <form action="index.php" method="GET"> <input type="text" name="eknum" value=" <?php echo "$a"; ?> " /> <br> <input type="text" name="donum" value=" <?php echo $b; ?> " /> <br> <input type="text" name="execute" value=" <?php echo $c; ?> " /> <input type="submit" value="sum" name="plus"> …

Member Avatar for pritaeas
0
2K
Member Avatar for SPRINGHEEL

Hey guys, I've been trying to get this to work. don't know how. <link rel="stylesheet" href="../js2/css/smoothness/jquery-ui-1.10.4.custom.css" type="text/css" /> <script src="js/jquery-1.9.1.js"></script> <script src="../js2/js/jquery-ui-1.10.4.custom.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#box').dialog(); }); </script> <?php echo("<div id='box'> Password changed </div>"); ?> It doesn't workk somehow, can anyone help me?

Member Avatar for JorgeM
0
367
Member Avatar for davy_yg

Hello, I wonder if it is possible to create a website with your own CMS and with a changable themes feature. I prefer using my own CMS since I have more control over it like I can edit the backend as well if neccessary rather than using ready-to-use CMS like …

Member Avatar for pritaeas
0
110
Member Avatar for hariprasad1411

how to create a api in php mysql step by step process. kiendely help me i am new to this api process.

Member Avatar for pritaeas
0
130
Member Avatar for RobotFX

So, I've found this code somewhere on the net (don't remember) and I'm trying to embed it into my site, just in case some of the visitors would need to use it. It creates short URLs (from 4 services) of a particular address. What I don't understand, and I hope …

Member Avatar for Reza_3
0
1K
Member Avatar for davy_yg

Hello, I am trying to install TinyMCE in for my text editor in CMS. [TinyMCE](http://www.tinymce.com/index.php) This is my code: input_berita_static.php <td valign="top">Isi berita</td> <td> <!-- TinyMCE --> <head><!-- CDN hosted by Cachefly --> <script src="//tinymce.cachefly.net/4.0/tinymce.min.js"></script> <script> tinymce.init({selector:'textarea'}); </script> </head> <body> <textarea cols="60" rows="10" id="news" name="news"><?php echo $news;?></textarea> </body> <!-- end …

Member Avatar for Tpojka
0
260
Member Avatar for techman41973

I have a PHPBB forum and just ran into a serious issue after my host switched me from a shared server to a VPS, and they can't figure out how to fix it for me. On all of my posts that contained inline attached pictures, the pictures no longer display, …

Member Avatar for techman41973
0
729
Member Avatar for kannan mangalar

# i get the excel values, but i dont separate the column value, how to i get the columns value. # include 'simplexlsx.class.php'; $xlsx = new SimpleXLSX('bb.xlsx'); list($num_cols, $num_rows) = $xlsx->dimension(2); foreach ($xlsx->rows(2) as $key => $r) { echo $key . "<br>" . $r; }

Member Avatar for kannan mangalar
0
620
Member Avatar for rajendher

for example i have 100 files , i want to make it 10 links per page. with previous and next links by using php ... i have some code but it is just showing the data from mysql table by using title and descripton. i want to make it links …

Member Avatar for rajendher
0
461
Member Avatar for darne_1

How does request processing works out from the perspective of a php developer? More than that I'm concerned with e.g. once request is parsed through.htaccess ,mapped to the file and respone is sent back. The mechanism of how this response gets sent back to the client is what I eagerly …

Member Avatar for darne_1
0
243
Member Avatar for masterjiraya

I have a project that must have centralization of databases that will have access to the web on a PHP script. I can merge MSSQL and MySQL databases if and only if they were both: 1.) On a same server or 2.) Of the same server type The problem is …

Member Avatar for masterjiraya
0
324
Member Avatar for MasterHacker110

I am thinking about making my own social network recently. Now I have a few questions... Q1: I have used php and asp.net before and liked them both, never really used python for web development. I am thinking about making a smallish social network but also want to expand it …

Member Avatar for masterjiraya
0
249
Member Avatar for RainaAnja

<?php include 'connectMySql.php'; $emri=$_REQUEST["emri"]; $mbiemri=$_REQUEST["mbiemri"]; $email=$_REQUEST["email"]; $data=$_REQUEST["data"]; $ora=$_REQUEST["ora"]; $nr_persona=$_REQUEST["nr_persona"]; $query="INSERT INTO rezervim(emri,mbiemri,email,data,ora,nr_persona) VALUES(' ".$emri." ',' ".$mbiemri." ',' ".$email." ',' ".$data." ',' ".$ora." ' , '".$nr_persona."')"; mysql_query($query) or die(mysql_error()); mysql_close($conn); ?>

Member Avatar for diafol
0
122
Member Avatar for Junaid_2

Hello, I want to ask some Good ideas, am doing BS hons in Computer Science and want to do my final year project, so i want to know how far i can go with php, and what will be Good for me to do, currently am doing **php with codeignitor**, …

Member Avatar for mattster
0
160
Member Avatar for chrisschristou

hello friends, first i want say i'm sorry for the title it is very strange. i have a page where a user insert data in DB table, include he's username "email" but i whant when user click to insert if he is not log in the website to show a …

Member Avatar for iamthwee
0
161
Member Avatar for Shahbaz_2

i am working on Server of my LAN. I have build a php application.. i want to make it avail over my network... My server have windows Server 2008 R2... i am using xampp..

Member Avatar for jstfsklh211
0
306
Member Avatar for mpc123

Hi I need to update a colomn with the result of colomn 1 divided colomn2 I have tried update TABLE set colomn =SUM(colomn1 / colomn2) but get [Err] 1111 - Invalid use of group function IF anyone can help please

Member Avatar for mpc123
0
131
Member Avatar for eloginko

As you can see there is a value already on the (total)textbox which i filtered on a table...and if i type a number on the (score)textboxes it will automatically add on the current value of the total(textbox). My problem is its not adding perfectly...can anyone help me please. example: http://s38.photobucket.com/user/eloginko/media/score_zps43f9daaa.jpg.html …

Member Avatar for JorgeM
0
173
Member Avatar for joshl_1995

Hello Community, I'm trying to connect to my database using PDO but for some reason it keep coming back saying "Undefined variable: db_c" db_c is the variable I've chossen for the name of my database connection. I've placed the database connection in another file, and I'm trying to connect to …

Member Avatar for cereal
0
287
Member Avatar for squeak24

I have a rather large PHP script written in PHP 5.3, but I have now moved to a new server that has 5.4. Is there away in which I can make the PHP 5.4 backward compatible. Failing that is there an easy way in which I can convert the script …

Member Avatar for squeak24
0
258
Member Avatar for toxicandy

So I am working on a system for work where certificates are automatically generated. I have this working but I want to make it better, instead of a super long case statement that centers the name of the person on the image by absolute positioning I want to make it …

Member Avatar for cereal
0
4K
Member Avatar for Tinnin

Hi all, I'm trying to use the following code to see if a method exists and then use it if it does: $method_exists = method_exists('myclass', 'mymethod'); if ($method_exists && isset(myclass::mymethod('blah')) { but I am getting the following error: Fatal error: Can't use function return value in write context I've looked …

Member Avatar for Tinnin
0
298
Member Avatar for soumyakollon1

hello, I want to know how can i build an API for the video conference. What will be the requirement for that? can we use php for that?? if yes please guide to me to do this?

Member Avatar for ssdwd
0
1K
Member Avatar for agwx2

I have a file that a friend/hacker was able to create called `'AND SELECT * FROM 'users''` The FTP command `DELE 'AND SELECT * FROM 'users''` says this: Command: DELE 'AND SELECT * FROM 'users'' Response: 553 Prohibited file name: 'AND SELECT * FROM 'users'' That means it can't delete …

Member Avatar for agwx2
0
170
Member Avatar for Tko_1

This script will add a submit button on the next line to remove that line, I have done this before but in this script i can not seem to get it to work. i know im missing something simple. Im tring to have the submit be an image and also …

Member Avatar for Tko_1
0
207
Member Avatar for ashafaaiz

Hi frns Am asha ! just looking and searching for a while how to convert php output as pdf file. I mean the localhost output of php file will be save as pdf file. If anybody knows pl help me. Thanks in advance asha

Member Avatar for agent21
0
665

The End.