194 Posted Topics
Re: your asking for 3 values: SID,FIRSTNAME,LASTNAME and only passing 2 back to it 'Joe','Ken' assuming sid is an auto_incrimenting field just leave it out from the insert statement INSERT INTO STUDENT (FIRSTNAME,LASTNAME) VALUES ('Joe','Ken'); | |
Re: print out your $_POST date what format is the date in date field or datetime field? | |
Re: http://stackoverflow.com/questions/1391777/how-do-i-insert-null-values-using-pdo | |
Re: post some code first show some effort | |
I'm trying to change user ldap passwords heres the code $ds = ldap_connect(LDAP_HOST, LDAP_PORT); ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); $bind = ldap_bind($ds, 'uid={admin},'.LDAP_BASEDN, '{admin password}'); $userpassword = "{SHA}" . base64_encode(sha1( '{password}', TRUE )); $userdata = array("userPassword" => $userpassword); $result = ldap_mod_replace($ds, 'uid={user},'.LDAP_BASEDN, $userdata); ldap_close($ds); `$result` returns true i can even see the … ![]() | |
Re: you should probalbly not be cloning the row though you should build a clean row and append it `document.createNewElement("tr")...` using allRows length `input.tabIndex=allRows.length` ![]() | |
Re: do you need to enable short tags for asp? | |
Re: no errors / issues for me either | |
Re: post some code what have you tried ![]() | |
Re: you wouldn't be able to do this with plain js you'd need to use ajax and return a json list of possible values from your external file(s) thousands in flat files sounds like a terrible idea, you might want to consider a database | |
Re: http://www.daniweb.com/web-development/web-design-html-and-css/threads/464040/how-to-make-footer-stick-bottom-of-the-page | |
Re: probably your newlines aren't being escaped properly when writing or reading from/to the db | |
Re: you'd need to loop through the lines of the text file and starting a new record each time you find "----------------------" | |
Re: Are you getting an erorr? need some more info | |
Re: did you enable access to xampp from the network check your httpd-xampp.conf file | |
Re: are you storing the current value outside of the function? if not you should be passing the current value to the function everytime you call it | |
Re: @pixelsoul like it but id parse out the "[]" for cases where your outputting id numbers so group1[1] would still match group1[2] | |
Re: no one here is going to write your code for you we will help you with bugs and sometimes thought proccess but you need to have something first | |
Re: display: table-cell; on the li | |
Re: cast as int to remove value after "." then parse | |
Re: might not be the best solution but just read them into an array and update based on array position after reordering | |
Re: google calendar only auto adds events from another gcalendar odds are your not doing anything wrong | |
Re: INNER JOIN article_related_categories rc ON a.id = rc.article_id and rc.category_id = 1 then remove rc.category_id = 1 from the where | |
Re: whats the problem? are you getting an error? wheres your insert code? no one here will write the code for you, we will help you debug it though | |
Re: sounds like its running missing the single quotes | |
Re: most likely your trying to use your session variable on the same page you are submitting them you need to submit them and reload before you can access them from $_SESSION | |
**Clearing up php retrieval of form variables** the basics on how to best submit and retrieve form values in php focusing on checkboxes because they seem to be the most diffucult to understand. When posting form data to another page your naming convention makes all the difference in the world … | |
Re: what problem are you having | |
I have a calendar built for course scheduling and I'm trying to have it auto book a google resoure calendar by sending an email using phpmailer with an ics attachment ics file BEGIN:VCALENDAR PRODID:-//company// Course Scheduler//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:PUBLISH BEGIN:VEVENT DTSTART:20130411T170000 DTEND:20130411T173000 DTSTAMP:20130410T110314Z ORGANIZER;CN=my@Email.com:MAILTO:my@Email.com UID:unique_id@email.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Test;X-NUM-GUESTS=0:MAILTO:myresource@group.calendar.google.com CREATED:20130410T110314Z DESCRIPTION: test LAST-MODIFIED:20130410T110314Z … ![]() | |
Re: there is no return value when designation does not equal student | |
| |
Re: > $data = array( '1'=>array('date'=>'2013-01-16','numclicks'=>'6'), '2'=>array('date'=>'2013-01-17','numclicks'=>'9'), '3'=>array('date'=>'2013-01-18','numclicks'=>'5'), '4'=>array('date'=>'2013-01-19','numclicks'=>'12'), '5'=>array('date'=>'2013-01-20','numclicks'=>'10'), ); (replace this array with info from your query) | |
Re: why do you need to remove the index? an object would be your best bet ![]() | |
![]() | Re: add `print_r($_REQUEST);` to the top of your page and post the results |
Re: initial styling you can do easily through css you can change them while they have focus css can NOT detect if your input is invalid you will need to use js for that | |
Re: where is your site hosted? its blocked from some shared hosting providers (godaddy) word wrap limits your line length wraps to next live after 50 words | |
Re: border is from css i forget where under advance when inserting the image you can set border 0 for the image | |
![]() | ![]() |
Re: ahouldn't even need the where on the inner query | |
Re: should work $allImages.children("[data-name='yourCar']").hide(); | |
A simple way for using templates in php new pages can run server side code or pretty much do anything you would normally want to do on a web page First create your template. cleary there is way more that can be done with this, I've kept it simple for … | |
Re: if your js errors out before it fails than your page would post anyway is a mesg required here? your code: $("#email") .require() | |
Re: are you getting any errors? post some code | |
Re: any time you use this syntax in a form `name="checkbox[]"` the post value in php is an array so `$_POST['checkbox']` is an array already | |
Re: your looking to create a fancy combobox? i make no promises to how good or not it is but its a start http://www.daniweb.com/web-development/javascript-dhtml-ajax/code/440963/combobox | |
Re: Are you aware that you have 3 forms on your page? 1st form for login 2nd form for checkboxes 3rd (unclosed) form that does nothing your second form <form name="forname" methode="post" action="#"> first thing you should fix is `method="post"` your action on this form `action="#"` says post back to current … | |
to create a new comboBox when you post your form checkbox_name will contain the selected value $(document).ready(function() { var cb = "checkbox_name"; comboBox(document.getElementById(cb+"CB"), cb); var sel = myForm.elements[cb+"_hold"]; sel.length = 0; //add options sel.options[sel.options.length] = new Option("text", "value"); }); <div id="checkbox_name"></div> | |
Re: to repeat and clarify a little <html><head> <!-- put all your js/css includes here then put your $(document).ready(function(){}); here --> </head><body> <!-- content goes here --> </body></html> i dont claim its the best way to do it but this check this post [Simple PHP templates](http://www.daniweb.com/web-development/php/code/432338/simple-php-templates) | |
Re: you need to change the js to only fire when `empty($_POST['username'])` | |
|
The End.