39,320 Topics

Member Avatar for
Member Avatar for amit.chaudhari.71

dear friend i want to insert a row in orecal which is insert into employee ('AMIT D'SOZA', 'MANAGER','500') thorugth php but there is problem to insert data like 'AMIT D'SOZA' so i want to restrict "'" (singal quets ) to enter in text fields plz help me if you have …

Member Avatar for rtrethewey
0
160
Member Avatar for burt.munn

I need some help with this project. I've gone as far as I can go, with no results, The inquiry form works, but I need to populate it with my sql table. I could only screen shot my sql and I have no idea of how to put it on …

Member Avatar for burt.munn
0
236
Member Avatar for gogs85

How to upload image to database and move into image folder this is my function for other rows: <?php function add_post($title, $contents, $category) { $title = mysql_real_escape_string($title); $contents = mysql_real_escape_string($contents); $category = (int) $category; //var_dump($category); mysql_query("INSERT INTO `posts` SET `cat_id` = '{$category}', `title` = '{$title}', `image` = '{$image}', `contents` = …

Member Avatar for gogs85
0
303
Member Avatar for CarterLangley

Hi guys, Got a problem uploading an image to a directory and then including that directory location into the database so that I can display the image. Here is the code I have so far. <div id="main_right"> <?php if ($picture) { ?> <img src="<?php echo "../images/teacher_photo/" . $picture ?>" alt="<?php …

Member Avatar for pritaeas
0
239
Member Avatar for malatamil

dynamic title,meta keywords and description.. manually i created one page in that i add some title,keywords and descriptions based on category(i.e like home,about us,contact us etc)in backend, and i have some pages like home.php,aboutus.php etc in front end. so if i click home(home.php) that title should display which i entered …

0
204
Member Avatar for yusuf_5

please am php biginner, am working on a form and i need a particular field in that form to fetch the name of the person login. i hope you do understand. thanks

Member Avatar for diafol
0
26
Member Avatar for nadiam

hey guys so im trying to delete a row using checkbox but i get an undefined index error = Notice: Undefined index: check in D:\Xampp\htdocs\EMS2\event.php . i think its because the checkbox is echoed(?)maybe? or is it something else that i overlooked? <tbody class="tbody-event-list-table2"> <?php require "connection.php"; $check = mysql_query("SELECT …

Member Avatar for nadiam
0
458
Member Avatar for 7kashyap

how can i invite to friends of all my members which login to my website with fb id?

Member Avatar for almostbob
0
67
Member Avatar for maryjane9110024

I'm not sure what is going on. I specified for the 2nd cell to go to the next line but it is attaching to the end of the first line. Here is my code: <?php require_once('/fpdf/fpdf.php'); $pdf = new FPDF(); //var_dump(get_class_methods($pdf)); $pdf->AddPage(); $pdf->SetFont('Arial', 'B', '20'); $pdf->cell(0,10, 'Mobile Home Poperty Tax …

Member Avatar for maryjane9110024
0
236
Member Avatar for samyakonline

I am going to start a business of business consultant. My target clients would be pan-asia; so, to reach all of those, I need to have a impressive website with lots of designs and pictures. Videos would also be a integral part. I am confused for chosing- PHP or ASP …

Member Avatar for diafol
0
144
Member Avatar for arafath077

I created a Virtual host using WAMP Server.Its working.But its DB connection not working. <VirtualHost *:80> ServerAdmin webmaster@kiwitravel DocumentRoot "c:/wamp/www/kiwi ServerName kiwitravel.localhost ErrorLog "logs/kiwitravel-error.log" CustomLog "logs/kiwitravel-access.log" common </VirtualHost> DB Connection class Database { const DB_HOST = 'localhost'; const DB_USER = 'root'; const DB_PASSWORD = ''; const DB_NAME = 'admin_kiwi'; public …

Member Avatar for arafath077
0
198
Member Avatar for kimvankimlu.net

thanks for sharing i like PHP ,sometime very difficult

-2
61
Member Avatar for Tina_5

I want to send an email only if the field name 'Active' has changed in my database table bus_status.. It is a boolean field (TRUE or FALSE) so if it is False and changes to TRUE upon update I want it to send the email or if is TRUE and …

Member Avatar for iamthwee
0
254
Member Avatar for Tina_5

This is a bit complex. I have two tables *bus_status* and *routes* routes has a foriegn key look up from bus_status called UnitAssigned in routes table and it is pulled from the BusNumber field in the bus_status table. Right now when I send an email and include the field in …

Member Avatar for iamthwee
0
274
Member Avatar for rouse

I was taking a tutorial on PDO with PHP and MySQL and noticed I could not generate an exception from this code. I wonder what setting I need to put in place to generate the exception. If I shut down MySQL I can generate an error but with MySQL running …

Member Avatar for rouse
0
301
Member Avatar for tom.vardy.12

Any ideas why the get variable after this .htaccess redirect is unobtainable? RewriteCond %{REQUEST_URI} !^/admin/editsale.php RewriteRule ^admin/editsale/(.*)$ /admin/editsale.php?reg=$1 [QSA,L] Many Thanks Tom

0
96
Member Avatar for t_thakar

Basically I am woking on this project where I have been given an api. the maximum number of times i can access is 20 calls per second I need to call this api say 500 times I can do simple loop which is foreach($test as $call){ //call api using $call …

Member Avatar for t_thakar
0
176
Member Avatar for grakovski

Hello, i have SAMP (san andreas multiplayer) server and hostname is on cp1251 or cp1252 (i dont know) Here is output: Áúëãàðñêè Òðúêèíã Ñúðâúð! but right way is: Български Тръкинг Сървър! Here is 2cyr site: http://2cyr.com/decode/?lang=en (i checked first name in them) The string which is needed to check is …

0
145
Member Avatar for sidfarkus

I using Phpredis and am trying to get information from the following key called "statHistory" I am new to redis and not sure how to call each value individually. I am able to connect to redis using php and have tested it using the ping command. It has been two …

Member Avatar for diafol
0
304
Member Avatar for bibiki

Hi there, I am having difficulties with integrating [datatables](http://datatables.net/). Somehow, my data is being lost/weirdly modified when putting it in my response variable. foreach($aaData as $aData) echo "-".$aData."<br>"; foreach($aaData as $aData) $response['aaData'][] = $aData; My first foreach loop outputs data, and what I see is what I expect. However, when …

Member Avatar for bibiki
0
221
Member Avatar for momonq1990

my hosting directory permissions is writeable but still i recieved in 0kb files came form my upload page.

Member Avatar for momonq1990
0
736
Member Avatar for ravi142

I am Learning so Can suggest some code. How can i add Multi select Box in Codeigniter. Thank You

Member Avatar for liamfriel
0
6K
Member Avatar for tsp003

I've searched the internet for a solution to this problem, to no avail. I'm getting an increasing number of complaints that, as the title says, my joomla sites are displaying as 503 errors in windows phone 8. HTTP 503 service unavailable. I've tested it on a lumia 1520 and I …

0
164
Member Avatar for davy_yg

Hello, Other people try to access my xampp web through my ip address in my private network but unable to do so. How to make it work? I already try to reinstall my xampp yet it still does not work. Is there any specific way to make it work? Thanks …

Member Avatar for veedeoo
0
375
Member Avatar for madan879

Hi, Anybody integrated amadeus api with php? Please any one help me to integrate in my php website.. I am new to amadeus API, actually i got WSDL and XCD files but i am getting error while using.. So please provide me any sample coding for " hotel list" or …

Member Avatar for chrishea
0
210
Member Avatar for abyjibu

I want to install php package offline. We have to run projects without using or starting localhost. How to use it

Member Avatar for pritaeas
0
137
Member Avatar for ImaComputerLuvr

I need help to eliminate the errors Im getting. I have a shopping cart that is displayed on the products page by way of a cart update page. I get the below pair of errors (Notices) for every product listed: Notice: Undefined variable: obj in C:\xampp\htdocs\Project2\browseproducts.php on line 89 Notice: …

Member Avatar for broj1
0
402
Member Avatar for junaid_5

Hi i have this image upload script, its giving me errors. this script should get description of the image from user and upload image to database. please someone could take a look at my code. i really messed up the code. i am puzzled now. <?php if(isset($_POST['upload']) && $_FILES['userfile']['size'] > …

Member Avatar for broj1
0
140
Member Avatar for suresh9696

I have added some PHP code to JS for countdown timer. I have set the End Time Successfully but could n't set the Start Time can any one here Help me out. As we know JavaScript take system date/Time by Default. i need to get that from server. So here …

0
100
Member Avatar for mwnt2014

Working on wordpress.. Want to set homepage when i click the templates. ..Templates are under dropdown menu.

Member Avatar for pzuurveen
0
124

The End.