39,320 Topics
| |
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'] : ""; /* * … | |
<?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"> … | |
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? | |
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 … | |
how to create a api in php mysql step by step process. kiendely help me i am new to this api process. | |
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 … | |
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 … | |
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, … | |
# 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; } | |
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 … | |
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 … | |
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 … | |
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 … | |
<?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); ?> | |
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**, … | |
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 … | |
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.. | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 | |
I have fields in a table that are being constantly updated with the current time (each second). First, the controller calls a function to create the record in the database public function saveEntry($theuser='') { $data = array( 'theuser' => $theuser , 'dateentered' => date('Y-m-d') , //date('d-m-Y H:i:s') , 'gname' => … | |
| HI I have problem with this code <?php $var = echo $this->Entity_RenderField($entity, $this->Entity_Field($entity, 'field_meni')); echo do_shortcode($var);?> error: Parse error: syntax error, unexpected 'echo' (T_ECHO) in /home/templates/test.html.php on line 86 when I do this: <?php $var = $this->Entity_RenderField($entity, $this->Entity_Field($entity, 'field_meni')); echo do_shortcode($var);?> there is no error but also no output and … |
i have project in that when the user logged in he/she has to get the messages by notifications using nodejs . suggest me with the code |
The End.