C# Interview tomorrow Hello fellow programmers. I know this doesn't have anything to do with code but I really need some advice. I have a .NET(C#) interview tomorrow for a junior vacancy. The problem I have is that all my experience is based on PHP. I have a good understanding … |
|
I am having trouble getting this example to work. I posted exactly like it is put on the google documentation but it just won't work for some reason. Some please help me, am I doing something wrong. The link to the documentation is https://developers.google.com/youtube/iframe_api_reference#Getting_Started The code I am using is … |
|
Re:
I trying to sort an array ising php but this code is not working. can any body tell me whats wrong with this code, is my logic is right or wrong. I don't know much about Php as I am new to learning php <? php $a= array(12,5,78,10,63,11); $size=$sizeof($a); for($i=0;$i<=$size;$i++) … |
|
Hi guys, please help me out with this. I'm seriously considering suicide. I have three buttons that load numbers into divs. The problem I'm having is that the buttons only seem to work once. Any idea as to why this is happening? You help will go a long way. [CODE] … |
|
I've had a nightmare over the past couple of weeks wondering why my code wasn't working in ie. I've finally realised that it was because I was using textcontent which works fine in firefox. I tried using innertext and it worked fine in ie but stopped working with firefox. Chrome … |
|
Re:
Hi Guys Im a newbie and a somewhat beginner in PHP Here is my problem I want to insert this date format - DATE_FORMAT(news.updated, '%%M %%e, %%Y') AS formatted FROM news into this already existing sql statement - $sql = "SELECT * FROM authors aut, news new WHERE aut.aurthor_id=new.arthor_id AND … |
|
Hi there I have been trying to experiment with Parsing XML using Javascript. For some reason nothing happens. I found this example on W3 schools. Any idea why it's not working? This is my HTML page which contains the Javascript [CODE]<html> <head> <script type="text/javascript"> if (window.XMLHttpRequest) {// code for IE7+, … |
|
Hi I'm having problems unsetting session varibles using this code. I'm not sure what I'm doing wrong. Nothing happens. Please help [CODE]<?php session_start(); $id = $_GET['id']; $pro = $_SESSION['products']; $qua = $_SESSION['quantity']; echo $pro[$id].''." Has been removed"; unset($pro[$id]); session_write_close(); unset($qua[$id]); session_write_close(); ?>[/CODE] |
|
Hi I have been going through a tutorial i came across online. Please let me know what this would read if it wasn't written in shorthand. Regards [CODE] $products = isset($_SESSION['products']) ? $_SESSION['products'] : array();[/CODE] |
|
Somebody please help me. The page loads fine but when I change the option on select nothing happens. I'm sure it's just a small problem. Your help will go a long way. Thank you in advance. [CODE]<body> <table id="main" width="50%"> <tr> <td><div id="1"></div></td> <td><div id="2"></div></td> <td><div id="3"></div></td> <td><div id="4"></div></td> <td><div … |
|
hi I'm having serious problems with this code. It all started when I tried to use functions. The function easy() works fine when the page loads but the button has stopped calling the check() function. could it be because I have that stored inside another function? I tried placing outside … |
|
Hi guys We have been asked to create a sudoku game using some type of CSS grid framework. I can't find any good explanations as to what a grid framework is. Someone please explain or direct me to an explanation. Regards |
|
Re:
Any idea what I did wrong? 'WHERE id =' at line 16 I am not sure why it says line 16 but I think it is talking a bout line 64. [CODE]<?php include 'resources/init.php'; if (isset ($_GET['id'])) { $q = "SELECT * FROM Client WHERE id = {$_GET['id']}"; $result = … |
|
Re:
table roomBooking: roomBookingID roomID bookingDate startTime endTime glID numberOfPeople staffID table room: `roomID typeOfRoom roomState` php code: <?php require_once('../config/conn.php'); $sql="SELECT * FROM roomBooking, room WHERE roomState='empty'"; $rs=mysql_query($sql,$conn); $row_rs = mysql_fetch_assoc($rs); $count=mysql_num_rows($rs); ?> ... <table border="0"> <?php do { ?> <tr> <td> <?php echo $row_rs['roomID']; ?> </td> <td> <?php printf('<a href="action/roomDetail.php?roomID=%s">詳情</a>',$row_rs['roomID']); … |
|
I have been trying to follow this google maps API tutorial. [url]http://code.google.com/apis/maps/articles/phpsqlajax.html[/url] The problem is i keep getting this error and I don't know what I'm doing wrong. Here is my code. [CODE]<?php require("phpsqlajax_dbinfo.php"); function parseToXML($htmlStr) { $xmlStr=str_replace('<','<',$htmlStr); $xmlStr=str_replace('>','>',$xmlStr); $xmlStr=str_replace('"','"',$xmlStr); $xmlStr=str_replace("'",''',$xmlStr); $xmlStr=str_replace("&",'&',$xmlStr); return $xmlStr; } // Opens a connection to … |
0 Reputation Points
0 Endorsements
Ranked #8K
~14.7K People Reached
Favorite Forums
Favorite Tags