39,316 Topics

Member Avatar for
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
726
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
458
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
242
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
303
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
130
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
169
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
662
Member Avatar for game4tress

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' => …

Member Avatar for Tpojka
0
299
Member Avatar for mehnihma

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 …

Member Avatar for mehnihma
0
338
Member Avatar for mohan@nano

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

Member Avatar for jstfsklh211
0
122
Member Avatar for rpv_sen

Hi Friends I am working on Payment integration. Can any one help me, how to integrate HDFC payment gateway in php.

Member Avatar for pritaeas
0
598
Member Avatar for joshl_1995

Hello Community, I was wanting to make a bbcode system using regex but the one I'm having a problem with is the list (<ol> and <ul>) but for some reason it isn't working this is the code I'm using: <?php function convertBBCode($input) { $bbCode = array( "/\[b\](.*?)\[\/b\]/", "/\[u\](.*?)\[\/u\]/", "/\[i\](.*?)\[\/i\]/", "/\[s\](.*?)\[\/s\]/", …

Member Avatar for pritaeas
0
320
Member Avatar for RainaAnja

i have a problem,i log in even though im not registered in database, please help me urgent!!!!!!!!!!!!

Member Avatar for mohan@nano
0
171
Member Avatar for mcronline

I'm having a weird situation here. I'm trying create a PDO object, like this: `$dbh = new PDO('mysql:host='.$hostname.';dbname='.$dbname,$username, $password);` I have rewriting ON in my .htaccess file. when I try to run the script using a URL that will trigger a rewrite rule, it shows me the following error: `Fatal …

Member Avatar for Tpojka
0
207

The End.