39,402 Topics
![]() | |
Hello!Can somebody help me please with worpres to manage every admin have separate eatch useres . like in image ? [image link](http://img528.imageshack.us/img528/9712/usergroupsw.png) ![]() | |
Evening all I am working my way through Zend Framework 1.x, and seem to have an issue. I am trying to set the `doctype()` to HTML5: class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { protected function __initDoctype() { $this->bootstrap('view'); $view = $this->getResources('view'); $view->doctype('HTML5'); } } I have check the documentation and using `doctype('HTML5')` … ![]() | |
Hi, I’m trying to insert multiple text fields into MySQL database. Each text field has a unique index key under a single user id. The number of indexes will depend on the user. Is this possible? I never had to do this before and I was wondering if anyone could … | |
I am trying to create a code that will generate a webpage. Here is what I have so far. I am looking to just take data that is queried from our server and display it on a page. Their is a form that is populating the ID on the query … | |
hello how are you, i have searched on every thing has a related with my issue here but it does not solve my problem. my problem with Facebook like button it does not pick the right image that i have assigned to my topic ,it picks random images but when … | |
Hello to everyone, I´m having problems on retrieving data from mysql to a textfield in html, the data appears with queston marks inside of a "black diamond"! I researched and followed the steps like putting the database charset utf8, the table too! When I insert for example Alimentação its goes … | |
Hi, my problem is as follows. My aim is when a user clicks 'comment' for a post, a `<div>` appears with the form, which I can get working just fine. However as moving on with my development, now when a user clicks 'comment', parameters are passed to change the url … | |
Hi, Can you set auto increment in phpmyadmin to be 2? So that it goes 1, 3, 5, 7etc? Thanks............... | |
what is the difference b/t PHP and ASP.net php is the server side scripting language and ASP.net is i think same as php but specific to Microsoft .am i right kindly explain differenc | |
I have seen a few different ways to solve this problem, but no solution has worked for me. I am logging into a database and incrementing a hit counter when someone goes to the page. I have two files, hitcounter.php and count visits.php Count visits is used by the visitor … | |
hello. I need to dedupe e text. meaning if i have an array with stored strings, it will check and compare each row of array with each other to test if text[i]==text[i+1]. to dot this i thougt to catch the text from an input, ex:text are and consider it as … | |
Ok I am working something that I have seen others do and that is to echo out a form table and what I am trying to do is to get the data that is not assigned to a user and allow the admin to assign it to the user. I … ![]() | |
# Guys help with this... are all this paths to the file. # I found this on google This is the link [Click Here](http://www.google.com/xjs/_/js/s/sy9,gf,lr,sy57,cwsc,wta,sy119,ntf,sy44,sy45,sy46,sy48,sy52,sy47,sy53,sy49,sy55,sy54,sy50,sy56,sy51,adct/rt=j/ver=V7Ny-OUsbvw.en_US./am=CA/d=0/sv=1/rs=AItRSTNTQEkMjnw5NEaDowS7vIR7ajYYrw) The Structure **https://www.google.com/xjs/_/js/s/sy9,gf,lr,sy57,cwsc,wta,sy119,ntf,sy44,sy45,sy46,sy48,sy52,sy47,sy53,sy49,sy55,sy54,sy50,sy56,sy51,adct/rt=j/ver=V7Ny-OUsbvw.en_US./am=CA/d=0/sv=1/rs=AItRSTNTQEkMjnw5NEaDowS7vIR7ajYYrw** This is the main file: **"rv=PretRSTNTQEkMjnw545454545Yrw"**. no extensions just plain but I want to ask if all this: **/xjs/_/...** are paths to that … | |
Dear Readers, I am creating dynamic URL-s, for example: **example.com/example.php?this=Something**. Inside this page, I use pagination, but after that my URL will look like this: **example.com/example.php?this=Something?page=2** It does not work. Can you give me some tips or advices or examples on how to make it work? Thank you, Tibor ![]() | |
hi there, I have a little question that i am facing a little problem in my theme breadcrumbs and dont know how to resolve this issue actually the breadcrumbs is not seprating the main and primary category it should be work like Home > Main Category > Parent Category > … | |
hi every one i need ur help i want insert time when some one choose a movie and then select time and then booking the movie.... so how can i insert time to choose the movie time will be see it? thanx alot for helping | |
I am adminitering a (Joomla) site set up by someone else. The site uses a proprietry system (paid for) whereby advertisers on a classifieds page can be emailed with queries about the product being advertised. I need to keep track of these emails for the purposes of following up, but … | |
Hi everyone I'm new here and posting because I have a problem with a PHP script I'm trying to write. I'm testing it as it goes along, but having a problem. I want to select certain people from my database, and send each of them an e-mail. To test, I … | |
[CODE] $query1 = "SELECT tblpatient_pass.RelationMR_no, tblpatient_pass.username, tblpatient_pass.password, tblpatient_pass.email_address, tblpatient_info.lastname, tblpatient_info.firstname, tblpatient_info.mname FROM tblpatient_pass INNER JOIN tblpatient_info ON tblpatient_pass.RelationMR_no=tblpatient_info.MR_no "; $numrows = mysql_num_rows($query1); if ($numrows!=0) { while ($row = mysql_fetch_array($query1)) { $username = $_SESSION['username']; $query = mysql_query("SELECT * FROM tblpatient_pass WHERE username =".$username); $result = mysql_query($query) or die(mysql_error()); while ($patient = … | |
Hi everybody, What is the problem in this code.the layout record print not seperately.display cascade style. anybody help me. <?php foreach ($planbooks as $planbook): ?> <div id="planbook-content" class="float" onclick="window.location.href='<?php echo url_for("@planbook_planmate") ?>' "> <?php for($i=0;$i<=planbook; $i++): ?> <?php $planbook =$i?> <?php $count++ ?> <div planbook="<?php echo $i ?>" class="float"?><?php echo … | |
Good day! I was looking for a reference on how to set up a payflow pro or a paypal pro in my website. I have read lot of guide in setting already but I cannot find the right SDK for Paypal Pro. I also check the SDK downloads of Paypal … ![]() | |
Format a local time/date according to locale settings ![]() | |
hello, ive recently created a login in and register page for a website im working on and when using the register.php page to sign up, then entering the details into the login.php page all the login page seems to be doing is refreshing and removing the entered information and not … | |
Hey guys, I have a quick question. I normally only do Front-End but I have just started working more with PHP. So I have a question regarding conditionals. Here is my code: //I actually get this from when a user posts, this is for demo $videoURL = "http://www.youtube.com/watch?v=-XjwL9kCmgc"; $parsedURL = … | |
Iam a newer in php Programming . How can I Improve myself in here. I colud not get a complete project. just Give me a project because I wanna learn basic something in php. i know basic programming but i could not complete any project . Give me a project … ![]() | |
hi..The problem is that the data is not saved in the database Knowing he was not shown to me any errors in the code, but does not store data in the database <? class myclass{ function __construct(){ $conn=mysql_connect("localhost","root","1"); mysql_select_db("society",$conn); } function validlogin($t1,$t2) { $res = mysql_query("select * from admin where … | |
I fetch some data from the remote server and feed it into my site database .It having 9 lakhs of records(app) but the insertion of records stopped 60,180 records only.we use mailto function and exception handler to find the bugs but no response.Anyone please advice me whether the cron get … | |
![]() | Don't know what's wrong with this code ?? Can anyone figure it out ?? <?php header('Content-Disposition: attachment; filename="'.$_GET['file'].'"'); header('Content-type: application/pdf'); readfile($_GET['file']); ?> Thanks !! |
i have the following php files. <?php require_once '../moonlight/includes/mysql_connect.php'; require_once '../moonlight/includes/functions.php'; require_once 'includes/reader.php'; /** * @author FreeUser * @copyright 2013 */ if ( isset( $_POST['submitted'] ) ) { $errors = array(); if ( $_POST['authorityID'] == "" ) { $errors[] = 'Select the paying authority.'; } else { $authorityID = (int)$_POST['authorityID']; … | |
I am using the google search engine. I can add autocomplete terms and upload an xml file with the autocompletetion terms within the site itself. I am trying to auto upload this xml file by a console application or a php file.Is there a way that I can auto-upload this … ![]() | |
Hi Guys, I'm currently embarking on a project relating to inventory management within my business, and have done a concept in Visual Basic. I'm now going through the motions of deciding which angle to take in regards to mobile access of the application. I have thought about whether to write … ![]() | |
Hi. I am working on my Online Examination project in my web development subject but I am having a hard time to code how to go back to my previous page where I put session on it. my online exam are categorize by subject then inside the subject there is … | |
Please help. I already had my booking calendar added to my site last week and the calendar showed up but now only the booking form is showing up but the calendar does not seem to show. I've tried a lot of fixes and nothing seems to work. Please help. ------------------------------------------------------------ … | |
hi!guys Today i want to learn from you.. where to start PHP and what tool is the best for me .i am a beginer and i want to expert in PHP so what you suggest me Thanks for reading ![]() | |
Hi All - I am trying to correctly valididate forms on serverside using PHP and on client side with JavaScript I seem to have got lost in the processes here. Thanks DJ <?php // define variables and initialize with empty values $fname = ""; $fnameErr =""; $lname = ""; $lnameErr … | |
Hello, i wanna ask you guys if there is anyway i can get the value of a dropdown and pass it to another php file without using the <input type="submit> way? The way is i have the options in my menu coming from the database This is my code on … | |
I'm a beginner in php.. can any one explain cookies & sessions in an easy way for me? i have surfed different sites for it also i have taken many trainings but yet i m not that much clear about these two concepts... kindly help me out ! | |
In php/html/javascript there are two different ways you may redirect a user to another page however there are a few things to consider before choosing with method to use. As you should know by now php has the ability to send html and javascript to the web browser and php … | |
Hey guys, I just wanted to let everyone know that functions can be used very constructively and there are more to them then most think. Okay this example function is actually pulled from a class of mine so it would probably make more sense in my class but it should … | |
want the value cookie that i got from the following code further used in php script to visit next url because value of cookie used in url ....how i can save value of cookie and again use it in my php script suppose cookie is JSESSIONID GT1~A555400D38C7F737D383DEEBA8A30CE3.GT.1 and my next … | |
trying to buld gllery.php page. where i want to print all user image with 4 cols. and infity rows. all in one page gallery.php <?php session_start(); include("connect.php"); $user = $_SESSION['username']; if($user) { $user_id = $_SESSION['user_id']; //get user_id who ever is loged in $image = mysql_query("SELECT * FROM image WHERE user_id … | |
I don't know whats wrong but my code not working properly here is my html code <input type="text" name="username" id="username"> <div id="check_usr"></div> AJAX call <script> $(document).ready(function() { //user name $('#username').on("keypress", function(e) { startTypingTimer($(e.target)); }); }); var typingTimeout; function startTypingTimer(input_field) { if (typingTimeout != undefined) clearTimeout(typingTimeout); typingTimeout = setTimeout( function() { … | |
i have problem my login it's not running plzzz help me <?php session_start(); require("dbc.php"); if(isset($_POST['submit'])) { $username =mysql_real_escape_string( $_POST['username']); $password =mysql_real_escape_string($_POST['password']); if ($username && $password) { $connect=mysql_connect("127.0.0.1","root","") or die("couldnt connect to database"); mysql_select_db("login") or die("couldnt find database"); $query = mysql_query("SELECT * FROM `users` WHERE `username` ='$username'"); $numrows = mysql_num_rows($qurey); if($numrows … | |
I currently have SVN down pat in Zend Studio. However, I can't figure out how to upload the changed files? | |
HI everyone, I have a problem with post I want to do this in multi step and echo all data that I selected from drop down. here my one page full code, then multi step page code. full code <?php include('config.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> … | |
hi Ineed your help to solve this problem... I have a special folder in my manager and control panel, but when I need to get back to the main page without logging out of the director but was not able to even though I try this code but also does … | |
Hello to everyone, im having trouble getting the value of a combobox in HTML to php! Frist I import data from a mysql collum into the combobox, being this the value of the combobox! I want to be able to get the selected value when I submit my form. I … | |
how to execute two queries if isset like this but this code wont work if (isset($_POST['Add'])){ $tror=$_POST['tror']; $name=$_POST['name']; $product=$_POST['product']; $price=$_POST['price']; $deliver=$_POST['deliver']; $return=$_POST['return']; $custody=$_POST['custody']; $cash=$_POST['cash']; $charge=$_POST['charge']; $date=$_POST['date']; mysql_query("insert into delivery (TrOr,Customers_Name,Product,Price,Deliver,xReturn,Custody,Cash,Charge,Date) values('$tror','$name','$product','$price','$deliver','$return','$custody','$cash','$charge','$date') ; UPDATE inventory set Quantity='$_POST[cquantity]' WHERE Product='$_POST[product]'"); } | |
how to trim a text and get the data after the colon(:) and eliminate space example: 5 Gallon Qty: 10 adn then on dropbox selected the the value of quantity textbox will be the trim part **10** | |
How to null and/or alter the value of **referring URL?** I'm using **Google Analytics** and other some **Analytics** services. I found they are tracking **Referral URL.** So I want to hide **Referral URL** from **Traffic Analysis Tools** (e.g.:- modify **$_SERVER["HTTP_REFERER"];** value to facebook.com on localhost) **index.php** <a href="get_referer.php"> Click Here</a> … |
The End.