39,388 Topics

Member Avatar for
Member Avatar for Tinnin

Hi all, I'm trying to run an update query using the following code: <?php require_once('myConnect/connect.php'); $email = mysqli_real_escape_string($dbc, $_GET['e']); $ac = mysqli_real_escape_string($dbc, $_GET['ac']); $checkQuery = "SELECT subscribed FROM myUsers WHERE email='$email'"; $checkQueryResult = @mysqli_query($dbc, $checkQuery); $row = mysqli_fetch_assoc($checkQueryResult); if ($row['subscribed'] == 1) { echo '<p><b>This account has already been activated!</b></p>'; …

Member Avatar for diafol
0
214
Member Avatar for I-Bickerstaff

Hi! I'm working for a company that specializes in custom software development. Challenges are part of my daily routine and once I thought I want to share what my team has learned so far. You can find my thoughts here: http://cases.azoft.com/datagridbundle/ In a nutshell: *Recently, while working on one of …

Member Avatar for LastMitch
0
133
Member Avatar for nsam

Hi all, I am a completely new user of wordpress. Don't know I should post this over here or not. Can somebody please tell me this basic thing. How to insert data through wordpress in mysql.

Member Avatar for pzuurveen
0
160
Member Avatar for branding4you

I have searched for this problem on google and all solutions I have tried dont work I am new at PHP and used this method before but for some reason this one is giving me the run around. it echo's the text "Special Occasions" but the link it refers to …

Member Avatar for branding4you
0
176
Member Avatar for Naga14

I am not able to transfer file from one server to another using ftp_put() below is the warning its showing and also files are not getting transfered. If i put absolute path below error is coming **>Warning: ftp_fput() [function.ftp-fput]: Can't open that file: No such file or directory in ...**

Member Avatar for pzuurveen
0
269
Member Avatar for akkbkht

Hello. Can I add any data directly from table into data base using dreamviewer 8 by php? i mean in design view, i add table. then when i enter a data in the cell, so can i add this cell text to a field in DB table? Also how can …

Member Avatar for akkbkht
0
270
Member Avatar for nuno.freitas.meneses.monteiro

Hello guys, I am doing a Friend system on my website, and I did the friend request, to accept, but the friends list isn't alright in some part of code because it isn't take the correct id, anyone can help me? 1. <?php 2. 3. $users = $_SESSION['username']; 4. 5. …

Member Avatar for nuno.freitas.meneses.monteiro
0
165
Member Avatar for akkbkht

Hello every one. I am stuck in a place. I am entring medicine record in a table. That's most possible that medicine may exceeds from the rows i am providing. I would like to be assist how can i add new new with a hyperlink text. Also how this row …

Member Avatar for akkbkht
0
10K
Member Avatar for Tko_1

Hello again. I have this backup script to grab files/folders rar them and save them. What i have been tring to do is ignore certain files. ignore test.php within folder. Thank you <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> <script type="text/javascript"> function submitform(){ $('#myForm').post("backup.php", $("#myForm").serialize()); } </script> </head> <form action="backup.php" method="post" id"myForm"> <input type="hidden" …

Member Avatar for Tko_1
0
197
Member Avatar for devindamenuka

Hi all, I have a problem , I use codeiniter framework. it shows an error from the framework file. I got the following error A PHP Error was encountered Severity: Warning Message: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer Filename: core/MY_Lang.php Line Number: 155 …

Member Avatar for LastMitch
0
273
Member Avatar for Vijaysurya

Hai everybody, the string $password = $request->getParameter('password'); Contains at least 8 characters. Contains upper and lower case letters. Contains numbers or other non-alphabetic characters. What could be the reg ex for the above criteria? I am creating a check for stronger password . something like: if (len(password) >= 8 && …

Member Avatar for masterjiraya
0
203
Member Avatar for 4fridi

Sir I have a search engine on my website which get input by user and search it for the results and i am storing those keywords into seperate table name keywords, but now a days i m checking that there is a bunch of unknown characters into query strings, i …

Member Avatar for 4fridi
0
1K
Member Avatar for theHop

I recently undertook a development job where i needed to create a music player. We decided that the music should be managed from soundcloud.com (let them deal with the storage band width). There was one problem. to make it work in ALL modern browsers there needed to be be at …

Member Avatar for theHop
1
245
Member Avatar for Squidge

Hi All, I am creating an "About Us" portfolio page for a company. On this page will be a small bio and a photo. The bio is not a problem, uploading and storing/calling the image is not a problem, as i already have code i can reuse. The part i …

Member Avatar for Squidge
0
173
Member Avatar for lukas.vandendijssel

Hello, I am sharing my webserver with a few people and I am trying to create some sort of an admin panel for them. It has to be able to change Apache VirtualHosts and reload Apache. Now I can make the config-changing PHP code, but there are 2 Apache-related problems. …

Member Avatar for lukas.vandendijssel
0
299
Member Avatar for mark103

Hi guys, I really need your help, I have scraping the data from a website that i use to read the information on my php. I have a problem, I could not be able to scraping the right data from 5 hours backward of my current time, e.g my current …

Member Avatar for LastMitch
0
124
Member Avatar for Tinnin

I have a function that I intended to be able to remove duplicate rows in an excel worksheet. I pass it $objPHPExcel which has gone through the following function function checkExtension($inputFileName) { if (pathinfo($inputFileName,PATHINFO_EXTENSION) == "csv") { $inputFileType = 'CSV'; $objReader = PHPExcel_IOFactory::createReader($inputFileType); return $objPHPExcel = $objReader->load($inputFileName); } else { …

Member Avatar for Tinnin
0
4K
Member Avatar for MikeOxley

Firstly, I am new here so if I am postign in the wrong area I am sorry. Secondly, I am new to this so dont luagh at my stupidity I think of it as a talent for getting things messed up :) I have urgent problem, converting Html to PDF …

Member Avatar for tkdchamp
0
234
Member Avatar for daniel36

Is there any opensource classified website.I am searching it on google from morning but i did not get success.

Member Avatar for TonyG_cyprus
0
141
Member Avatar for milkman93

Hey Everyone, I am trying to create login page where if the user doesn't enter a value into the username and password textfields a box fades in (JQuery function) telling the user to enter info. I know I can just add the `required = "required"` to the input tag, but …

Member Avatar for milkman93
0
8K
Member Avatar for unikorndesigns

Hi guys, If i have to give a short description about my skill set, i would say i am PHP developer. I have been coding in PHP for the past 4 years and its been an year and half that i have been using CodeIgniter. I loved it! I wanted …

Member Avatar for stultuske
0
201
Member Avatar for akkbkht

Hello every one. I am creating a form in php and trying to work with button in that. There are 3 buttons below then form. 1. Submit.(to insert data in BD) 2. Update.(to update data in table in DB) 3. Delete.(to delete data from table in DB) When I apply …

Member Avatar for akkbkht
0
225
Member Avatar for kgizo

Hello I want to send xml values to a database I just created, here is the xml file <record> <name>tcpmux</name> <protocol>tcp</protocol> <xref type="person" data="Mark_Lottor"/> <description>TCP Port Service Multiplexer</description> <number>1</number> </record> <record> <name>tcpmux</name> <protocol>udp</protocol> <xref type="person" data="Mark_Lottor"/> <description>TCP Port Service Multiplexer</description> <number>1</number> </record> I've got 4 columns in my database:- ServiceName, …

Member Avatar for shashik493
0
1K
Member Avatar for keeleyb

I want to synchronize the data on my machine with that held on a server using PhpMyAdmin. Can anyone tell me exactly what information is required on the synchronization page? I've tried loads of combinations and the, not helpful, response is always "Could not connect to the source". Any thoughts …

Member Avatar for keeleyb
0
464
Member Avatar for amit.chaudhari.71

hi friends i have develpoed a prog. for pay calculation for my office in php. now i want to show some thing like employee name in my pge which is currently processing or progress bar with persent if calcution has done. plz note i m useing POST methord

Member Avatar for amit.chaudhari.71
0
376
Member Avatar for Naga14

Hi, Need to Optimize the below Query. In database around 5,00,000 Records are there. Below query is taking around 1 min. to 1.30 min Execution Time. Need to optimize the query so that the result will be fetch in 5 to 10 Seconds. We've used full text indexing for Website …

Member Avatar for masterjiraya
0
162
Member Avatar for frankie.bailey.14

I am tring to have a user click the submit buttion and the status of that row/room will become closed and the user can reserve more than 1 room at a time <html> <head> </head> <body> <?php //include database configuration include 'config_open_db.php'; //selecting records $sql="select RoomNumber, Type, Cost, Status from …

Member Avatar for masterjiraya
0
414
Member Avatar for sumon_ahona

<?php $cardno = $_POST['cardno']; $c_status = $_POST['c_status']; $V_idno = $_POST['V_idno']; $c_name = $_POST['c_name']; $m_name = $_POST['m_name']; $f_name = $_POST['f_name']; $Phone = $_POST['Phone']; $email = $_POST['email']; $profession = $_POST['profession']; $age = $_POST['age']; $sex = $_POST['sex']; $m_status = $_POST['m_status']; $address = $_POST['address']; $District = $_POST['District']; if(!$con) { die ('could not connect'.mysql_error()); } …

Member Avatar for broj1
0
181
Member Avatar for zglows

After this piece of PHP code is added to my template (Wordpress) my server goes bananas. (I see lots of load peaks, it becomes unresponsive and the site won't load until I reboot the server.) The code just displays random posts from the database: [CODE] <?php $random_query = new WP_Query('posts_per_page=4&orderby=rand'); …

Member Avatar for gabrielcastillo
0
226
Member Avatar for Webville312

Hello; I am working on a project and in order to save resources, my supervisor says I should pass variables in an array. Some of which were working perfectly. However the fetching of the records from the database gives me the error below; Warning: mysql_query() expects parameter 2 to be …

Member Avatar for Webville312
0
349

The End.